[Bug ld/33453] [BUG] A heap-buffer-overflow in _bfd_elf_write_section_eh_frame at elf-eh-frame.c:1996

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

[Bug ld/33454] [BUG] A SEGV in sec_merge_emit at merge.c:539

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

[Bug ld/33450] [BUG] A SEGV in get_link_hash_entry at elflink.c:115

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

[Bug ld/33457] [BUG] A heap-buffer-overflow in cache_bwrite at cache.c:435

2025-09-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33457 --- Comment #7 from H.J. Lu --- *** Bug 33449 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/33449] [BUG] A SEGV in _bfd_elf_eh_frame_section_offset at elf-eh-frame.c:1813

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

[Bug ld/33452] [BUG] A SEGV in bfd_elf_gc_record_vtentry at elflink.c:14898

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

[Bug ld/33457] [BUG] A heap-buffer-overflow in cache_bwrite at cache.c:435

2025-09-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33457 --- Comment #6 from H.J. Lu --- *** Bug 33452 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/33457] [BUG] A heap-buffer-overflow in cache_bwrite at cache.c:435

2025-09-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33457 --- Comment #5 from H.J. Lu --- *** Bug 33450 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/33457] [BUG] A heap-buffer-overflow in cache_bwrite at cache.c:435

2025-09-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33457 --- Comment #4 from H.J. Lu --- *** Bug 33454 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/33455] [BUG] A SEGV in vfinfo at ldmisc.c:527

2025-09-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33455 --- Comment #1 from H.J. Lu --- Created attachment 16357 --> https://sourceware.org/bugzilla/attachment.cgi?id=16357&action=edit A patch Try this. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/33457] [BUG] A heap-buffer-overflow in cache_bwrite at cache.c:435

2025-09-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33457 --- Comment #3 from H.J. Lu --- *** Bug 33453 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/33456] [BUG] A heap-buffer-overflow in bfd_putl64 at libbfd.c:989

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

[Bug ld/33457] [BUG] A heap-buffer-overflow in cache_bwrite at cache.c:435

2025-09-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33457 --- Comment #2 from H.J. Lu --- *** Bug 33456 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/33457] [BUG] A heap-buffer-overflow in cache_bwrite at cache.c:435

2025-09-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33457 --- Comment #1 from H.J. Lu --- Created attachment 16356 --> https://sourceware.org/bugzilla/attachment.cgi?id=16356&action=edit A patch Try this. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/33458] [BUG] A SEGV in _bfd_elf_strtab_delref at elf-strtab.c:200

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

[Bug ld/33451] [BUG] A SEGV in elf_x86_allocate_dynrelocs at elfxx-x86.c:329

2025-09-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33451 --- Comment #2 from H.J. Lu --- *** Bug 33458 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/33451] [BUG] A SEGV in elf_x86_allocate_dynrelocs at elfxx-x86.c:329

2025-09-18 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33451 --- Comment #1 from H.J. Lu --- Created attachment 16355 --> https://sourceware.org/bugzilla/attachment.cgi?id=16355&action=edit A patch Try this. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/33427] New: assertion fail /export/build/gnu/tools-build/glibc-many/src/binutils/bfd/elfnn-loongarch.c:4404

2025-09-17 Thread hjl.tools at gmail dot com
) Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com CC: jsm28 at gcc dot gnu.org, liuzhensong at loongson dot cn Target Milestone

[Bug ld/33408] New: Misleading linker error message for R_X86_64_TPOFF32

2025-09-17 Thread hjl.tools at gmail dot com
Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: x86 [hjl@gnu-cfl-3 tls-5]$ cat x.c __attribute__ ((tls_model ("local-exec"))) __thread int i; int * foo (void) { return &

[Bug ld/33429] R_68K_TLS_LE16 overflow for undefined weak symbol in static executable

2025-09-15 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33429 --- Comment #11 from H.J. Lu --- (In reply to Joseph Myers from comment #10) > No, just resolve the relocations by writing 0 in the relocated bits in the > case of an undefined weak symbol. > Someone needs to fix the m68k linker and verify t

[Bug ld/33429] R_68K_TLS_LE16 overflow for undefined weak symbol in static executable

2025-09-15 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33429 --- Comment #9 from H.J. Lu --- (In reply to Joseph Myers from comment #8) > Created attachment 16340 [details] > TLS ABI > > The ABI (attached) expects -mxtls to be used for LD and LE TLS access with a > TLS area too large for 16-bit offsets

[Bug ld/33429] R_68K_TLS_LE16 overflow for undefined weak symbol in static executable

2025-09-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33429 --- Comment #7 from H.J. Lu --- (In reply to Florian Weimer from comment #6) > (In reply to H.J. Lu from comment #5) > > (In reply to Florian Weimer from comment #4) > > > It's probably time to remove coldfire support from glibc. There's at le

[Bug ld/33429] R_68K_TLS_LE16 overflow for undefined weak symbol in static executable

2025-09-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33429 --- Comment #5 from H.J. Lu --- (In reply to Florian Weimer from comment #4) > It's probably time to remove coldfire support from glibc. There's at least > one other GCC issue that comes and goes randomly, causing glibc build > failures. > >

[Bug ld/33429] R_68K_TLS_LE16 overflow for undefined weak symbol in static executable

2025-09-14 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33429 H.J. Lu changed: What|Removed |Added CC||fweimer at redhat dot com --- Comment #3 fr

[Bug ld/33429] R_68K_TLS_LE16 overflow for undefined weak symbol in static executable

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

[Bug ld/33429] R_68K_TLS_LE16 overflow for undefined weak symbol in static executable

2025-09-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33429 H.J. Lu changed: What|Removed |Added Target|m68k|m68k-coldfire --- Comment #2 from H.J. Lu

[Bug ld/33429] R_68K_TLS_LE16 overflow for undefined weak symbol in static executable

2025-09-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33429 H.J. Lu changed: What|Removed |Added CC||sch...@linux-m68k.org --- Comment #1 from H

[Bug ld/33429] New: R_68K_TLS_LE16 overflow for undefined weak symbol in static executable

2025-09-13 Thread hjl.tools at gmail dot com
: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com CC: jsm28 at gcc dot gnu.org Target Milestone: --- Target: m68k The range of R_68K_TLS_LE16 is very limited

[Bug ld/33427] assertion fail /export/build/gnu/tools-build/glibc-many/src/binutils/bfd/elfnn-loongarch.c:4404

2025-09-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33427 --- Comment #1 from H.J. Lu --- Created attachment 16339 --> https://sourceware.org/bugzilla/attachment.cgi?id=16339&action=edit A patch This allows me to build glibc. -- You are receiving this mail because: You are on the CC list for the

[Bug gas/33426] Undefined TLS symbol is marked as NOTYPE

2025-09-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33426 H.J. Lu changed: What|Removed |Added Summary|Undefined hidden TLS symbol |Undefined TLS symbol is |

[Bug gas/33426] Undefined hidden TLS symbol is marked as NOTYPE

2025-09-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33426 --- Comment #1 from H.J. Lu --- Created attachment 16338 --> https://sourceware.org/bugzilla/attachment.cgi?id=16338&action=edit A patch -- You are receiving this mail because: You are on the CC list for the bug.

[Bug gas/33426] New: Undefined hidden TLS symbol is marked as NOTYPE

2025-09-13 Thread hjl.tools at gmail dot com
Component: gas Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com CC: jsm28 at gcc dot gnu.org, shorne at gmail dot com Target Milestone: --- Target: or1k [hjl@gnu-zen4-1 gas]$ cat /tmp/y.s .text l.movhi r27

[Bug ld/33408] Misleading linker error message for R_X86_64_TPOFF32

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

[Bug binutils/33396] testsuite/binutils-all/objdump.exp requires GNU tail

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

[Bug ld/33409] Check for 1_NEEDED note when emitting relocation error

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

[Bug ld/33409] Check for 1_NEEDED note when emitting relocation error

2025-09-09 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33409 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING --- Comment #3 from H.J. Lu --- (I

[Bug binutils/33396] testsuite/binutils-all/objdump.exp requires GNU tail

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

[Bug binutils/33389] objdump disassembles PLT0 as data

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

[Bug ld/33374] Solaris x86 doesn't support -melf_x86_64 nor -melf_i386 emulations

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

[Bug ld/33397] GENSCRIPTS isn't safe for parallel build

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

[Bug ld/33397] New: GENSCRIPTS isn't safe for parallel build

2025-09-07 Thread hjl.tools at gmail dot com
onent: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- Makefile.am has GENSCRIPTS = $(SHELL) $(srcdir)/genscripts.sh "${srcdir}" "${libdir}" "${prefix}" "${exec_prefix}" @host@ @targ

[Bug ld/33374] New: Solaris x86 doesn't support -melf_x86_64 nor -melf_i386 emulations

2025-09-07 Thread hjl.tools at gmail dot com
erity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: Solaris x86 [hjl@gnu-cfl-3 ld]$ touch x.c [hjl@gnu-cfl-3 ld]$ gcc -c x.c [hjl@gnu-cfl-3 ld]$ ./ld-n

[Bug binutils/33368] readelf --got doesn't work on /opt/google/chrome/chrome

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

[Bug binutils/33349] readelf lacks PLT support

2025-09-07 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33349 --- Comment #4 from H.J. Lu --- (In reply to Rainer Orth from comment #2) > > --- Comment #1 from H.J. Lu --- > > Created attachment 16307 [details] > > --> https://sourceware.org/bugzilla/attachment.cgi?id=16307&action=edit > > A patch > >

[Bug binutils/33396] New: testsuite/binutils-all/objdump.exp requires GNU tail

2025-09-07 Thread hjl.tools at gmail dot com
Component: binutils Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- testsuite/binutils-all/objdump.exp has set got [remote_exec host "tail -n +4 tmpdir/objdump.out" "" "/dev/null" "tmp

[Bug ld/33374] Solaris x86 doesn't support -melf_x86_64 nor -melf_i386 emulations

2025-09-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33374 --- Comment #2 from H.J. Lu --- Created attachment 16319 --> https://sourceware.org/bugzilla/attachment.cgi?id=16319&action=edit A patch Here is a patch to use generic x86 targets for Solaris. -- You are receiving this mail because: You a

[Bug binutils/33389] New: objdump disassembles PLT0 as data

2025-09-06 Thread hjl.tools at gmail dot com
Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- If a shared library has [hjl@gnu-cfl-3 solaris]$ readelf -D -sW x.so | grep _PROCEDURE_LINKAGE_TABLE_ 3: 02c0 0 OBJECT GLOBAL DEFAULT5

[Bug binutils/19938] objcopy breaks sh_link and sh_info of SHT_SUNW_LDYNSYM and SHT_SUNW_symsort sections

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

[Bug binutils/19938] objcopy breaks sh_link and sh_info of SHT_SUNW_LDYNSYM and SHT_SUNW_symsort sections

2025-09-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19938 H.J. Lu changed: What|Removed |Added Status|REOPENED|NEW --- Comment #32 from H.J. Lu --- (In r

[Bug binutils/19938] objcopy breaks sh_link and sh_info of SHT_SUNW_LDYNSYM and SHT_SUNW_symsort sections

2025-09-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19938 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug ld/33374] Solaris x86 doesn't support -melf_x86_64 nor -melf_i386 emulations

2025-09-05 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33374 H.J. Lu changed: What|Removed |Added CC||ro at CeBiTec dot Uni-Bielefeld.DE

[Bug ld/33374] Solaris x86 doesn't support -melf_x86_64 nor -melf_i386 emulations

2025-09-05 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33374 --- Comment #1 from H.J. Lu --- One option is to drop Solaris emulation and enable Solaris features via command-line options. When binutils is configured for Solaris targets, these features are enabled by default. This will require some code

[Bug binutils/27666] ar doesn't create indices on Solaris/sparcv9

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

[Bug binutils/33349] readelf lacks PLT support

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

[Bug binutils/33368] readelf --got doesn't work on /opt/google/chrome/chrome

2025-09-03 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33368 --- Comment #1 from H.J. Lu --- Only the GNU linker properly sets sh_entsize on PLT and GOT sections: [hjl@gnu-cfl-3 readelf-2]$ ld.gold -o gold.so -shared foo.o [hjl@gnu-cfl-3 readelf-2]$ readelf -SW gold.so | grep -E "plt|got" [ 5] .rela.

[Bug ld/33369] New: Wrong sh_entsize on .plt

2025-09-03 Thread hjl.tools at gmail dot com
Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: i386 elf_i386_finish_dynamic_sections has /* UnixWare sets the entsize of .plt to 4, although that doesn't really seem like the right

[Bug binutils/33368] New: readelf --got doesn't work on /opt/google/chrome/chrome

2025-09-03 Thread hjl.tools at gmail dot com
ormal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- [hjl@gnu-cfl-3 tmp]$ readelf --got /opt/google/chrome/chrome Floating point exception (core dumped) [hjl@gnu-cfl-3 tmp]$ readel

[Bug binutils/33349] readelf lacks PLT support

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

[Bug binutils/33328] "readelf -D -r" doesn't include DT_RELR

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

[Bug binutils/33358] Incorrect PLT check

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

[Bug binutils/33351] binutils/readelf.c:21026:3: runtime error: null pointer passed as argument 1, which is declared to never be null

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

[Bug ld/33344] cannot strip(1) .eh_frame_hdr and .eh_frame sections anymore

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

[Bug binutils/33328] "readelf -D -r" doesn't include DT_RELR

2025-09-02 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33328 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug binutils/33358] New: Incorrect PLT check

2025-09-02 Thread hjl.tools at gmail dot com
Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: x86 elf_x86_64_get_synthetic_symtab has /* Match lazy PLT first. Need to check the first two instructions. */ if ((memcmp

[Bug binutils/33351] binutils/readelf.c:21026:3: runtime error: null pointer passed as argument 1, which is declared to never be null

2025-09-01 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33351 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.46 --- Comment #4 from H.J. Lu --- A pat

[Bug ld/33344] cannot strip(1) .eh_frame_hdr and .eh_frame sections anymore

2025-08-31 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33344 --- Comment #4 from H.J. Lu --- (In reply to H.J. Lu from comment #3) > (In reply to Rin Okuyama from comment #0) > > You can see the size of segment is not changed at all. This results in > > regression of stripped-binary sizes for NetBSD. >

[Bug ld/33344] cannot strip(1) .eh_frame_hdr and .eh_frame sections anymore

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

[Bug ld/33287] GNU TLS binary may not work on Linux

2025-08-30 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33287 --- Comment #4 from H.J. Lu --- (In reply to Sam James from comment #3) > richi would like to make GCC configure fatal by default unless users have > safe glibc or explicitly ask for =gnu (see > https://inbox.sourceware.org/gcc-patches/ > CAFi

[Bug binutils/33328] "readelf -D -r" doesn't include DT_RELR

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

[Bug binutils/28387] ld: Move R_*_TLSDESC to .rela.dyn

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

[Bug ld/33314] CPython crashes when built on arm with -mtls-dialect=gnu2 and linked with bfd

2025-08-26 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33314 --- Comment #14 from H.J. Lu --- (In reply to Alexander Monakov from comment #12) > Looks like libpython.3.15.so from the attachment in comment 1 is mislinked. > > readelf -rR.got 33314/libpython3.15.so.1.0 > > we have > > 00463b48 000

[Bug binutils/33328] New: "readelf -D -r" doesn't include DT_RELR

2025-08-26 Thread hjl.tools at gmail dot com
Component: binutils Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- [hjl@gnu-cfl-3 ld]$ cat x.s .data .p2align 3 .globl data data: .dc.a __ehdr_start + 2 .dc.a __ehdr_start +

[Bug gas/33327] New: entsize doesn't work with unique

2025-08-26 Thread hjl.tools at gmail dot com
: gas Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com CC: jbeulich at suse dot com Target Milestone: --- hjl@gnu-cfl-3 tmp]$ cat y.s .section .foo, "aw", %progbits,unique,0 .zero 6 .section .foo,

[Bug ld/33314] CPython crashes when built on arm with -mtls-dialect=gnu2 and linked with bfd

2025-08-25 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33314 H.J. Lu changed: What|Removed |Added Target||arm -- You are receiving this mail because

[Bug binutils/28387] ld: Move R_*_TLSDESC to .rela.dyn

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

[Bug binutils/28387] ld: Move R_*_TLSDESC to .rela.dyn

2025-08-24 Thread hjl.tools at gmail dot com
||2025-08-24 Ever confirmed|0 |1 Assignee|unassigned at sourceware dot org |hjl.tools at gmail dot com --- Comment #1 from H.J. Lu --- Created attachment 16281 --> https://sourceware.org/bugzilla/attachment.cgi?id=16281&action=edit A p

[Bug binutils/28387] ld: Move R_*_TLSDESC to .rela.dyn

2025-08-24 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28387 H.J. Lu changed: What|Removed |Added Version|unspecified |2.46 (HEAD) -- You are receiving this mail

[Bug ld/33237] No PLT (PIE 1[fg]) FAIL on Solaris/amd64

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

[Bug ld/33237] No PLT (PIE 1[fg]) FAIL on Solaris/amd64

2025-08-23 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33237 --- Comment #15 from H.J. Lu --- (In reply to Rainer Orth from comment #13) > Btw., it's a bit confusing the there are two instances of the No PLT > tests in ld.sum for two different tests. May that's something to fix in > a followup? Did y

[Bug ld/33237] No PLT (PIE 1[fg]) FAIL on Solaris/amd64

2025-08-23 Thread hjl.tools at gmail dot com
sourceware dot org |hjl.tools at gmail dot com Target Milestone|--- |2.46 --- Comment #12 from H.J. Lu --- Please try: https://patchwork.sourceware.org/project/binutils/list/?series=51114 -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/33237] No PLT (PIE 1[fg]) FAIL on Solaris/amd64

2025-08-22 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33237 --- Comment #11 from H.J. Lu --- (In reply to Rainer Orth from comment #10) > > check: > subq$8, %rsp > call*get_func@GOTPCREL(%rip) > - cmpq%rax, func_p(%rip) ^^^ This is from Linux whi

[Bug ld/33237] No PLT (PIE 1[fg]) FAIL on Solaris/amd64

2025-08-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33237 --- Comment #6 from H.J. Lu --- (In reply to Rainer Orth from comment #5) > > --- Comment #4 from H.J. Lu --- > > (In reply to Rainer Orth from comment #3) > >> Recently, the workaround (hack?) stopped working: the tests FAIL to run > >> wit

[Bug ld/33237] No PLT (PIE 1[fg]) FAIL on Solaris/amd64

2025-08-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33237 --- Comment #4 from H.J. Lu --- (In reply to Rainer Orth from comment #3) > Recently, the workaround (hack?) stopped working: the tests FAIL to run with > > Running: tmpdir/no-plt-1f > tmpdir/no-plt-1f.out > ld.so.1: no-plt-1f: fatal: relocat

[Bug ld/33237] No PLT (PIE 1[fg]) FAIL on Solaris/amd64

2025-08-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33237 --- Comment #8 from H.J. Lu --- (In reply to Rainer Orth from comment #7) > > --- Comment #6 from H.J. Lu --- > >> It is without -z nocopyreloc as originally reported, but then the test > >> aborts. Until recently, the -z nocopyreloc workaro

[Bug binutils/33300] strip --strip-unneeded "breaks" libc.a (causing segfault in Rust programs linked libc statically)

2025-08-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33300 --- Comment #11 from H.J. Lu --- stdio.c has #undef stdin #undef stdout #undef stderr FILE *stdin = (FILE *) &_IO_2_1_stdin_; FILE *stdout = (FILE *) &_IO_2_1_stdout_; FILE *stderr = (FILE *) &_IO_2_1_stderr_; libio_static_fn_required (_IO_f

[Bug binutils/33300] strip --strip-unneeded "breaks" libc.a (causing segfault in Rust programs linked libc statically)

2025-08-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33300 --- Comment #10 from H.J. Lu --- stdio.o is corrupted by --strip-unneeded. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/33300] strip --strip-unneeded "breaks" libc.a (causing segfault in Rust programs linked libc statically)

2025-08-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33300 --- Comment #9 from H.J. Lu --- Confirmed on Fedora 42 with glibc 2.41. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/33300] strip --strip-unneeded "breaks" libc.a (causing segfault in Rust programs linked libc statically)

2025-08-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33300 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW -- You are receiving this mail because

[Bug ld/33291] Recent entity size in gas change breaks ld (elfutils eu-strip -> dwz testsuite)

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

[Bug ld/33291] Recent entity size in gas change breaks ld (elfutils eu-strip -> dwz testsuite)

2025-08-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33291 --- Comment #25 from H.J. Lu --- (In reply to Sam James from comment #24) > (In reply to H.J. Lu from comment #22) > > I am testing this: > > > > diff --git a/ld/ldlang.c b/ld/ldlang.c > > index 8ba95b04e23..bbc679a31ef 100644 > > --- a/ld/ld

[Bug ld/33130] GNU2 TLS binary may not work on Linux

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

[Bug ld/33287] GNU TLS binary may not work on Linux

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

[Bug binutils/33213] Add GLIBC_ABI_DT_X86_64_PLT version to indicate x86_64 psABI compliance for DT_X86_64_PLT* support

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

[Bug ld/33267] Test failures with CFLAGS="-O2 -mno-direct-extern-access"

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

[Bug ld/33291] Recent entity size in gas change breaks ld (elfutils eu-strip -> dwz testsuite)

2025-08-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33291 --- Comment #22 from H.J. Lu --- I am testing this: diff --git a/ld/ldlang.c b/ld/ldlang.c index 8ba95b04e23..bbc679a31ef 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -2862,6 +2862,7 @@ lang_add_section (lang_statement_list_type *ptr, {

[Bug ld/33291] Recent entity size in gas change breaks ld (elfutils eu-strip -> dwz testsuite)

2025-08-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33291 --- Comment #21 from H.J. Lu --- [hjl@gnu-cfl-3 pr33291]$ cat x.c const long long int foo = 0x20001; [hjl@gnu-cfl-3 pr33291]$ cat y.c const char bar = 1; [hjl@gnu-cfl-3 pr33291]$ make LD=./ld.master gcc -B./ -O2 -fPIC -fmerge-all-constants -

[Bug binutils/33300] strip --strip-unneeded "breaks" libc.a (causing segfault in Rust programs linked libc statically)

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

[Bug ld/33294] Run i386 TLS tests on x86_64

2025-08-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33294 --- Comment #3 from H.J. Lu --- FYI, I use a 32-bit GCC on Linux/x86-64 to build and test binutils in 32bit: [hjl@gnu-cfl-3 ~]$ /usr/gcc-15.2.1-32bit/bin/gcc -v Using built-in specs. COLLECT_GCC=/usr/gcc-15.2.1-32bit/bin/gcc COLLECT_LTO_WRAPP

[Bug ld/33294] Run i386 TLS tests on x86_64

2025-08-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33294 --- Comment #2 from H.J. Lu --- (In reply to Sam James from comment #1) > IF we want this, I can do ld-i386/no-plt.exp too. Not all Linux/x86-64 OSes provides bits needed for -m32. We need to check if -m32 works on Linux/x86-64, especially "

[Bug ld/33291] Recent entity size in gas change breaks ld (dwz testsuite)

2025-08-19 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=33291 --- Comment #18 from H.J. Lu --- Created attachment 16271 --> https://sourceware.org/bugzilla/attachment.cgi?id=16271&action=edit A patch not to set sh_entsize for special sections -- You are receiving this mail because: You are on the CC

  1   2   3   4   5   6   7   8   9   10   >