[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

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

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

2021-07-06 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28040 --- Comment #16 from H.J. Lu --- (In reply to Nick Clifton from comment #15) > (In reply to H.J. Lu from comment #14) > Hi H.J. > > With the patch applied the new linker tests are failing if you run them > with address sanitization enabled:

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

2021-07-06 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28040 Nick Clifton changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

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

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

2021-07-05 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28040 --- Comment #13 from cvs-commit at gcc dot gnu.org --- The binutils-2_37-branch branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0f206424c11a7ef6eb45326aac5fb4ff41692ffd commit 0f206424c11a7ef6e

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

2021-07-05 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28040 --- Comment #12 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=918172470430ea6fa082c941e6789add88331197 commit 918172470430ea6fa082c941e6789ad

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

2021-07-05 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28040 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.37 Status|WAITING

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

2021-07-05 Thread tbaeder at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28040 --- Comment #10 from Timm Bäder --- I had problems when installing a new master checkout of binutils system-wide, but applying that patch to a 2.36.1 checkout and installing the rpm for that works and lets me compile LLVM with clang, ld.bfd an

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

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

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

2021-07-04 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28040 --- Comment #8 from H.J. Lu --- Created attachment 13534 --> https://sourceware.org/bugzilla/attachment.cgi?id=13534&action=edit A new patch Please try this instead. -- You are receiving this mail because: You are on the CC list for the b

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

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

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

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

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

2021-07-02 Thread tbaeder at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28040 --- Comment #5 from Timm Bäder --- # /usr/bin/ld --version GNU ld (GNU Binutils) 2.36.50.20210702 Copyright (C) 2021 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Publi

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

2021-07-02 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28040 --- Comment #4 from H.J. Lu --- (In reply to Timm Bäder from comment #3) > Oh, I forgot: The binutils I have installed is 2.35.1-41 (which seems to be > the latest build for F34) Please try binutils master branch. -- You are receiving this

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

2021-07-02 Thread tbaeder at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28040 --- Comment #3 from Timm Bäder --- Oh, I forgot: The binutils I have installed is 2.35.1-41 (which seems to be the latest build for F34) -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

2021-07-02 Thread tbaeder at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28040 --- Comment #2 from Timm Bäder --- On Fedora 34, in a fresh LLVM checkout on the main branch, I can reproduce this via: CC=clang CXX=clang++ cmake ../llvm -GNinja -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_LTO=ON The build eventually fails wi

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

2021-07-01 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28040 H.J. Lu changed: What|Removed |Added See Also||https://bugzilla.redhat.com

[Bug ld/28040] libLLVM.so fails to link using LTO with ld.bfd + LLVMGold plugin

2021-07-01 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28040 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com Stat