This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.0.3 on Solaris 2.5.1
Hi Jeff,
On Fri, Feb 15, 2002 at 09:07:40AM -0500, Jeff Sturm wrote:
> On Fri, 15 Feb 2002, Martin Kahlert wrote:
> > The problem seems to go away, when you avoid binutils completely.
>
> I see that c/3982 doesn't say what version of binutils was used.
IIRC i used binutils-2.11.2.
> > I configured with
> > configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld
>
> If you have any version of binutils installed on Solaris, I suggest always
> specifying --with-as=... and --with-ld=... to configure. Anything else is
> error prone. (I found out the hard way.)
I have my private installation on that machine because i am not root on it
and so i always have the $prefix/bin dir (including binutils) at the
very beginning of my PATH.
> Your problem may be related to the OP's, however I haven't personally
> tested 2.5.1, so I can't say for sure it doesn't have problems with the
> dynamic linker.
I have just one 2.5.1 left. The installation with binutils gave wrong answers
for the testcase while with Sun's tools (as,ld) i get no error (for the small
test case at least).
> You might like to try the 3.1 compiler since that's where bugs are
> actively being fixed now. (There may or may not be another 3.0.x
> release.)
I currently work with gcc-3.1 snapshots on a Solaris 2.7 box using
Sun's tools and everything seems to be smooth so far.
Thanks,
Martin.
--
The early bird catches the worm. If you want something else for
breakfast, get up later.