[Bug ld/17117] New: assertion fail elf32-i386.c:4016

2014-07-05 Thread amonakov at gmail dot com
Assignee: unassigned at sourceware dot org Reporter: amonakov at gmail dot com Created attachment 7680 --> https://sourceware.org/bugzilla/attachment.cgi?id=7680&action=edit repro input When trying to build pixman with -mtls-dialect=gnu2, ld produces assertion failure whi

[Bug ld/17117] [2.23 Regression] assertion fail elf32-i386.c:4016 with GNU2 TLS

2014-07-11 Thread amonakov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17117 Alexander Monakov changed: What|Removed |Added CC||hjl.tools at gmail dot com

[Bug ld/17057] Production of DSOs using TLSDESC is utterly broken on i386

2014-07-11 Thread amonakov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17057 Alexander Monakov changed: What|Removed |Added See Also||https://sourceware.org/bugz

[Bug ld/18841] New: Data relocations with IFUNC symbols can lead to segfault

2015-08-17 Thread amonakov at gmail dot com
Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: amonakov at gmail dot com CC: hjl.tools at gmail dot com Target Milestone: --- In the following testcase, libfoo.so is compiled so that it has GLOB_DAT relocations

[Bug ld/18841] Data relocations with IFUNC symbols can lead to segfault

2015-08-18 Thread amonakov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18841 --- Comment #5 from Alexander Monakov --- Does it still fail with the change you mentioned in comment #2? > 2. Make pz file scope causes it to fail with gold and ld -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/18829] Add the ability to sort PLT entries

2015-08-21 Thread amonakov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18829 Alexander Monakov changed: What|Removed |Added CC||amonakov at gmail dot com

[Bug ld/21557] New: __start_SCN not provided if SCN used in linker script

2017-06-08 Thread amonakov at gmail dot com
Component: ld Assignee: unassigned at sourceware dot org Reporter: amonakov at gmail dot com Target Milestone: --- It appears that automagic provision of __start_/__stop_SCN symbol names doesn't work in BFD linker (works in Gold) if the section in que

[Bug ld/21557] __start_SCN not provided if SCN used in linker script

2017-06-09 Thread amonakov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21557 --- Comment #2 from Alexander Monakov --- Thanks for the reference, I was missing that this handling is explicitly limited to orphan sections. This makes my testcase invalid, but please consider that current linker behavior appears inconsisten

[Bug ld/21562] New: Refs to __start_SCN of non-orphan sections affect --gc-sections

2017-06-09 Thread amonakov at gmail dot com
: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: amonakov at gmail dot com Target Milestone: --- (originally mentioned in bug 21557) Linker manual explicitly states that __start_SCN symbols are automatically provided

[Bug ld/21557] __start_SCN not provided if SCN used in linker script

2017-06-09 Thread amonakov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21557 --- Comment #4 from Alexander Monakov --- > Please open a new bug report. Done, bug 21562. Now I see that to use __start_SCN together with linker scripts and --gc-sections, one should put the PROVIDE statement inside of the output section de

[Bug ld/21562] Refs to __start_SCN of non-orphan sections affect --gc-sections

2017-06-10 Thread amonakov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21562 --- Comment #5 from Alexander Monakov --- The patch looks wrong, it appears to ensure that __start_scnfoo is defined. The linker manual says it shouldn't get defined (scnfoo is not orphan), and therefore scnfoo should be eliminated due to --gc

[Bug ld/21562] Refs to __start_SCN of non-orphan sections affect --gc-sections

2017-06-11 Thread amonakov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21562 --- Comment #7 from Alexander Monakov --- (In reply to H.J. Lu from comment #6) > I posted a patch to always define referenced __start_SECNAME/__stop_SECNAME: That's quite confusing, because originally bug 21557 (wrongly) complained about tho

[Bug ld/21571] --gc-sections doesn't work with PROVIDE in linker script

2017-06-13 Thread amonakov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21571 Alexander Monakov changed: What|Removed |Added CC||amonakov at gmail dot com

[Bug gas/29551] Wrong relocations against _GLOBAL_OFFSET_TABLE_

2022-09-07 Thread amonakov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29551 Alexander Monakov changed: What|Removed |Added CC||amonakov at gmail dot com

[Bug gold/22566] New: --gc-sections preserves hidden symbols if initial definition has default visibility

2017-12-07 Thread amonakov at gmail dot com
Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: amonakov at gmail dot com CC: ian at airs dot com Target Milestone: --- ELF spec states that the most constraining visibility is taken from

[Bug ld/22649] New: -gc-sections preserves hidden symbols that are also visible in dynamic objects

2017-12-29 Thread amonakov at gmail dot com
Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: amonakov at gmail dot com Target Milestone: --- Consider the follow testcase with two shared libraries: $ cat > lib1.s .globl foo foo: $ cat >

[Bug gold/22694] [2.30 Regression] -fuse-ld=gold not recognized

2018-01-15 Thread amonakov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22694 Alexander Monakov changed: What|Removed |Added CC||amonakov at gmail dot com

[Bug gold/23411] Different behavior when linking common symbol statically or to shared object

2018-07-13 Thread amonakov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23411 Alexander Monakov changed: What|Removed |Added CC||amonakov at gmail dot com

[Bug gold/23411] Different behavior when linking common symbol statically or to shared object

2018-07-16 Thread amonakov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23411 --- Comment #7 from Alexander Monakov --- BFD's behavior becomes very problematic with LTO: archive index does not distinguish between normal and common definitions, and there's no explicit plugin API to check if a definition in IR is "common"

[Bug gold/23411] Different behavior when linking common symbol statically or to shared object

2018-07-16 Thread amonakov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23411 --- Comment #9 from Alexander Monakov --- (In reply to Cary Coutant from comment #8) > Is that a problem we really need to worry > about? The only real issue with including an otherwise-unneeded object > is the potential violation of the lang

[Bug ld/23935] [Regression] ld.bfd does not rescan fat LTO archives to resolve plugin-added references

2018-12-03 Thread amonakov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23935 Alexander Monakov changed: What|Removed |Added CC||amonakov at gmail dot com

[Bug ld/27119] ld improperly relocates function address, creating an invalid pointer

2020-12-29 Thread amonakov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27119 Alexander Monakov changed: What|Removed |Added CC||amonakov at gmail dot com

[Bug ld/32846] LTO link failures in various packages since 2707d55e539ef323dd14a1293e762bf3d9739ee7

2025-04-08 Thread amonakov at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32846 Alexander Monakov changed: What|Removed |Added CC||amonakov at gmail dot com