Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209629 - binutils-2.18.50.0.4 breaks glibc-2.7-r1 build
Summary: binutils-2.18.50.0.4 breaks glibc-2.7-r1 build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 246655 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-11 02:29 UTC by Ryan Hill (RETIRED)
Modified: 2009-03-06 21:49 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2008-02-11 02:29:39 UTC
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.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2008-02-12 01:06:53 UTC
i should pay more attention to my mail.

http://sourceware.org/ml/libc-alpha/2008-01/msg00017.html
Comment 2 SpanKY gentoo-dev 2008-03-23 15:12:48 UTC
fixed in glibc-2.7-r2
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2008-11-14 04:11:13 UTC
*** Bug 246655 has been marked as a duplicate of this bug. ***
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-03-06 21:13:15 UTC
spanky: could you backport for glibc-2.6 since that's still x86 stable?
Comment 5 SpanKY gentoo-dev 2009-03-06 21:49:19 UTC
no.  stabilize glibc-2.8 already.