1 |
commit: c426c431c1c4a0bd0991da78dad1f707bc23adb2 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 13 18:49:11 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 13 18:49:11 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c426c431 |
7 |
|
8 |
sys-libs/llvm-libunwind: filter LTO |
9 |
|
10 |
1. Upstream bug (https://github.com/llvm/llvm-project/issues/56825) |
11 |
where there may be serious runtime issues; |
12 |
|
13 |
2. ODR warnings. |
14 |
|
15 |
Closes: https://bugs.gentoo.org/863917 |
16 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
17 |
|
18 |
...llvm-libunwind-13.0.1.ebuild => llvm-libunwind-13.0.1-r1.ebuild} | 6 +++++- |
19 |
...llvm-libunwind-14.0.6.ebuild => llvm-libunwind-14.0.6-r1.ebuild} | 6 +++++- |
20 |
...llvm-libunwind-15.0.0.ebuild => llvm-libunwind-15.0.0-r1.ebuild} | 4 ++++ |
21 |
sys-libs/llvm-libunwind/llvm-libunwind-15.0.0.9999.ebuild | 4 ++++ |
22 |
sys-libs/llvm-libunwind/llvm-libunwind-16.0.0.9999.ebuild | 4 ++++ |
23 |
5 files changed, 22 insertions(+), 2 deletions(-) |
24 |
|
25 |
diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-13.0.1.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-13.0.1-r1.ebuild |
26 |
similarity index 95% |
27 |
rename from sys-libs/llvm-libunwind/llvm-libunwind-13.0.1.ebuild |
28 |
rename to sys-libs/llvm-libunwind/llvm-libunwind-13.0.1-r1.ebuild |
29 |
index 282953294291..1de0765ec1bf 100644 |
30 |
--- a/sys-libs/llvm-libunwind/llvm-libunwind-13.0.1.ebuild |
31 |
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-13.0.1-r1.ebuild |
32 |
@@ -4,7 +4,7 @@ |
33 |
EAPI=7 |
34 |
|
35 |
PYTHON_COMPAT=( python3_{8..10} ) |
36 |
-inherit cmake-multilib llvm llvm.org python-any-r1 toolchain-funcs |
37 |
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 toolchain-funcs |
38 |
|
39 |
DESCRIPTION="C++ runtime stack unwinder from LLVM" |
40 |
HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html" |
41 |
@@ -41,6 +41,10 @@ multilib_src_configure() { |
42 |
local use_compiler_rt=OFF |
43 |
local libdir=$(get_libdir) |
44 |
|
45 |
+ # https://github.com/llvm/llvm-project/issues/56825 |
46 |
+ # also separately bug #863917 |
47 |
+ filter-lto |
48 |
+ |
49 |
# link to compiler-rt |
50 |
# https://github.com/gentoo/gentoo/pull/21516 |
51 |
if tc-is-clang; then |
52 |
|
53 |
diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-14.0.6.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-14.0.6-r1.ebuild |
54 |
similarity index 94% |
55 |
rename from sys-libs/llvm-libunwind/llvm-libunwind-14.0.6.ebuild |
56 |
rename to sys-libs/llvm-libunwind/llvm-libunwind-14.0.6-r1.ebuild |
57 |
index ac1952b256cf..3596ed724fe0 100644 |
58 |
--- a/sys-libs/llvm-libunwind/llvm-libunwind-14.0.6.ebuild |
59 |
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-14.0.6-r1.ebuild |
60 |
@@ -4,7 +4,7 @@ |
61 |
EAPI=8 |
62 |
|
63 |
PYTHON_COMPAT=( python3_{8..10} ) |
64 |
-inherit cmake-multilib llvm llvm.org python-any-r1 toolchain-funcs |
65 |
+inherit cmake-multilib flag-o-matic llvm llvm.org python-any-r1 toolchain-funcs |
66 |
|
67 |
DESCRIPTION="C++ runtime stack unwinder from LLVM" |
68 |
HOMEPAGE="https://llvm.org/docs/ExceptionHandling.html" |
69 |
@@ -45,6 +45,10 @@ multilib_src_configure() { |
70 |
local use_compiler_rt=OFF |
71 |
local libdir=$(get_libdir) |
72 |
|
73 |
+ # https://github.com/llvm/llvm-project/issues/56825 |
74 |
+ # also separately bug #863917 |
75 |
+ filter-lto |
76 |
+ |
77 |
# link to compiler-rt |
78 |
# https://github.com/gentoo/gentoo/pull/21516 |
79 |
if tc-is-clang; then |
80 |
|
81 |
diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-15.0.0.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-15.0.0-r1.ebuild |
82 |
similarity index 96% |
83 |
rename from sys-libs/llvm-libunwind/llvm-libunwind-15.0.0.ebuild |
84 |
rename to sys-libs/llvm-libunwind/llvm-libunwind-15.0.0-r1.ebuild |
85 |
index a82604936035..266fb98a49d9 100644 |
86 |
--- a/sys-libs/llvm-libunwind/llvm-libunwind-15.0.0.ebuild |
87 |
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-15.0.0-r1.ebuild |
88 |
@@ -49,6 +49,10 @@ multilib_src_configure() { |
89 |
local use_compiler_rt=OFF |
90 |
local libdir=$(get_libdir) |
91 |
|
92 |
+ # https://github.com/llvm/llvm-project/issues/56825 |
93 |
+ # also separately bug #863917 |
94 |
+ filter-lto |
95 |
+ |
96 |
if use clang && ! tc-is-clang; then |
97 |
# Only do this conditionally to allow overriding with |
98 |
# e.g. CC=clang-13 in case of breakage |
99 |
|
100 |
diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-15.0.0.9999.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-15.0.0.9999.ebuild |
101 |
index 2decc6f4c6ee..c682d12707f2 100644 |
102 |
--- a/sys-libs/llvm-libunwind/llvm-libunwind-15.0.0.9999.ebuild |
103 |
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-15.0.0.9999.ebuild |
104 |
@@ -49,6 +49,10 @@ multilib_src_configure() { |
105 |
local use_compiler_rt=OFF |
106 |
local libdir=$(get_libdir) |
107 |
|
108 |
+ # https://github.com/llvm/llvm-project/issues/56825 |
109 |
+ # also separately bug #863917 |
110 |
+ filter-lto |
111 |
+ |
112 |
if use clang && ! tc-is-clang; then |
113 |
# Only do this conditionally to allow overriding with |
114 |
# e.g. CC=clang-13 in case of breakage |
115 |
|
116 |
diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.0.9999.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.0.9999.ebuild |
117 |
index 2decc6f4c6ee..c682d12707f2 100644 |
118 |
--- a/sys-libs/llvm-libunwind/llvm-libunwind-16.0.0.9999.ebuild |
119 |
+++ b/sys-libs/llvm-libunwind/llvm-libunwind-16.0.0.9999.ebuild |
120 |
@@ -49,6 +49,10 @@ multilib_src_configure() { |
121 |
local use_compiler_rt=OFF |
122 |
local libdir=$(get_libdir) |
123 |
|
124 |
+ # https://github.com/llvm/llvm-project/issues/56825 |
125 |
+ # also separately bug #863917 |
126 |
+ filter-lto |
127 |
+ |
128 |
if use clang && ! tc-is-clang; then |
129 |
# Only do this conditionally to allow overriding with |
130 |
# e.g. CC=clang-13 in case of breakage |