[Bug lto/41376] collect2 does not handle static libraries
bmei at broadcom dot com
gcc-bugzilla@gcc.gnu.org
Tue May 4 16:55:00 GMT 2010
------- Comment #6 from bmei at broadcom dot com 2010-05-04 16:54 -------
> So this is a rough first draft of the-kind-of-thing-i-was-thinking-of. We get
> collect2 to run a dummy link early, and extract the output from the
> --lto-assist flag to get a list of archive members that we need lto to
> recompile for us.
>
Well I spent some time to read into collect2/lto code and understand pro/cons
of different approaches. So far, adding --lto-assist to ld/hacking collect2
approach looks reasonable to me, though it does require gnu ld. What extra info
should be in a complete symbol resolution file?
--
bmei at broadcom dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bmei at broadcom dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41376
More information about the Gcc-bugs
mailing list