[Bug gold/12488] plugins don't support linkonce

2019-09-26 Thread constantoverride+has_gnu_ld_gold_sourceware_bugzilla_gnubugzilla at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=12488

howaboutsynergy 
 changed:

   What|Removed |Added

 CC||constantoverride+has_gnu_ld
   ||_gold_sourceware_bugzilla_g
   ||nubugzilla at gmail dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/12488] plugins don't support linkonce

2016-03-27 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=12488

Cary Coutant  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #8 from Cary Coutant  ---
> I noticed that the real problem is that plugins don't support linkonce. We
> select the symbol from the IL file but the section from the elf file :-)
> 
> Shouldn't be too hard to add support, but I will try to get LLVM to use
> comdat instead.
> 
> Should I close as wontfix?

Yeah, I think comdat is the right way to go.

BTW, with plugin_test.so, it doesn't recognize comdat symbols from the .syms
file, but if you add the comdat key as a --plugin-opt, it will special-case a
symbol of the same name. Limited use, but sufficient for the test cases.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/12488] plugins don't support linkonce

2012-05-10 Thread vincenzo.innocente at cern dot ch
http://sourceware.org/bugzilla/show_bug.cgi?id=12488

Vincenzo Innocente vincenzo.innocente at cern dot ch changed:

   What|Removed |Added

 CC||vincenzo.innocente at cern
   ||dot ch

--- Comment #6 from Vincenzo Innocente vincenzo.innocente at cern dot ch 
2012-05-10 07:14:48 UTC ---
with
GNU gold (GNU Binutils 2.21.1) 1.11
and
gcc-4_7-branch revision 187326

with linker-plugin enabled I get this type of errors
ld: error: hidden symbol
'_ZThn16_N5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_errorEEED0Ev'
is not defined locally
ld: /tmp/innocent/ccggD26x.ltrans8.ltrans.o: in function
_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorISt11logic_error.local.4390:ccggD26x.ltrans8.o(.data.rel.ro+0x1558):
warning: relocation refers to discarded section
does not occur w/o linker-plugin

is the problem on gcc or gold side?
(posted also on http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47247)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/12488] plugins don't support linkonce

2012-05-10 Thread ian at airs dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12488

--- Comment #7 from Ian Lance Taylor ian at airs dot com 2012-05-11 03:59:50 
UTC ---
This bug report is specifically about plugins and linkonce.  Please don't add
separate bug reports to this one.  Instead, open a new bug report.  Thanks.

Without a test case it's impossible to be sure, but I think hidden symbol is
not defined locally is more likely to be a GCC problem.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/12488] plugins don't support linkonce

2011-02-14 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12488

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

   What|Removed |Added

 CC||hjl.tools at gmail dot com

--- Comment #5 from H.J. Lu hjl.tools at gmail dot com 2011-02-14 14:48:24 
UTC ---
Is this related to

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47247

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/12488] plugins don't support linkonce

2011-02-13 Thread rafael.espindola at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12488

Rafael Ávila de Espíndola rafael.espindola at gmail dot com changed:

   What|Removed |Added

Summary|Fails with plugins and  |plugins don't support
   |weak, hidden symbols|linkonce

--- Comment #4 from Rafael Ávila de Espíndola rafael.espindola at gmail dot 
com 2011-02-14 06:36:37 UTC ---
I noticed that the real problem is that plugins don't support linkonce. We
select the symbol from the IL file but the section from the elf file :-)

Shouldn't be too hard to add support, but I will try to get LLVM to use comdat
instead.

Should I close as wontfix?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils