[Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors

2022-02-11 Thread evangelos at foutrelis dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28879 --- Comment #12 from Evangelos Foutras --- (In reply to H.J. Lu from comment #11) > A patch is posted at > > https://sourceware.org/pipermail/binutils/2022-February/119740.html Works great, thanks! :) (Gave it a quick test by rebuilding

[Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors

2022-02-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28879 --- Comment #11 from H.J. Lu --- A patch is posted at https://sourceware.org/pipermail/binutils/2022-February/119740.html -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors

2022-02-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28879 H.J. Lu changed: What|Removed |Added Status|WAITING |ASSIGNED Assignee|unassigned at

Issue 40967 in oss-fuzz: binutils:fuzz_addr2line: Heap-buffer-overflow in bfd_getl16

2022-02-11 Thread sheriffbot via monorail
Updates: Labels: -restrict-view-commit -deadline-approaching Deadline-Exceeded Comment #4 on issue 40967 by sheriffbot: binutils:fuzz_addr2line: Heap-buffer-overflow in bfd_getl16 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40967#c4 This bug has exceeded our disclosure

Issue 40993 in oss-fuzz: binutils:fuzz_objdump_safe: Null-dereference READ in mips_gprel_reloc

2022-02-11 Thread sheriffbot via monorail
Updates: Labels: -restrict-view-commit -deadline-approaching Deadline-Exceeded Comment #4 on issue 40993 by sheriffbot: binutils:fuzz_objdump_safe: Null-dereference READ in mips_gprel_reloc https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40993#c4 This bug has exceeded our

Issue 40987 in oss-fuzz: binutils:fuzz_objdump_safe: Direct-leak in xrealloc

2022-02-11 Thread sheriffbot via monorail
Updates: Labels: -restrict-view-commit -deadline-approaching Deadline-Exceeded Comment #3 on issue 40987 by sheriffbot: binutils:fuzz_objdump_safe: Direct-leak in xrealloc https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40987#c3 This bug has exceeded our disclosure deadline. It

Issue 40970 in oss-fuzz: binutils:fuzz_nm: Crash in filter_symbols

2022-02-11 Thread sheriffbot via monorail
Updates: Labels: -restrict-view-commit -deadline-approaching Deadline-Exceeded Comment #4 on issue 40970 by sheriffbot: binutils:fuzz_nm: Crash in filter_symbols https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40970#c4 This bug has exceeded our disclosure deadline. It has been

[Bug ld/28875] ld should warn or error out about creating copy relocs & direct external references for protected symbols

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

[Bug ld/28875] ld should warn or error out about creating copy relocs & direct external references for protected symbols

2022-02-11 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28875 --- Comment #7 from cvs-commit at gcc dot gnu.org --- The binutils-2_38-branch branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=caa6172de4b5100c9b45fd03eae714167a6085c1 commit

[Bug ld/28875] ld should warn or error out about creating copy relocs & direct external references for protected symbols

2022-02-11 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28875 --- Comment #6 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ebb191adac4ab45498dec0bfaac62f0a33537ba4 commit

[Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors

2022-02-11 Thread freswa at archlinux dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28879 freswa changed: What|Removed |Added CC||freswa at archlinux dot org -- You are

[Bug binutils/28882] New: build failure in readelf.c with gcc-4.2 due to use of 0b literals

2022-02-11 Thread mikpelinux at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28882 Bug ID: 28882 Summary: build failure in readelf.c with gcc-4.2 due to use of 0b literals Product: binutils Version: 2.38 Status: UNCONFIRMED Severity:

[Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors

2022-02-11 Thread evangelos at foutrelis dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28879 --- Comment #9 from Evangelos Foutras --- Created attachment 13973 --> https://sourceware.org/bugzilla/attachment.cgi?id=13973=edit Build log from the source build of libheif -- You are receiving this mail because: You are on the CC list

[Bug ld/28875] ld should warn or error out about creating copy relocs & direct external references for protected symbols

2022-02-11 Thread thiago at kde dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28875 --- Comment #5 from Thiago Macieira --- (In reply to H.J. Lu from comment #4) > Created attachment 13971 [details] > The v2 patch > > I got > > /usr/gcc-12.0.1-x32/bin/gcc -B./ -o x main.o libfoo.so -Wl,-R,. > ./ld: main.o: non-canonical

[Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors

2022-02-11 Thread evangelos at foutrelis dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28879 --- Comment #8 from Evangelos Foutras --- Created attachment 13972 --> https://sourceware.org/bugzilla/attachment.cgi?id=13972=edit Reproducer with source build Sorry this took a while, I tried to make it use the bundled x265 library which

[Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors

2022-02-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28879 --- Comment #7 from H.J. Lu --- (In reply to Evangelos Foutras from comment #6) > > However, I can provide a repro.sh that builds libheif from source and > reproduces the undefined references on GCC 11.2 + binutils 2.38; would that > help?

[Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors

2022-02-11 Thread evangelos at foutrelis dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28879 --- Comment #6 from Evangelos Foutras --- (In reply to H.J. Lu from comment #5) > It may be a GCC 11.1 bug. Are you referring to the error about _ZTI11QSharedData@Qt_5 in my last comment, or the original issue? The system libQt5Gui was

[Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors

2022-02-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28879 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING --- Comment #5 from H.J. Lu ---

[Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors

2022-02-11 Thread evangelos at foutrelis dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28879 --- Comment #4 from Evangelos Foutras --- Thank you for looking into this. :) I applied your diff on top of binutils 2.38 and was able to successfully build libheif and nextcloud-client with it. Previously, these two Arch Linux packages (and

[Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors

2022-02-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28879 --- Comment #3 from H.J. Lu --- I am testing this: diff --git a/bfd/elflink.c b/bfd/elflink.c index 6fa18d92007..a231bdabd28 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -1295,7 +1295,9 @@ _bfd_elf_merge_symbol (bfd *abfd,

[Bug ld/28264] [2.37 Regression] ld.bfd crashes on linking efivar with LTO

2022-02-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28264 H.J. Lu changed: What|Removed |Added Depends on||28879 Referenced Bugs:

[Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors

2022-02-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28879 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW Blocks|

[Bug ld/28848] [2.38 Regression] ld assertion fail ../../bfd/elf32-arm.c:14807

2022-02-11 Thread doko at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28848 Matthias Klose changed: What|Removed |Added CC||michael.hudson at canonical dot co

[Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors

2022-02-11 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28879 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com

[Bug ld/28848] [2.38 Regression] ld assertion fail ../../bfd/elf32-arm.c:14807

2022-02-11 Thread doko at debian dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28848 --- Comment #8 from Matthias Klose --- that patch is https://salsa.debian.org/glibc-team/glibc/-/blob/sid/debian/patches/arm/local-vfp-sysdeps.diff Michael just confirmed that fpc still fails to build without this patch (and builds with the

[Bug ld/28879] [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors

2022-02-11 Thread allan at archlinux dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=28879 Allan McRae changed: What|Removed |Added CC||allan at archlinux dot org -- You are