[10935] in Athena Bugs

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

sun4 7.6J: Compiling using gcc to a remote server on a sparc ...

daemon@ATHENA.MIT.EDU (jawetzel@Athena.MIT.EDU)
Fri Sep 10 07:27:48 1993

From: jawetzel@Athena.MIT.EDU
To: bugs@Athena.MIT.EDU
Date: Fri, 10 Sep 93 07:27:31 EDT

System name:		m16-034-22
Type and version:	SPARC/Classic 7.6J
Display type:		cgthree

What were you trying to do?
	I am trying to compile the 'Hello World' program located on the
	server indus from a sparc.

What's wrong:
	/mit/cygnus/sun4bin/gcc -c foo.c
	gcc.real: Internal compiler error: program as got fatal signal 10

What should have happened:
	Should have compiled successfully.

Please describe any relevant documentation references:
	Here are the specifics:
	attach 15.301
	cd /mit/15.301/src/rev4.6/build/sparc
	/mit/cygnus/sun4bin/gcc -c foo.c
	gcc.real: Internal compiler error: program as got fatal signal 10

	This could be a compiler error so I try the following:

	/mit/cygnus/sun4bin/gcc -o foo foo.c
	gcc.real: Internal compiler error: program ld got fatal signal 10

	If gcc uses its own version of ld and not the sparc version then this
	could be a compiler error.  If it uses the sparc version perhaps there
	is something flakey about the way the sun is accessing the server.
	Next I compile it locally:

	cp /mit/15.301/src/rev4.6/build/sparc/foo.c /usr/tmp/jake
	cd /usr/tmp/jake
	/mit/cygnus/sun4bin/gcc -o foo foo.c
	foo

	It works when I compile it locally.  Very interesting.  If you need
	more information, contact jawetzel@athena.

								Jake


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