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

2022-02-16 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28264 Bug 28264 depends on bug 28879, which changed state. Bug 28879 Summary: [2.38 Regression] ld.bfd: possibly incorrect "undefined reference" errors https://sourceware.org/bugzilla/show_bug.cgi?id=28879 What|Removed

[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/28264] [2.37 Regression] ld.bfd crashes on linking efivar with LTO

2021-08-31 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28264 Alan Modra changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

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

2021-08-27 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28264 --- Comment #8 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=7de7786bb7db5159fc8a7bfa3df72381ff16a38c commit

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

2021-08-27 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28264 --- Comment #7 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b05929a20efa7caa40415d2f069e44f7e76615e4 commit

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

2021-08-26 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28264 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.38 --- Comment #6 from H.J. Lu --- A

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

2021-08-25 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28264 --- Comment #5 from Alan Modra --- At least, that would get us back to the 2.35 behaviour of compiling your #c3 testcase without complaint if not using -flto, and complaining about multiple definitions of _efi_set_variable if using -flto. --

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

2021-08-25 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28264 --- Comment #4 from Alan Modra --- (In reply to H.J. Lu from comment #2) > calls _bfd_generic_link_add_one_symbol with string == NULL. Yes, it looks like commit 726d7d1ecfd1fc should have checked for that in the MIND case before calling

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

2021-08-25 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28264 --- Comment #3 from H.J. Lu --- [hjl@gnu-cfl-2 pr28264]$ cat foo.v libefivar.so.0 { global: _efi_set_variable; local: *; }; [hjl@gnu-cfl-2 pr28264]$ cat foo.c void __attribute__ ((symver

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

2021-08-25 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28264 --- Comment #2 from H.J. Lu --- (gdb) f 1 #1 0x0043b9b4 in _bfd_generic_link_add_one_symbol ( info=0x667620 , abfd=0x6d9240, name=0xa756d2 "_efi_set_variable", flags=2, section=0xa661e8, value=29806, string=0x0,

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

2021-08-25 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28264 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com -- You are

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

2021-08-25 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28264 H.J. Lu changed: What|Removed |Added Summary|ld.bfd crashes on linking |[2.37 Regression] ld.bfd