3.0, gcc_release fails on sparc-sun-solaris2.7
Jeff Sturm
jsturm@one-point.com
Thu Jun 7 10:14:00 GMT 2001
On Thu, 7 Jun 2001, Nathan Sidwell wrote:
> ld: warning: option -o appears more than once, first setting taken
The last time I saw a problem like this, it turned out that:
1) I had binutils installed in my PATH
2) libtool configured itself for GNU ld
3) gcc configured itself for /usr/ccs/bin/ld
4) libtool passes -Wl,-soname to gcc (and hence, /usr/ccs/bin/ld)
5) ld gets confused about -soname and gives up
The usual workaround is configuring with --with-as and --with-ld.
The patch below also fixed it for me... I don't know why it was never
applied:
http://gcc.gnu.org/ml/gcc-patches/2001-05/msg00146.html
Jeff
More information about the Gcc-bugs
mailing list