This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: Huge binaries?


>>>>> Ulrich Drepper <drepper@cygnus.com> writes:

 > Jason Merrill <jason@cygnus.com> writes:
 >> Yep.  Would be nice if someone in binutils-land would fix these problems so
 >> that --gc-sections could be useful on native targets...

 > What are the actual problems.  I've not really followed this thread
 > much, sorry.  Is there a simple test case?

At one point, if you tried to use --gc-sections without -static, even for
'int main(){}', it produced an executable which segfaulted, probably
because it was throwing away information needed by the dynamic loader.  I
think that since then it's just been disabled for Linux, but I'm not sure.

Jason

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