building the current compiler on sparc

Erwan Jahier Erwan.Jahier at irisa.fr
Wed Feb 24 22:18:21 AEDT 1999


For 3 or 4 days now, I don't manage to build the current Mercury compiler on
sparc (SunOS cripure 5.7 Generic sun4u sparc SUNW,Ultra-250). Whereas on
Linux (Linux averell 2.0.34 #2 Thu Jul 9 10:57:48 EST 1998 i686 unknown), it
works ok. 

[11:58]%uname -a
SunOS cripure 5.7 Generic sun4u sparc SUNW,Ultra-250
[11:59]%mmake
...
gmake[1]: Entering directory `/home/swann/d02/lande/jahier/mercury/trace'
gmake[1]: Nothing to be done for `default_target'.
gmake[1]: Leaving directory `/home/swann/d02/lande/jahier/mercury/trace'
cd compiler && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/home/swann/d02/lande/jahier/mercury/compiler'
MERCURY_ALL_C_INCL_DIRS="-I../trace -I../runtime" ../scripts/mgnuc --grade asm_fast.gc     -I../boehm_gc        -c rl_code.c -o rl_code.o
rl_code.c: In function `rl_code_module6':
rl_code.c:45173: warning: right shift count >= width of type
rl_code.c:45175: warning: right shift count >= width of type
rl_code.c:45177: warning: right shift count >= width of type
rl_code.c:45179: warning: right shift count >= width of type
sparc-sun-solaris2.6-gcc: Internal compiler error: program cc1 got fatal signal 11
gmake[1]: *** [rl_code.o] Error 1
gmake[1]: Leaving directory `/home/swann/d02/lande/jahier/mercury/compiler'
gmake: *** [compiler] Error 2
[12:11]%


Note: at that stage on Linux (i.e. when the compilation arrives to the point
"rl_code.c:45173: warning: right shift count >= width of type ...." messages
are displayed), the machine is swapping very hard.

Does it fail to compile on sparcs because the the machine is overloaded ?
What can I do ?
 




-- 
R1.





More information about the developers mailing list