http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50616
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ktietz at gcc dot gnu.org
--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-03
10:31:53 UTC ---
I think the (null)'s are odd at least.
2
ltotest.o 15
1068 a2f6b3c8 (null) PREVAILING_DEF
1010 a2f6b3c8 (null) RESOLVED_EXEC
1082 a2f6b3c8 (null) RESOLVED_EXEC
1086 a2f6b3c8 (null) RESOLVED_EXEC
1093 a2f6b3c8 (null) RESOLVED_EXEC
...
First of all, the symbol name should come 4th, not 3rd - the resolution
belongs there.
This means you are very likely using a bogus lto-plugin shared object that
does not match the GCC version you are using. Though I do not remeber
any version that dumped things in the order I see in your attached file.
So, please check which file is specified as -plugin argument to the linker
(it should be visible in the -v dump) and remove that and/or replace it
with a current version.
Hmm. We use
fprintf (f, "%u %llx %s %s\n",
(unsigned int) slot, symtab->aux[j].id,
lto_resolution_str[resolution],
symtab->syms[j].name);
maybe that falls foul of some special Window-ism (aka unportable %llx?).
Kai?