[Bug libgcc/56277] libgcc.a and libgcc_eh.a should be compiled with function-level linking

msharov at users dot sourceforge.net gcc-bugzilla@gcc.gnu.org
Mon Feb 11 00:33:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56277

--- Comment #3 from msharov at users dot sourceforge.net 2013-02-11 00:33:03 UTC ---
(In reply to comment #2)
> Do you think you have an example where adding -ffunction-sections can help for
> the compiled libgcc.a ?

No, sorry. Checking this would require manually recompiling libgcc with
-ffunction-sections and trying it out on my projects. Since I haven't compiled
gcc in quite a long time and have forgotten all the tricks for doing it, this
will be a lot of work. So, if you say you already do all you can to minimize
what is linked in from there, I'll take your word for it.



More information about the Gcc-bugs mailing list