Huge binaries?

Jason Merrill jason@cygnus.com
Fri Nov 19 17:36:00 GMT 1999


>>>>> 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


More information about the Libstdc++ mailing list