3.3.2: Could not bootstrap on Solaris 8 (Native as/ld)

Ranjit Mathew rmathew@hotmail.com
Tue Oct 21 10:39:00 GMT 2003


Hi,

    I am trying to bootstrap 3.3.2 (C/C++) on Solaris
8 with native as/ld and Sun Workshop cc, and it fails:
------------------------------ 8< ------------------------------
[tail end of lots of the same errors...]

_write                              0x1f10      /opt/SUNWspro6.1/WS6U1/lib/libm.
a(_SVID_error.o)
_write                              0x2018      /opt/SUNWspro6.1/WS6U1/lib/libm.
a(_SVID_error.o)
_write                              0x2134      /opt/SUNWspro6.1/WS6U1/lib/libm.
a(_SVID_error.o)
_write                              0x2210      /opt/SUNWspro6.1/WS6U1/lib/libm.
a(_SVID_error.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
gmake[4]: *** [libstdc++.la] Error 1
------------------------------ 8< ------------------------------

I configured it simply as:

  ~/tmp/build > ../gcc-3.3.2/configure --enable-languages=c,c++ \
  --disable-debug --disable-nls

Are native as/ld supported at all or should I be using binutils?
Or is there something wrong that I am doing here?

Thanks in advance for your help.

Ranjit.




More information about the Gcc mailing list