This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/57715] lto1.exe: internal compiler error: in add_symbol_to_partition
- From: "vhaisman at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 21 Mar 2014 15:02:26 +0000
- Subject: [Bug lto/57715] lto1.exe: internal compiler error: in add_symbol_to_partition
- Auto-submitted: auto-generated
- References: <bug-57715-4 at http dot gcc dot gnu dot org/bugzilla/>
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