[Bug lto/48725] 4.6.0 fails to link p7zip 9.20.1 with LTO and gold

2011-06-29 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48725

Ian Lance Taylor ian at airs dot com changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 CC||ian at airs dot com
 Resolution||WORKSFORME

--- Comment #7 from Ian Lance Taylor ian at airs dot com 2011-06-29 21:30:23 
UTC ---
As noted on the gold bug report
http://sourceware.org/bugzilla/show_bug.cgi?id=12695, I have not been able to
recreate the problem with gold.

However, any problem here is clearly a gold problem, and I don't see any reason
to keep this gcc bug report open.


[Bug lto/48725] 4.6.0 fails to link p7zip 9.20.1 with LTO and gold

2011-05-10 Thread gmarkhor at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48725

--- Comment #6 from Vadim Markovtsev gmarkhor at gmail dot com 2011-05-10 
11:01:14 UTC ---
(In reply to comment #5)
 (In reply to comment #4)
  Does it work with BFD linker in CVS?
 
 I will check that out tomorrow.

Sorry for such a delay,

I checked out binutils from CVS on May, 10. p7zip is built flawlessly with the
BFD linker. The gold linker (when building with LTO) fails the same way.


[Bug lto/48725] 4.6.0 fails to link p7zip 9.20.1 with LTO and gold

2011-04-25 Thread gmarkhor at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48725

--- Comment #3 from Vadim Markovtsev gmarkhor at gmail dot com 2011-04-25 
09:47:25 UTC ---
BTW, gold fails to link if used in a similar way in LLVM LTO, so it is likely
not a GCC bug.


[Bug lto/48725] 4.6.0 fails to link p7zip 9.20.1 with LTO and gold

2011-04-25 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48725

H.J. Lu hjl.tools at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2011.04.25 14:51:25
 CC||hjl.tools at gmail dot com
 Ever Confirmed|0   |1

--- Comment #4 from H.J. Lu hjl.tools at gmail dot com 2011-04-25 14:51:25 
UTC ---
Does it work with BFD linker in CVS?


[Bug lto/48725] 4.6.0 fails to link p7zip 9.20.1 with LTO and gold

2011-04-25 Thread gmarkhor at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48725

--- Comment #5 from Vadim Markovtsev gmarkhor at gmail dot com 2011-04-25 
16:06:25 UTC ---
(In reply to comment #4)
 Does it work with BFD linker in CVS?

I will check that out tomorrow.


[Bug lto/48725] 4.6.0 fails to link p7zip 9.20.1 with LTO and gold

2011-04-22 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48725

--- Comment #1 from Jan Hubicka hubicka at ucw dot cz 2011-04-22 12:56:21 UTC 
---
 /.../x86_64-gcc-4.6.0/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../x86_64-unknown-linux-gnu/bin/ld.gold:
 internal error in symtab_section, at ../../gold/layout.h:684
 collect2: ld returned 1 exit status
 make[1]: *** [../../../../bin/7z.so] Error 1

This is ICE in gold.  Might be becase GCC produces something particularly evil,
but gold should not ICE.
Can you, please, fill in binutils bug?

Honza
 
 
 With -fuse-linker-plugin added, I get the same error. It seems like a bug in
 LTO.


[Bug lto/48725] 4.6.0 fails to link p7zip 9.20.1 with LTO and gold

2011-04-22 Thread gmarkhor at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48725

--- Comment #2 from Vadim Markovtsev gmarkhor at gmail dot com 2011-04-22 
13:12:17 UTC ---
 Can you, please, fill in binutils bug?

Done. The link to it is http://sourceware.org/bugzilla/show_bug.cgi?id=12695