This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

build problems on sun sparc solaris 2.7


More build problems on sun sparc solaris 2.7:

/kankakee1/tmp/mrs/net/gcc-sol/gcc/xgcc -B/kankakee1/tmp/mrs/net/gcc-sol/gcc/ -B/folk/mrs/packages/gcc-20001129/sparc-sun-solaris2.7/bin/ -B/folk/mrs/packages/gcc-20001129/sparc-sun-solaris2.7/lib/ -isystem /folk/mrs/packages/gcc-20001129/sparc-sun-solaris2.7/include -shared  .libs/limitsMEMBERS.o .libs/complex.o .libs/complexf.o .libs/complexl.o .libs/complex_io.o .libs/stdexcept.o .libs/bitset.o .libs/c++io.o .libs/ios.o .libs/stdstreams.o .libs/strstream.o .libs/locale.o .libs/localename.o .libs/codecvt.o .libs/locale-inst.o .libs/stl-inst.o .libs/misc-inst.o .libs/valarray-inst.o .libs/string-inst.o -Wl,--whole-archive ../libmath/.libs/libmath.a ../libsupc++/.libs/libsupc++convenience.a -Wl,--no-whole-archive  -lm ../libmath/.libs/libmath.a -lm ../libsupc++/.libs/libsupc++convenience.a -lm -lm   -lc  -Wl,-O1 -Wl,-soname -Wl,libstdc++.so.3 -o .libs/libstdc++.so.3.0.0
/usr/ccs/bin/ld: illegal option -- -
/usr/ccs/bin/ld: illegal option -- w
/usr/ccs/bin/ld: illegal option -- -
/usr/ccs/bin/ld: illegal option -- n
ld: warning: option -o appears more than once, first setting taken
/usr/ccs/bin/ld: illegal option -- O
/usr/ccs/bin/ld: illegal option -- 1
ld: warning: option -o appears more than once, first setting taken
usage: ld [-abc:d:e:f:h:il:mo:p:rstu:z:B:D:F:GI:L:M:N:P:Q:R:S:VY:] file(s)
[...]
collect2: ld returned 1 exit status
make[3]: *** [libstdc++.la] Error 1
make[3]: Leaving directory `/kankakee1/tmp/mrs/net/gcc-sol/sparc-sun-solaris2.7/libstdc++-v3/src'

I have GNU ld in my path, and gcc configured with just
--prefix=/folk/mrs/packages/gcc-20001129.  I have tried to confiure
with GNU ld, but that also fails, just with a different set of errors.
Conclusion, the code to prefer ccs ld over the LD in the path is
broken or incomplete.  This used to not be a problem, and needs fixing.

:-(

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]