commit:     7181aa049ad1850028e970e702f9532608f9ea91
Author:     Kostadin Shishmanov <kocelfc <AT> tutanota <DOT> com>
AuthorDate: Tue Nov 19 20:49:09 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov 20 07:55:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7181aa04

sys-devel/lld: allow LTO

The ODR warnings have been fixed upstream [1] [2], so
we can now allow building with LTO for 18.x and newer.

Builds without errors and the test suite passes with both GCC and Clang.

[1] https://github.com/llvm/llvm-project/issues/83529
[2] https://github.com/llvm/llvm-project/pull/83604

Bug: https://bugs.gentoo.org/922353
Signed-off-by: Kostadin Shishmanov <kocelfc <AT> tutanota.com>
Closes: https://github.com/gentoo/gentoo/pull/39377
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-devel/lld/lld-18.1.8.ebuild      | 3 ---
 sys-devel/lld/lld-19.1.4.ebuild      | 3 ---
 sys-devel/lld/lld-20.0.0.9999.ebuild | 3 ---
 3 files changed, 9 deletions(-)

diff --git a/sys-devel/lld/lld-18.1.8.ebuild b/sys-devel/lld/lld-18.1.8.ebuild
index d5245986a556..64b6082241c4 100644
--- a/sys-devel/lld/lld-18.1.8.ebuild
+++ b/sys-devel/lld/lld-18.1.8.ebuild
@@ -59,9 +59,6 @@ src_unpack() {
 src_configure() {
        llvm_prepend_path "${LLVM_MAJOR}"
 
-       # ODR violations (https://github.com/llvm/llvm-project/issues/83529, 
bug #922353)
-       filter-lto
-
        # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
        use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
 

diff --git a/sys-devel/lld/lld-19.1.4.ebuild b/sys-devel/lld/lld-19.1.4.ebuild
index f8e23cb7e5b3..8aa86d3f073c 100644
--- a/sys-devel/lld/lld-19.1.4.ebuild
+++ b/sys-devel/lld/lld-19.1.4.ebuild
@@ -59,9 +59,6 @@ src_unpack() {
 src_configure() {
        llvm_prepend_path "${LLVM_MAJOR}"
 
-       # ODR violations (https://github.com/llvm/llvm-project/issues/83529, 
bug #922353)
-       filter-lto
-
        # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
        use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
 

diff --git a/sys-devel/lld/lld-20.0.0.9999.ebuild 
b/sys-devel/lld/lld-20.0.0.9999.ebuild
index 79558afa1abe..07358f891cd0 100644
--- a/sys-devel/lld/lld-20.0.0.9999.ebuild
+++ b/sys-devel/lld/lld-20.0.0.9999.ebuild
@@ -58,9 +58,6 @@ src_unpack() {
 src_configure() {
        llvm_prepend_path "${LLVM_MAJOR}"
 
-       # ODR violations (https://github.com/llvm/llvm-project/issues/83529, 
bug #922353)
-       filter-lto
-
        # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
        use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
 

Reply via email to