[Bug ld/32991] "pushl main@GOT(%ebx)" is mishandled by older binutils

2025-05-22 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32991 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug ld/32991] "pushl main@GOT(%ebx)" is mishandled by older binutils

2025-05-22 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32991 --- Comment #4 from H.J. Lu --- (In reply to Sam James from comment #2) > We had a report of this as well but I wasn't sure if it was a bug. These > jumps happen with new relocation types at least. Please open a new bug report if it isn't the

[Bug ld/32991] "pushl main@GOT(%ebx)" is mishandled by older binutils

2025-05-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32991 H.J. Lu changed: What|Removed |Added Summary|"pushl main@GOT(%ebx)" is |"pushl main@GOT(%ebx)" is

[Bug ld/32991] New: "pushl main@GOT(%ebx)" is mishandled

2025-05-21 Thread hjl.tools at gmail dot com
ponent: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: i386 sysdeps/i386/start.S has # ifdef SHARED pushl main@GOT(%ebx) # else linker relaxed it to 22c: e9 cf ff ff ff jmp200

[Bug ld/32443] ABS symbol value depends on its visibility

2025-05-17 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32443 --- Comment #13 from H.J. Lu --- (In reply to Fangrui Song from comment #12) > (In reply to H.J. Lu from comment #11) > > Created attachment 16093 [details] > > The final patch > > > > This is the final patch. > > This patch applies code tra

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-16 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 H.J. Lu changed: What|Removed |Added Attachment #16097|0 |1 is obsolete|

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-16 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 H.J. Lu changed: What|Removed |Added Attachment #16096|0 |1 is obsolete|

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-16 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #26 from H.J. Lu --- (In reply to H.J. Lu from comment #25) > Created attachment 16096 [details] > A patch to add .pushuniqsect > > Please retry with .pushuniqsect. Jan proposed to use --sectname-subst. Does it work for you? --

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-16 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 H.J. Lu changed: What|Removed |Added Attachment #16095|0 |1 is obsolete|

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-15 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 H.J. Lu changed: What|Removed |Added Attachment #16087|0 |1 is obsolete|

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-15 Thread hjl.tools at gmail dot com
2025 at 07:15:14AM +, hjl.tools at gmail dot com > > > wrote: > > > > https://sourceware.org/bugzilla/show_bug.cgi?id=32961 > > > > > > > > --- Comment #8 from H.J. Lu --- > > > > (In reply to Zhiyuan Lv from comment #7)

[Bug binutils/21479] strip doesn't handle lto archives

2025-05-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21479 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug binutils/32967] nm: a-s.o: plugin needed to handle lto object

2025-05-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32967 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug binutils/32967] nm: a-s.o: plugin needed to handle lto object

2025-05-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32967 H.J. Lu changed: What|Removed |Added Assignee|unassigned at sourceware dot org |hjl.tools at gmail dot com

[Bug binutils/32967] New: nm: a-s.o: plugin needed to handle lto object

2025-05-14 Thread hjl.tools at gmail dot com
Component: binutils Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com CC: sam at gentoo dot org Target Milestone: --- [hjl@gnu-tgl-3 pr21479]$ cat a.c extern void foo1(void); void foo2(void) { foo1(); } void foo3(void) {} [hjl@gnu-tgl-3

[Bug ld/32443] ABS symbol value depends on its visibility

2025-05-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32443 H.J. Lu changed: What|Removed |Added Attachment #16090|0 |1 is obsolete|

[Bug ld/32443] ABS symbol value depends on its visibility

2025-05-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32443 H.J. Lu changed: What|Removed |Added Attachment #16089|0 |1 is obsolete|

[Bug ld/32443] ABS symbol value depends on its visibility

2025-05-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32443 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.45 -- You are receiving this mail becaus

[Bug ld/32443] ABS symbol value depends on its visibility

2025-05-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32443 H.J. Lu changed: What|Removed |Added Attachment #16088|0 |1 is obsolete|

[Bug ld/32443] ABS symbol value depends on its visibility

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32443 --- Comment #8 from H.J. Lu --- (In reply to H.J. Lu from comment #7) > (In reply to Stephen Kell from comment #5) > > > When compiler sees a hidden undefined symbol, it assumes that > > > it is defined somewhere else and it isn't an ABS symbo

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #19 from H.J. Lu --- (In reply to Zhiyuan Lv from comment #18) > (In reply to H.J. Lu from comment #16) > > (In reply to Zhiyuan Lv from comment #15) > > > (In reply to H.J. Lu from comment #14) > > > > Created attachment 16086 [de

[Bug ld/32443] ABS symbol value depends on its visibility

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32443 --- Comment #7 from H.J. Lu --- (In reply to Stephen Kell from comment #5) > > When compiler sees a hidden undefined symbol, it assumes that > > it is defined somewhere else and it isn't an ABS symbol. As > > the result, you won't get 0x2a. >

[Bug ld/32443] ABS symbol value depends on its visibility

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32443 H.J. Lu changed: What|Removed |Added Assignee|unassigned at sourceware dot org |hjl.tools at gmail dot com

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 H.J. Lu changed: What|Removed |Added Attachment #16086|0 |1 is obsolete|

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #16 from H.J. Lu --- (In reply to Zhiyuan Lv from comment #15) > (In reply to H.J. Lu from comment #14) > > Created attachment 16086 [details] > > A new patch > > > > Please use this one. > > I tested the latest patch here togeth

[Bug ld/32443] ABS symbol value depends on its visibility

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32443 --- Comment #4 from H.J. Lu --- (In reply to Stephen Kell from comment #3) > (In reply to H.J. Lu from comment #2) > > (In reply to Stephen Kell from comment #0) > > > $ grep . exe.c lib.c lib.lds > > > exe.c:extern void lib_func(void); > > >

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 H.J. Lu changed: What|Removed |Added Attachment #16084|0 |1 is obsolete|

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #13 from H.J. Lu --- (In reply to Zhiyuan Lv from comment #12) > Hi H.J., > > On Tue, May 13, 2025 at 07:15:14AM +, hjl.tools at gmail dot com wrote: > > https://sourceware.org/bugzilla/show_b

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #11 from H.J. Lu --- (In reply to Zhiyuan Lv from comment #9) > (In reply to H.J. Lu from comment #8) > > (In reply to Zhiyuan Lv from comment #7) > > > And, the GCC version I used is 14.2.0, which will generate per function > > >

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 H.J. Lu changed: What|Removed |Added Attachment #16083|0 |1 is obsolete|

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 H.J. Lu changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #8 from H.J. Lu --- (In reply to Zhiyuan Lv from comment #7) > And, the GCC version I used is 14.2.0, which will generate per function > section of "__patchable_function_entries". Thanks! Now, the question is if GCC should generat

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-12 Thread hjl.tools at gmail dot com
||2025-05-13 Assignee|unassigned at sourceware dot org |hjl.tools at gmail dot com Status|UNCONFIRMED |WAITING --- Comment #3 from H.J. Lu --- Created attachment 16082 --> https://sourceware.org/bugzilla/attachment.cgi?id=16082&action=edit

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-12 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #4 from H.J. Lu --- (In reply to Zhiyuan Lv from comment #2) > Thanks H.J. for the comments! > > (In reply to H.J. Lu from comment #1) > > (In reply to Zhiyuan Lv from comment #0) > > > > > > If all above is correct, could we cons

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-12 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.45 -- You are receiving this mail becaus

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-12 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 H.J. Lu changed: What|Removed |Added Attachment #16082|0 |1 is obsolete|

[Bug ld/32961] ".pushsection" may introduce unnecessary section dependency which impacts "--gc-sections"

2025-05-12 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32961 --- Comment #1 from H.J. Lu --- (In reply to Zhiyuan Lv from comment #0) > > If all above is correct, could we consider below two options? > > 1. Add a new type of ".pushsection", say, ".pushnewsection", which will > always create a new secti

[Bug ld/25749] Non-const relocation against SHN_ABS symbol in PIE or shared library should be disallowed

2025-05-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=25749 H.J. Lu changed: What|Removed |Added Depends on||32443 Referenced Bugs: https://sourceware

[Bug ld/32443] ABS symbol value depends on its visibility

2025-05-10 Thread hjl.tools at gmail dot com
||25749 CC||hjl.tools at gmail dot com Status|UNCONFIRMED |WAITING Last reconfirmed||2025-05-10 --- Comment #2 from H.J. Lu --- (In reply to Stephen Kell from comment #0) > Crea

[Bug binutils/32809] readelf doesn't dump .debug_loclists section correctly for 64-bit target and mixed dwarf4/5 content

2025-05-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32809 --- Comment #9 from H.J. Lu --- Also fixed on 2.43 and 2.44 branches. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/21479] strip doesn't handle lto archives

2025-05-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21479 --- Comment #14 from H.J. Lu --- (In reply to Sam James from comment #13) > For the non-fat case, we get: > > a.c > ``` > extern void foo1(void); > void foo2(void) { foo1(); } > void foo3(void) {} > ``` > > b.c: > ``` > extern void foo2(void

[Bug binutils/21479] strip doesn't handle lto archives

2025-05-04 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21479 H.J. Lu changed: What|Removed |Added Attachment #16068|0 |1 is obsolete|

[Bug binutils/21479] strip doesn't handle lto archives

2025-05-04 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21479 H.J. Lu changed: What|Removed |Added Attachment #16067|0 |1 is obsolete|

[Bug binutils/21479] strip doesn't handle lto archives

2025-05-03 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21479 H.J. Lu changed: What|Removed |Added Attachment #16066|0 |1 is obsolete|

[Bug binutils/21479] strip doesn't handle lto archives

2025-05-03 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21479 H.J. Lu changed: What|Removed |Added Attachment #16065|0 |1 is obsolete|

[Bug binutils/21479] strip doesn't handle lto archives

2025-05-03 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21479 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.45 -- You are receiving this mail becaus

[Bug binutils/21479] strip doesn't handle lto archives

2025-05-03 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21479 H.J. Lu changed: What|Removed |Added Attachment #16064|0 |1 is obsolete|

[Bug binutils/21479] strip doesn't handle lto archives

2025-05-03 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21479 H.J. Lu changed: What|Removed |Added Assignee|unassigned at sourceware dot org |hjl.tools at gmail dot com

[Bug binutils/32927] readelf --dwarf-check --debug-dump=Ranges produces nonsense warnings for DWARF 4 and DWARF5

2025-04-30 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32927 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug binutils/32927] readelf --dwarf-check --debug-dump=Ranges produces nonsense warnings for DWARF 4 and DWARF5

2025-04-29 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32927 --- Comment #3 from H.J. Lu --- Created attachment 16060 --> https://sourceware.org/bugzilla/attachment.cgi?id=16060&action=edit A patch Please try this. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/32927] readelf --dwarf-check --debug-dump=Ranges produces nonsense warnings for DWARF 4 and DWARF5

2025-04-29 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32927 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com

[Bug ld/32896] GNU ld does not enforce PT_TLS segment p_offset/p_vaddr congruity with p_align

2025-04-29 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32896 --- Comment #18 from H.J. Lu --- This is the current patch: https://sourceware.org/pipermail/binutils/2025-April/140767.html -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/32809] readelf doesn't dump .debug_loclists section correctly for 64-bit target and mixed dwarf4/5 content

2025-04-29 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32809 H.J. Lu changed: What|Removed |Added CC||fche at redhat dot com --- Comment #6 from

[Bug binutils/32926] binutils-gdb ld test with clang toolchain creates infinte looping readelf run

2025-04-29 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32926 H.J. Lu changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug ld/32896] GNU ld does not enforce PT_TLS segment p_offset/p_vaddr congruity with p_align

2025-04-29 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32896 --- Comment #16 from H.J. Lu --- (In reply to Matthew Malcomson from comment #14) > (In reply to H.J. Lu from comment #12) > > Created attachment 16054 [details] > > A patch > > > > Please try this one on the current master branch. > > It se

[Bug ld/32896] GNU ld does not enforce PT_TLS segment p_offset/p_vaddr congruity with p_align

2025-04-29 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32896 H.J. Lu changed: What|Removed |Added Attachment #16054|0 |1 is obsolete|

[Bug ld/32896] GNU ld does not enforce PT_TLS segment p_offset/p_vaddr congruity with p_align

2025-04-29 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32896 H.J. Lu changed: What|Removed |Added Attachment #16053|0 |1 is obsolete|

[Bug ld/32896] GNU ld does not enforce PT_TLS segment p_offset/p_vaddr congruity with p_align

2025-04-29 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32896 --- Comment #11 from H.J. Lu --- (In reply to Matthew Malcomson from comment #10) > (In reply to H.J. Lu from comment #9) > > (In reply to Matthew Malcomson from comment #8) > > > (In reply to H.J. Lu from comment #6) > > > > (In reply to Matt

[Bug ld/32896] GNU ld does not enforce PT_TLS segment p_offset/p_vaddr congruity with p_align

2025-04-29 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32896 --- Comment #9 from H.J. Lu --- (In reply to Matthew Malcomson from comment #8) > (In reply to H.J. Lu from comment #6) > > (In reply to Matthew Malcomson from comment #5) > > > I think that this proposed patch could allow putting the PT_TLS s

[Bug ld/32896] GNU ld does not enforce PT_TLS segment p_offset/p_vaddr congruity with p_align

2025-04-28 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32896 --- Comment #6 from H.J. Lu --- (In reply to Matthew Malcomson from comment #5) > I think that this proposed patch could allow putting the PT_TLS segment > offset past the end of the file (that I think was a problem in > https://sourceware.org

[Bug binutils/32809] readelf doesn't dump .debug_loclists section correctly for 64-bit target and mixed dwarf4/5 content

2025-04-28 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32809 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.45 Resolution|---

[Bug ld/32896] GNU ld does not enforce PT_TLS segment p_offset/p_vaddr congruity with p_align

2025-04-27 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32896 --- Comment #4 from H.J. Lu --- (In reply to Alan Modra from comment #3) > HJ's patch looks good except that the new test fails for me.. What is your target? > Also the comment needs tweaking. I'd suggest something like: > >

[Bug ld/32896] GNU ld does not enforce PT_TLS segment p_offset/p_vaddr congruity with p_align

2025-04-27 Thread hjl.tools at gmail dot com
|WAITING CC||hjl.tools at gmail dot com Last reconfirmed||2025-04-27 Version|unspecified |2.45 (HEAD) -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/32896] GNU ld does not enforce PT_TLS segment p_offset/p_vaddr congruity with p_align

2025-04-27 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32896 --- Comment #2 from H.J. Lu --- Created attachment 16053 --> https://sourceware.org/bugzilla/attachment.cgi?id=16053&action=edit A patch Please try this. -- You are receiving this mail because: You are on the CC list for the bug.

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

2025-04-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32846 --- Comment #10 from H.J. Lu --- A patch is posted at https://sourceware.org/pipermail/binutils/2025-April/140473.html -- You are receiving this mail because: You are on the CC list for the bug.

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

2025-04-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32846 --- Comment #9 from H.J. Lu --- (In reply to Sam James from comment #0) > Hi! > > Since ... > > commit 2707d55e539ef323dd14a1293e762bf3d9739ee7 > Author: Michael Matz > Date: Mon Mar 31 15:57:08 2025 +0200 > > [lto] Fix symlookup in

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

2025-04-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32846 H.J. Lu changed: What|Removed |Added Blocks||32854 Referenced Bugs: https://sourceware

[Bug ld/32854] Default versioned symbol in shared library is ignored with LTO

2025-04-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32854 H.J. Lu changed: What|Removed |Added Depends on||32846 Referenced Bugs: https://sourceware

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

2025-04-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32846 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug ld/32854] Default versioned symbol in shared library is ignored with LTO

2025-04-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32854 Bug 32854 depends on bug 32846, which changed state. Bug 32846 Summary: LTO link failures in various packages since 2707d55e539ef323dd14a1293e762bf3d9739ee7 https://sourceware.org/bugzilla/show_bug.cgi?id=32846 What|Removed

[Bug ld/32854] Default versioned symbol in shared library is ignored with LTO

2025-04-10 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32854 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug ld/32860] Definition of GCC builtin function in LTO archive is ignored

2025-04-09 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32860 H.J. Lu changed: What|Removed |Added Summary|Definition of GCC builtin |Definition of GCC builtin

[Bug ld/32860] New: Definition in the archive is ignored with LTO

2025-04-09 Thread hjl.tools at gmail dot com
Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- [hjl@gnu-tgl-3 lto-6]$ cat pr31482a.c #include int main() { abort (); return 0; } [hjl@gnu-tgl-3 lto-6]$ cat pr31482c.c #include #include void abort (void

[Bug ld/32860] Definition of GCC builtin function in the archive is ignored with LTO

2025-04-09 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32860 H.J. Lu changed: What|Removed |Added Summary|Definition in the archive |Definition of GCC builtin

[Bug ld/32854] New: Default versioned symbol in shared library is ignored with LTO

2025-04-08 Thread hjl.tools at gmail dot com
Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- when a shared library defines 'foo@@FOO' (default version), a static archive defines 'foo', the shared lib c

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

2025-04-08 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32846 --- Comment #8 from H.J. Lu --- (In reply to Michael Matz from comment #7) > Ultimately first_hash was introduced for what really is a bug in the compiler > (pr31482, where the LTO .o files don't contain a reference to abort in their > symbol

[Bug gas/32813] Missing REX prefix for LSL

2025-04-05 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32813 --- Comment #3 from H.J. Lu --- (In reply to Andreas Abel from comment #2) > Yes, it causes issues in > https://github.com/andreas-abel/nanoBench/tree/master/tools/cpuBench, which > is the code that generates the benchmarks that are behind > h

[Bug gprof/32779] tst-gmon-gprof-l.sh failure when -g isn't used

2025-04-05 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32779 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug ld/32816] --{undefined,--require-defined} appears to fail against shared libraries

2025-04-04 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32816 --- Comment #3 from H.J. Lu --- (In reply to Aliaksey Kandratsenka from comment #2) > As noted above, I have tried --no-as-needed. And yes it kinda "works", but > it is not great. > > There several imperfections with --no-as-needed: > > *)

[Bug gas/32813] Missing REX prefix for LSL

2025-04-04 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32813 --- Comment #7 from H.J. Lu --- (In reply to Andreas Abel from comment #5) > If it is not a bug, but a conscious choice to prefer the form without the > REX prefix to optimize the instruction size, I would expect that > `{nooptimize} LSL RCX,

[Bug gas/32811] nooptimize doesn't apply to immediates

2025-03-29 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32811 H.J. Lu changed: What|Removed |Added Status|WAITING |RESOLVED Target Milestone|---

[Bug gas/32813] Missing REX prefix for LSL

2025-03-27 Thread hjl.tools at gmail dot com
||2025-03-23 Ever confirmed|0 |1 CC||hjl.tools at gmail dot com --- Comment #1 from H.J. Lu --- Does the current behavior cause any issues in actual codes? -- You are receiving this mail because: You are on

[Bug ld/32816] --{undefined,--require-defined} appears to fail against shared libraries

2025-03-27 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32816 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug gas/32811] nooptimize doesn't apply to immediates

2025-03-27 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32811 H.J. Lu changed: What|Removed |Added CC||haochen.jiang at intel dot com Ever con

[Bug binutils/32809] readelf doesn't dump .debug_loclists section correctly for 64-bit target and mixed dwarf4/5 content

2025-03-25 Thread hjl.tools at gmail dot com
|NEW Ever confirmed|0 |1 CC||hjl.tools at gmail dot com --- Comment #2 from H.J. Lu --- A patch is posted at https://sourceware.org/pipermail/binutils/2025-March/140085.html -- You are receiving this

[Bug gas/32813] Missing REX prefix for LSL

2025-03-25 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32813 --- Comment #6 from H.J. Lu --- (In reply to Andreas Abel from comment #4) > Yes, I could add workarounds to my code, but it would be preferable if this > could be fixed at the source. Earlier versions of gas correctly added the > REX prefix,

[Bug gas/32811] nooptimize doesn't apply to immediates

2025-03-22 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32811 --- Comment #5 from H.J. Lu --- (In reply to Andi Kleen from comment #4) > Looks good to me thanks. > > Except should there be an error if the immediate exceeds imm8 or imm16? It is a hint, not a hard requirement. -- You are receiving this

[Bug gas/32811] nooptimize doesn't apply to immediates

2025-03-22 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32811 H.J. Lu changed: What|Removed |Added Assignee|unassigned at sourceware dot org |hjl.tools at gmail dot com

[Bug gas/32811] nooptimize doesn't apply to immediates

2025-03-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32811 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com -- You are

[Bug ld/32807] x86-64 test pr19636-3d is not run and would fail

2025-03-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32807 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug ld/32787] --build-id produces broken elf

2025-03-17 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32787 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ld/32787] --build-id produces broken elf

2025-03-15 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32787 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.45 -- You are receiving this mail becaus

[Bug ld/32787] --build-id produces broken elf

2025-03-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32787 --- Comment #3 from H.J. Lu --- Fixed for 2.45 so far. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/32787] --build-id produces broken elf

2025-03-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32787 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug gprof/32779] New: tst-gmon-gprof-l.sh failure when -g isn't used

2025-03-11 Thread hjl.tools at gmail dot com
y: P2 Component: gprof Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- When binutils is compiled without -g, I got -- expected +++ actual @@ -1,3 +1,3 @@ -25 f1 2000 -31 f2 1000 -40 f3 1 +0 f1 2000 +0 f2 1000 +0 f3 1 FAIL m

[Bug binutils/32773] New: Test failures when -flto is used

2025-03-09 Thread hjl.tools at gmail dot com
Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- When binutils is configured with $ CC="gcc" CXX="g++" CFLAGS="-O2 -g -flto" CXXFLAGS="-O2 -g -flto" .../configure I got /export/

[Bug gprof/32768] tst-gmon failure on x86_64

2025-03-08 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32768 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug gprof/32768] tst-gmon failure on x86_64

2025-03-08 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32768 --- Comment #7 from H.J. Lu --- (In reply to Alan Modra from comment #0) > Disassembly of f1 and f2 shows the expected calls are there, it's just > that gprof miscategorises the f2->f1 call as f1->f1. > > 00401196 : > 401196:

[Bug gprof/32768] tst-gmon failure on x86_64

2025-03-08 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32768 H.J. Lu changed: What|Removed |Added Assignee|unassigned at sourceware dot org |hjl.tools at gmail dot com

[Bug gprof/32768] tst-gmon failure on x86_64

2025-03-07 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32768 --- Comment #1 from H.J. Lu --- Which compiler was used? -- You are receiving this mail because: You are on the CC list for the bug.

  1   2   3   4   5   6   7   8   9   10   >