[Bug driver/42690] Undefined reference errors with -flto -fuse-linker-plugin

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Nov 22 18:31:00 GMT 2010


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

--- Comment #26 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-22 18:27:58 UTC ---
One approach for linker plugin support may be:

1. GCC driver marks crtbegin.o and crtend.o.
2. Linker processes everything between crtbegin.o and crtend.o with GCC
LTO plugin.
3. Linker generates executable with the proper command line and GCC LTO
plugin outputs.



More information about the Gcc-bugs mailing list