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]

Re: gcc 3.2 on Solaris 8 (libgcc_s.so problem)


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


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