[Asterisk-Dev] spandsp gcc compile issues,

Michael Labuschke michael at labuschke.de
Thu Jul 8 01:01:22 MST 2004


Spandsp-0.0.1k does not compile with gcc 3.4.1,


gcc -DHAVE_CONFIG_H -I. -I. -I. -I -g -O2 -c testcpuid.c -MT testcpuid.lo
-MD -MP -MF .deps/testcpuid.TPlo  -fPIC -DPIC -o .libs/testcpuid.lo
testcpuid.c: In function `has_MMX':
testcpuid.c:57: error: PIC register `ebx' clobbered in `asm'
testcpuid.c: In function `has_SIMD':
testcpuid.c:78: error: PIC register `ebx' clobbered in `asm'
testcpuid.c: In function `has_SIMD2':
testcpuid.c:99: error: PIC register `ebx' clobbered in `asm'
testcpuid.c: In function `has_3DNow':
testcpuid.c:120: error: PIC register `ebx' clobbered in `asm'
make[1]: *** [testcpuid.lo] Fehler 1
make[1]: Leaving directory `/root/spandsp-0.0.1/src'
make: *** [all] Fehler 2

from what i read ist a code prob not a gcc bug

read
http://bugzilla.gnome.org/show_bug.cgi?id=141083

Michael





More information about the asterisk-dev mailing list