gnu.gcc.help
[Top] [All Lists]

Re: build trouble - gcc-4.1.1 on Solaris 10

Subject: Re: build trouble - gcc-4.1.1 on Solaris 10
From: "Neal A. Lucier"
Date: Wed, 19 Jul 2006 14:30:12 -0400
Newsgroups: gnu.gcc.help, comp.unix.solaris
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

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy