|
|
Dave (from the UK) wrote:
I have a Sun UltraSPARC workstation with Solaris 10 update 2 (6/06
release) and gcc 3.4.3 - the gcc is now part of Solaris.
I need to build a java compiler (gcl), as the gcc that is shipped in
Solaris is not built with that. So I downloaded gcc-4.1.1 and configured
gcc like this:
teal /export/home/drkirkby/build % ../gcc-4.1.1/configure
--prefix=/usr/local --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,java
(those config options are the same as those used for building gcc in
/usr/sfw/bin/gcc)
Whilst the build process of 4.1.1 went a long way (there was over 300 Mb
of files created), it finally bombs out. Various linker errors about "
relocation error" and "symbol <unknown>: offset 0xfeeb5aa6 is
non-aligned". (See below for more details)
Any idea where the hell to start looking for this problem?
You might be running into this bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27823
Neal
|
|