https://sourceware.org/bugzilla/show_bug.cgi?id=29998
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #17 from Nick Clifton <nickc at redhat dot com> ---
Hi Jan,
Thanks for the container creation guide. Using that I was able to reproduce
the problem and come up with a patch to fix it.
The issue is that LTO is eliminating all of the code, so there are no relocs
to put into the .reloc section. But there are places in the PE generation
code that assume that the .reloc section, if present, is not empty. Plus
the was an issue with how the LTO plugin was marking sections as not needed.
I have checked in a patch to fix these problems and tidy up the code a little
bit as well. With this patch applied your test case compiles successfully,
although it will not do very much - there is basically no code to run!
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.