sparc solaris problems

Stephen L Moshier moshier@mediaone.net
Sun Jun 3 12:30:00 GMT 2001


> On Sun, 3 Jun 2001, Stephen L Moshier wrote:
> > Apparently binutils was installed on this system.  Should it be?
> >     /usr/local/sparc-sun-solaris2.7/bin/ld --version
> >     GNU ld 2.9.1
> 
> You may need to pass explicit --with-as and --with-ld to configure on
> Solaris if binutils is installed.
> 
> 2.9.1 is probably far too old for the trunk.  It will have problems
> handling unaligned relocations.  Try a recent binutils snapshot such
> as 010603, or stick with the native as/ld.
> 
> Jeff

Both binutils-2.11 and the current binutils snapshot fail make check, so
I'm not going to install either of those.

For some reason configure elected the binutils ld, which doesn't work,
and the native /usr/ccs/bin/as assembler, which also doesn't work --
not the way this is set up, anyway.

After manually pointing ld to /usr/ccs/bin/ld, the libgcc.a
compilation finished.  But xgcc would not compile a simple program
because it passed the string "--traditional-format" to Sun's
assembler.  After manually removing that from the specs file the
compiler seemed to start working.

I don't understand why this is so hard.  Are sparcstations being
abandoned?  Nobody uses them any more?



More information about the Gcc-bugs mailing list