[20412] in Athena Bugs

home help back first fref pref prev next nref lref last post

gnu locker linux assembler bites athena 9.1 cc on the butt

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Mon Jun 24 20:54:56 2002

To: gnu@mit.edu
Cc: bugs@mit.edu
From: Ken Raeburn <raeburn@MIT.EDU>
Date: Mon, 24 Jun 2002 20:54:54 -0400
Message-ID: <tx1n0tkb2jl.fsf@mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

The GNU locker's installation of binutils for Linux should be updated
or deleted; it doesn't play nicely with the Athena 9.1 release with
its updated compiler and binutils.  The GNU locker "as" is version
2.10.1; 2.12.1 is current.

It also probably wouldn't hurt for the Red Hat system to include a
copy of or link to "as" in /usr/lib/gcc-lib/i386-redhat-linux/2.96 or
thereabouts, since the compiler should look there first.

% where cc
/usr/bin/cc
% where as
/mit/gnu/arch/i386_linux24/bin/as
/usr/bin/as
% cc -v -O -g -c bug.c -save-temps
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)
 /usr/lib/gcc-lib/i386-redhat-linux/2.96/cpp0 -lang-c -v -D__GNUC__=2 ...
GNU CPP version 2.96 20000731 (Red Hat Linux 7.3 2.96-110) (cpplib) (i386 Linux/ELF)
ignoring nonexistent directory "/usr/i386-redhat-linux/include"
#include "..." search starts here:
...
End of search list.
 /usr/lib/gcc-lib/i386-redhat-linux/2.96/cc1 bug.i -quiet -dumpbase bug.c -g -O -version -o bug.s
GNU C version 2.96 20000731 (Red Hat Linux 7.3 2.96-110) (i386-redhat-linux) compiled by GNU C version 2.96 20000731 (Red Hat Linux 7.3 2.96-110).
 as -V -Qy -o bug.o bug.s
GNU assembler version 2.10.1 (i686-pc-linux-gnu) using BFD version 2.10.1
bug.s: Assembler messages:
bug.s:443: Warning: Unrecognized .section attribute: want a,w,x
bug.s:443: Warning: Unrecognized .section attribute: want a,w,x
bug.s:443: Error: Rest of line ignored. First ignored character is `,'.
bug.s:579: Warning: Unrecognized .section attribute: want a,w,x
bug.s:579: Warning: Unrecognized .section attribute: want a,w,x

Line 443 is:

	.section	.rodata.str1.1,"aMS",@progbits,1


home help back first fref pref prev next nref lref last post