Build of snapshots failed on Solaris 2.6

Nathan Field nathan@cs.hmc.edu
Mon Jun 28 16:36:00 GMT 1999


I am using a SPARC Solaris 2.6 machine, and I am unable to compile any of
the last three snapshots of egcs 1.95, or the current egcs-1.1.2 release.

When I attempt to build the 19990616 or 19990623 snapshots it complains
about not knowing how to build a system.h file in the texinfo/lib
directory.  I coppied the entire texinfo/lib directory into my
objdir/texinfo/lib tree and then tried make bootstrap again (this is for
the 23 snapshot, I have not attempted this on the 16 snapshot).  It next
failed on:

Making info file `ch/chill.info' from
`../../egcs-19990623/gcc/ch/chill.texi'.
make: Fatal error: Don't know how to make target `f/intdoc.c'
Current working directory /export/proj/nathan/egcs/objdir-test/gcc
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'
Current working directory /export/proj/nathan/egcs/objdir-test/gcc
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'

I coppied gcc/f/* into objdir-test/gcc/f and tried.  There were a lot of
errors about "mv: cannot access <various things>", and the compile next
failed with this:

./gengenrtl tmp-genrtl.h tmp-genrtl.c
*** Signal 11
make: Fatal error: Command failed for target `s-genrtl'
Current working directory /export/proj/nathan/egcs/objdir-test/gcc
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'
Current working directory /export/proj/nathan/egcs/objdir-test/gcc
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'

I then tried the following sequence:
make clean
cp <path to egcs>/texinfo/lib/* texinfo/lib
yes n | cp -r <path to egcs>/gcc/f/* gcc/f
make bootstrap

This failed with:
./gengenrtl tmp-genrtl.h tmp-genrtl.c
*** Signal 11
make: Fatal error: Command failed for target `s-genrtl'
Current working directory /export/proj/nathan/egcs/objdir-test/gcc
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'
Current working directory /export/proj/nathan/egcs/objdir-test/gcc
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'

At this point I got sick of hacking away at it, so I gave up and am
looking for assistance from higher beings :)

The 19990608 snapshot did not have the system.h dependency problem, but it
does have the "Don't know how to make target f/intdoc.c" problem.

I also tried building the egcs-1.1.2, and it had the same system.h
dependency problem.  When I coppied them in by hand it had the following
problem:

ar rc libio.a filedoalloc.o floatconv.o genops.o fileops.o  iovfprintf.o
iovfscanf.o ioignore.o iopadn.o  iofgetpos.o iofread.o iofscanf.o
iofsetpos.o iogetdelim.o iogetline.o  ioprintf.o ioseekoff.o ioseekpos.o
outfloat.o strops.o iofclose.o iopopen.o ioungetc.o peekc.o iogetc.o
ioputc.o iofeof.o ioferror.o iofdopen.o iofflush.o iofgets.o iofopen.o
iofprintf.o iofputs.o iofwrite.o  iogets.o ioperror.o ioputs.o ioscanf.o
iosetbuffer.o iosetvbuf.o  iosprintf.o iosscanf.o ioftell.o iovsscanf.o
iovsprintf.o ioprims.o iostrerror.o cleanup.o  stdfiles.o
ar: cannot open peekc.o
        No such file or directory
ar: cannot open iogetc.o
        No such file or directory
ar: cannot open ioputc.o
        No such file or directory
ar: cannot open iofeof.o
        No such file or directory
ar: cannot open ioferror.o
        No such file or directory
ar: peekc.o not found
ar: iogetc.o not found
ar: ioputc.o not found
ar: iofeof.o not found
ar: ioferror.o not found
*** Error code 5
make: Fatal error: Command failed for target `libio.a'
Current working directory
/export/proj/nathan/egcs/objdir-1.1.2/sparc-sun-solaris2.6/libio
*** Error code 1
make: Fatal error: Command failed for target `all-target-libio'
Current working directory /export/proj/nathan/egcs/objdir-1.1.2
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'

This all seems very strange since some of these releases have been around
and used for quite some time now.  I would have thought simple compile
time errors like these would have been caught long ago.  However, I have
pored through the installation instructions, and I believe that I have
followed them to the letter, and I still can't get anything to work.  Any
help would be greatly appreciated, as I am totally lost here.

Here's the info on the compiler used for this:

(80) nathan@turing /proj/nathan/egcs/objdir-1.1.2 -> gcc -v
Reading specs from /usr/lib/gcc-lib/sparc-sun-solaris2.6/gcc-2.95/specs
gcc version gcc-2.95 19990608 (prerelease)

	nathan

------------
Nathan Field  Root is not something to be shared with strangers.

"One World, One Web, One Program" - Microsoft Promotional Ad
"Ein Volk, Ein Reich, Ein Fuhrer" - Adolf Hitler




More information about the Gcc-bugs mailing list