LTO symtab sections vs. missing symbols (libcalls maybe?) and lto-plugin vs. COFF

Ian Lance Taylor iant@google.com
Thu Oct 14 18:12:00 GMT 2010


Dave Korn <dave.korn.cygwin@gmail.com> writes:

>   The consequence of this is that either there are going to be undefined
> symbols in the final executable, or the linker has to perform another round of
> library scanning.  It occurred to me that the semantics of this might even not
> have been decided yet, since ELF platforms are perfectly happy with undefined
> symbols at final link time.

Only when linking dynamically, though.  This suggests that your test
case should fail on ELF when linking with -static.  If not, why not?

Ian



More information about the Gcc mailing list