gcc 3.2 on Solaris 8 (libgcc_s.so problem)
Bernd Jendrissek
berndj@prism.co.za
Wed Aug 21 13:12:00 GMT 2002
On Wed, Aug 21, 2002 at 10:50:08AM -0500, Anthony Feick wrote:
> >It turns out that while installing the compiler, I had stripped
> >crtstuff.
> >
> >bernd
>
> I'm not sure what you mean. How do you strip the c runtime stuff? How did
> you fix it??? It seemed to happen anytime I used "binutils 2.13".
[Almost too embarassed to share this tale...]
simple. watch, learn, and weep (or laugh)
$ strip /tmp/gcc-install/usr/lib/gcc-lib/i686-pc-linux-gnu/3.0.4/crtbegin.o
etc.
Of course, linking in a stripped (now non-)relocatable object file is BAD.
The fix? Don't strip. Seems simple now, but I had a monster of a time
figuring it out in the first place. Things got quite hairy for a while,
when I noticed that I had actually final-installed a nonworking gcc. Lucky
I still had gcc2.7.2.3 around with which to bootstrap.
bernd
More information about the Gcc
mailing list