From the release notes: Starting from the 2.18.50.0.4 release, the x86 assembler no longer accepts fnstsw %eax fnstsw stores 16bit into %ax and the upper 16bit of %eax is unchanged. Please use fnstsw %ax i686-pc-linux-gnu-gcc ../sysdeps/i386/fpu/ftestexcept.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing -g -march=i686 -pipe -Wstrict-prototypes -mpreferred-stack-boundary=4 -Wno-uninitialized -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -I../include -I/var/tmp/portage/sys-libs/glibc-2.7-r1/work/build-default-i686-pc-linux-gnu-nptl/math -I/var/tmp/portage/sys-libs/glibc-2.7-r1/work/build-default-i686-pc-linux-gnu-nptl -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/include -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DNOT_IN_libc=1 -DIS_IN_libm=1 -o /var/tmp/portage/sys-libs/glibc-2.7-r1/work/build-default-i686-pc-linux-gnu-nptl/math/ftestexcept.o -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.7-r1/work/build-default-i686-pc-linux-gnu-nptl/math/ftestexcept.o.dt -MT /var/tmp/portage/sys-libs/glibc-2.7-r1/work/build-default-i686-pc-linux-gnu-nptl/math/ftestexcept.o {standard input}: Assembler messages: {standard input}:58: Error: suffix or operands invalid for `fnstsw' make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.7-r1/work/build-default-i686-pc-linux-gnu-nptl/math/ftestexcept.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.7-r1/work/glibc-2.7/math' make[1]: *** [math/others] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.7-r1/work/glibc-2.7' make: *** [all] Error 2 * * ERROR: sys-libs/glibc-2.7-r1 failed.
i should pay more attention to my mail. http://sourceware.org/ml/libc-alpha/2008-01/msg00017.html
fixed in glibc-2.7-r2
*** Bug 246655 has been marked as a duplicate of this bug. ***
spanky: could you backport for glibc-2.6 since that's still x86 stable?
no. stabilize glibc-2.8 already.