<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>209629</bug_id>
          
          <creation_ts>2008-02-11 02:29 0000</creation_ts>
          <short_desc>binutils-2.18.50.0.4 breaks glibc-2.7-r1 build</short_desc>
          <delta_ts>2009-03-06 21:49:19 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Core system</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>dirtyepic@gentoo.org</reporter>
          <assigned_to>toolchain@gentoo.org</assigned_to>
          <cc>esigra@gmail.com</cc>
    
    <cc>Ruslan.Zakirov@gmail.com</cc>
    
    <cc>teidakankan@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2008-02-11 02:29:39 0000</bug_when>
            <thetext>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&apos;
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&apos;
make[1]: *** [math/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.7-r1/work/glibc-2.7&apos;
make: *** [all] Error 2
 *
 * ERROR: sys-libs/glibc-2.7-r1 failed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2008-02-12 01:06:53 0000</bug_when>
            <thetext>i should pay more attention to my mail.

http://sourceware.org/ml/libc-alpha/2008-01/msg00017.html</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2008-03-23 15:12:48 0000</bug_when>
            <thetext>fixed in glibc-2.7-r2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2008-11-14 04:11:13 0000</bug_when>
            <thetext>*** Bug 246655 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2009-03-06 21:13:15 0000</bug_when>
            <thetext>spanky: could you backport for glibc-2.6 since that&apos;s still x86 stable?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2009-03-06 21:49:19 0000</bug_when>
            <thetext>no.  stabilize glibc-2.8 already.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>