[Bug lto/57715] lto1.exe: internal compiler error: in add_symbol_to_partition
vhaisman at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Mar 21 15:02:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57715
--- Comment #4 from Václav Zeman <vhaisman at gmail dot com> ---
(In reply to Tobias Burnus from comment #2)
> This PR might have the same reason as PR60567.
>
> Namely, your GCC has not been compiled on a system with working linker
> plugin - and thus, lto1 is not invoked with -fresolution=.
>
> Try compiling with "-fuse-linker-plugin" - if that gives an error, try a GCC
> which has been configured with --with-plugin-ld= pointing to a newer
> Binutils - 2.21 or newer. If that helps, it is a duplicate of PR60567.
I was able to (manually) reduce the test to
g++ -r -nostdlib src/.libs/liblog4cplus_la-rootlogger.ii -flto -o
.libs/cyglog4cplus-1-2-2.dll
The preprocessed file is attached compressed.
>
> If it doesn't help: Create a reduced test case as described at
> http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction#Reducing_LTO_bugs
More information about the Gcc-bugs
mailing list