[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#409255: audacity - FTBFS: error: unrecognized command line option "-msse"



Hi Bastian,

|--==> Bastian Kleineidam writes:

  BK> Bastian Blank schrieb:
  >>So using this flag is not appropriate for debian i386 packages.
  BK> Ok, I attached a patch that just removes the flag usage. Since it
  BK> patches Makefile.in directly, no regeneration ist needed.

  BK> --- Makefile.in.orig	2007-02-06 18:40:29.122955147 +0100
  BK> +++ Makefile.in	2007-02-06 18:40:33.941222659 +0100
  BK> @@ -197,7 +197,7 @@
 
  BK>  # ??? test for -fcheck-new in configure.ac
  BK>  # other compiler flags to add
  BK> -AM_CXXFLAGS = -O3 -msse -fcheck-new -I../../include
  BK> +AM_CXXFLAGS = -O3 -fcheck-new -I../../include
  BK>  all: all-am
 
thanks for the patch.  I've tried to  apply it, but soundtouch doesn't
seem  to like it,  so  probably a finer patch  is  needed. See the log
below:

Making all in SoundTouch
make[5]: Entering directory `/tmp/buildd/audacity-1.3.2/lib-src/soundtouch/source/SoundTouch'
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include   -O3 -fcheck-new -I../../include  -c -o AAFilter.lo AAFilter.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -fcheck-new -I../../include -c AAFilter.cpp -o AAFilter.o
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include   -O3 -fcheck-new -I../../include  -c -o FIRFilter.lo FIRFilter.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -fcheck-new -I../../include -c FIRFilter.cpp -o FIRFilter.o
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include   -O3 -fcheck-new -I../../include  -c -o FIFOSampleBuffer.lo FIFOSampleBuffer.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -fcheck-new -I../../include -c FIFOSampleBuffer.cpp -o FIFOSampleBuffer.o
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include   -O3 -fcheck-new -I../../include  -c -o mmx_optimized.lo mmx_optimized.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -fcheck-new -I../../include -c mmx_optimized.cpp -o mmx_optimized.o
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include   -O3 -fcheck-new -I../../include  -c -o sse_optimized.lo sse_optimized.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -fcheck-new -I../../include -c sse_optimized.cpp -o sse_optimized.o
In file included from sse_optimized.cpp:70:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/xmmintrin.h:34:3: error: #error "SSE instruction set not enabled"
sse_optimized.cpp: In member function 'virtual double soundtouch::TDStretchSSE::calcCrossCorrStereo(const float*, const float*) const':
sse_optimized.cpp:76: error: '__m128' was not declared in this scope
sse_optimized.cpp:76: error: expected `;' before 'vSum'
sse_optimized.cpp:106: error: 'pVec2' was not declared in this scope
sse_optimized.cpp:106: error: expected primary-expression before ')' token
sse_optimized.cpp:106: error: expected `;' before 'pV2'
sse_optimized.cpp:107: error: 'vSum' was not declared in this scope
sse_optimized.cpp:107: error: '_mm_setzero_ps' was not declared in this scope
sse_optimized.cpp:113: error: '_mm_load_ps' was not declared in this scope
sse_optimized.cpp:113: error: '_mm_mul_ps' was not declared in this scope
sse_optimized.cpp:113: error: '_mm_add_ps' was not declared in this scope
sse_optimized.cpp: In member function 'virtual uint soundtouch::FIRFilterSSE::evaluateFilterStereo(float*, const float*, uint) const':
sse_optimized.cpp:296: error: expected initializer before '*' token
sse_optimized.cpp:297: error: '__m128' was not declared in this scope
sse_optimized.cpp:297: error: expected `;' before 'sum1'
sse_optimized.cpp:301: error: 'pFil' was not declared in this scope
sse_optimized.cpp:301: error: expected primary-expression before ')' token
sse_optimized.cpp:301: error: expected `;' before 'filterCoeffsAlign'
sse_optimized.cpp:303: error: 'sum1' was not declared in this scope
sse_optimized.cpp:303: error: 'sum2' was not declared in this scope
sse_optimized.cpp:303: error: '_mm_setzero_ps' was not declared in this scope
sse_optimized.cpp:313: error: '_mm_loadu_ps' was not declared in this scope
sse_optimized.cpp:313: error: '_mm_mul_ps' was not declared in this scope
sse_optimized.cpp:313: error: '_mm_add_ps' was not declared in this scope
sse_optimized.cpp:334: error: '_MM_SHUFFLE' was not declared in this scope
sse_optimized.cpp:334: error: '_mm_shuffle_ps' was not declared in this scope
sse_optimized.cpp:336: error: '_mm_add_ps' was not declared in this scope
sse_optimized.cpp:336: error: '_mm_storeu_ps' was not declared in this scope
make[5]: *** [sse_optimized.lo] Error 1
make[5]: Leaving directory `/tmp/buildd/audacity-1.3.2/lib-src/soundtouch/source/SoundTouch'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/buildd/audacity-1.3.2/lib-src/soundtouch/source'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/buildd/audacity-1.3.2/lib-src/soundtouch'
make[2]: *** [soundtouch-recursive] Error 2
make[2]: Leaving directory `/tmp/buildd/audacity-1.3.2/lib-src'
make[1]: *** [audacity] Error 2
make[1]: Leaving directory `/tmp/buildd/audacity-1.3.2'
make: *** [debian/stamp-makefile-build] Error 2
pbuilder: Failed autobuilding of package

Ciao,

Free




Reply to: