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

Re: Assembler error



On Fri, Oct 27, 2006 at 11:40:25AM +0200, Free Ekanayaka wrote:
> we're  trying to build a library  (called libelastique) on Debian/etch
> amd64, but we get the following error:
> 
>   TF> gcc -I../../incl -I../../src/incl -I../../src/zGlobals
>   TF> -I../../src/AMaths -I../../src/elastiqueAPI -I../../src/PhaseVoc
>   TF> -I../../src/ResampleLib -I. -I../../src/elastiqueAPI
>   TF> -I../../src/PhaseVoc -I../../src/ResampleLib -I../../src/FFT
>   TF> -D__GCC_COMPILE__ -D_LIB -DNDEBUG -Dlinux64  -O3 -fomit-frame-pointer
>   TF> -finline-functions -funroll-loops -ffast-math -msse2 -march=athlon64
>   TF> -fPIC -c ../../src/PhaseVoc/PhaseVocDispatcher.cpp -o
>   TF> ../../src/PhaseVoc/PhaseVocDispatcher.o
>   TF> /tmp/ccpQ48sm.s: Assembler messages:
>   TF> /tmp/ccpQ48sm.s:11: Error: suffix or operands invalid for `push'
>   TF> /tmp/ccpQ48sm.s:11: Error: suffix or operands invalid for `pop'
>   TF> make: *** [../../src/PhaseVoc/PhaseVocDispatcher.o] Error 1
> 
> Unfortunately I'm pretty clueless about assambler messages.. any idea?

Try to compile with -O2 instead of -O3. -O3 sometimes exposes hard to
fix bugs in the compiler (and usually doesn't buy you much in terms of
speed).


Erik

-- 
+-- Erik Mouw -- www.harddisk-recovery.com -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands



Reply to: