This is the mail archive of the
mailing list for the glibc project.
Re: Assembler code problem in recent glibc releases
- From: Petr Baudis <pasky at suse dot cz>
- To: JohnT <jrt at worldlinc dot net>
- Cc: libc-help <libc-help at sourceware dot org>
- Date: Mon, 16 Nov 2009 23:01:24 +0100
- Subject: Re: Assembler code problem in recent glibc releases
- References: <4B01BB06.email@example.com>
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
> gcc-4.2.4 compiled default for i686
> binutils-2.19.1 (GNU Assembler version)
> 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
> /home/dilbert/tmp/ccCsRL6U.s: Assembler messages:
> /home/dilbert/tmp/ccCsRL6U.s:41: Error: suffix or operands invalid for
> make: *** [/home2/on07/bldlib27/math/ftestexcept.o] Error 1
> make: Leaving directory `/home2/on07/glibc-2.7/math'
> make: *** [math/others] Error 2
> make: 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 22.214.171.124.4 release, the x86 assembler no longer
> 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