tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:  GCC Compilation Failure - CPU Exception
@ 2000-08-02 20:36 Jan Bacher
  0 siblings, 0 replies; only message in thread
From: Jan Bacher @ 2000-08-02 20:36 UTC (permalink / raw)
  To: tru64-unix-managers

The GCC compiler is built in stages.  The first stage uses [Dec's] CC 
compiler and which needs the cflag "-arch ev56" for the Dec compiler to 
operate without creating an internal compiler error.  This cflag is not 
valid with gcc which is used in successive stages.  Because of this, gcc 
needs to be built in stages instead of building all stages at once.  I 
found this solution using [duh] the man page for Dec cc.

As an fyi, I did swap out the motherboard, cpu, and all memory and which 
did not resolve the problem.

If anyone has the old directions for building stage1 separately from the 
rest of the stages, I would appreciate it.  This may resolve my problem of 
building gcc on a PC164LX running 5.0.

Many thanks to the contributors:

alan @ dec
charles richmond
octave orgeron
jeffrey hunds
tom blinn
eric ayers

also, thanks to those for reminding me to not include junk that's not 
needed. :)


 >>>>>>>>>>>>>>>Problem<<<<<<<<<<<<<<<<<

I am trying to compile GCC-2.95.2 on a PC164LX, firmware 5.5, Tru64 5.0 and 
am receiving the gcc error listed immediately below.

To note:  I experienced the same problem on another unit and swapped the 
drives to the current unit when I thought the CPU was bad {that unit 
actually hung/crashed}.

I have had no problem with this same compilation on an 800 running 4.0D.

If someone could shed some light on the problem and what I need to do to 
continue on, I would appreciate it.  I have some applications that won't 
compile without gcc and gcc make.


****************************** G C C   E R R O R ************************
{stuff deleted}

rm -f SYSCALLS.c tmp-SYSCALLS.s
cat ../../gccdir/gcc/sys-types.h ../../gccdir/gcc/sys-protos.h > SYSCALLS.c
./xgcc -B/usr/local/alphaev56-dec-osf5.0/bin/ -B./ 
-I/usr/local/alphaev56-dec-osf5.0/include  -DIN_GCC -DHAIFA    -O2 -g 
-I./include     -I. -I../../gccdir/gcc -I../../gccdir/gcc/config 
-I../../gccdir/gcc/../include  -aux-info SYSCALLS.c.X -S -o tmp-SYSCALLS.s 
SYSCALLS.c
xgcc: Internal compiler error: program cpp got fatal signal 11
*** Exit 1
Stop.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-08-02 20:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-02 20:36 SUMMARY: GCC Compilation Failure - CPU Exception Jan Bacher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox