This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Assembler code problem in recent glibc releases

On Mon, Nov 16, 2009 at 02:50:14PM -0600, JohnT wrote:
>  Help most appreciated. I'm running Mandriva Linux 2007.0 on an i686
> machine, with
> glibc-2.4-7mdv
> gcc-4.2.4 compiled default for i686
> binutils-2.19.1 (GNU Assembler version)
> make-3.81
> m4-1.4.13
> I'm getting the following assembler-code error on glibc 2.5.1 and
> 2.7. I found problems with later glibc versions, by the way, and
> will describe them separately. I previously built and tested these
> on Mandriva 2006 with some updated tools.
> /home2/on07/bldlib27/math/ftestexcept.o.dt -MT
> /home2/on07/bldlib27/math/ftestexcept.o
> /home/dilbert/tmp/ccCsRL6U.s: Assembler messages:
> /home/dilbert/tmp/ccCsRL6U.s:41: Error: suffix or operands invalid for
> /`fnstsw'
> make[2]: *** [/home2/on07/bldlib27/math/ftestexcept.o] Error 1
> make[2]: Leaving directory `/home2/on07/glibc-2.7/math'
> make[1]: *** [math/others] Error 2
> make[1]: Leaving directory `/home2/on07/glibc-2.7'
> make: *** [all] Error 2
> Is there any known incompatibility between the assembly code in
> glibc and current binutils? It doesn't make sense that assembler
> syntax would change.

Yes, there is a syntax change. From binutils announcements:

> Starting from the 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

				Petr "Pasky" Baudis
A lot of people have my books on their bookshelves.
That's the problem, they need to read them. -- Don Knuth

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]