[26098] in Athena Bugs

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

sun4 9.3.8: gcc

daemon@ATHENA.MIT.EDU (John Carr)
Tue Oct 5 17:08:16 2004

Message-Id: <200410052108.i95L8AN3019458@contents-vnder-pressvre.mit.edu>
To: bugs@mit.edu
Date: Tue, 05 Oct 2004 17:08:10 -0400
From: John Carr <jfc@mit.edu>
Errors-To: bugs-bounces@mit.edu

System name:		contents-vnder-pressvre.mit.edu
Type and version:	Sun-Fire-V440 9.3.8 (with mkserv)
Display type:		unknown

Shell:			/bin/athena/tcsh
Window manager:		unknown

What were you trying to do?
	Compile a program with gcc with the -m64 option to generate
	64 bit SPARC V9 code.

What's wrong:
	Compiler crash -- GNU ld dumps core.  To reproduce, compile
	this:
		int main() { return 0; }
	or any program with "gcc -m64".  The linker,
	/usr/gcc/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/ld, dumps core:

collect2: ld terminated with signal 11 [Segmentation Fault], core dumped
/usr/gcc/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/ld: skipping incompatible /usr/gcc/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/sparcv9/libgcc.a when searching for -lgcc
/usr/gcc/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/ld: skipping incompatible /lib/sparcv9/libc.so when searching for -lc
[... and many more]

What should have happened:
	not that

Please describe any relevant documentation references:
	

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