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]
Other format: [Raw text]

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


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.



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