[Bug bootstrap/15029] gcc 3.4.0 doesn't build on Solaris

dhighley at highley-recommended dot com gcc-bugzilla@gcc.gnu.org
Mon Apr 26 08:45:00 GMT 2004


------- Additional Comments From dhighley at highley-recommended dot com  2004-04-26 05:08 -------
I ran into the same issue. The problem here is not a bug in Solaris's shell. It
is  a faulty configure script. Anyone who has written shell scripts knows that
you need to protect against a variable not being defined in a test by putting
quotation marks around the variable. So the discussion about the Solaris shell
is pure garbage in this context.

After fixing this issue and completing the build the install will fail. The
Makefile INSTALL macro was not tree position leveled so I
ended up creating these symlinks under gcc-3.4.0-obj:
./gcc-3.4.0
./sparc-sun-solaris2.9/libstdc++-v3/gcc-3.4.0
./sparc-sun-solaris2.9/sparcv9/libstdc++-v3/gcc-3.4.0
./sparc-sun-solaris2.9/sparcv9/libffi/gcc-3.4.0
./sparc-sun-solaris2.9/sparcv9/libjava/gcc-3.4.0
./sparc-sun-solaris2.9/sparcv9/gcc-3.4.0
./sparc-sun-solaris2.9/libffi/gcc-3.4.0
./sparc-sun-solaris2.9/libjava/gcc-3.4.0
./sparc-sun-solaris2.9/gcc-3.4.0

Ended up repeating gmake install to discover each symlink needed. So I have
built tested and installed on a Solaris 9 platform. I did poke around in the
make file templates, but did not discover where to fix this issue. 

Just a closing comment. I have built and used the GCC compiler for years with
little problems until we reached the 3.x versions. I have experienced install
issues with every release in the 3.x series.
 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15029



More information about the Gcc-bugs mailing list