1 |
commit: e2438c028e2eb9d4f848d027e5f484424f6ca004 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 13 23:46:15 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 13 23:46:31 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2438c02 |
7 |
|
8 |
sys-libs/musl: set QA_PRESTRIPPED for crtn.o |
9 |
|
10 |
vapier's comment is really it: |
11 |
""' |
12 |
> crt files are often hand written assembly, and for the init/fini ones, |
13 |
> barely any code at all. so they tend not to have anything useful to add |
14 |
> debugging wise, if the tools even support it in the first place. |
15 |
> |
16 |
> not really worth trying to add debugging info to really any of the crt |
17 |
> files. we should figure out how to suppress the warning for them. or |
18 |
> ignore it. |
19 |
""" |
20 |
|
21 |
Closes: https://bugs.gentoo.org/830213 |
22 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
23 |
|
24 |
sys-libs/musl/musl-1.2.3-r3.ebuild | 6 ++++-- |
25 |
sys-libs/musl/musl-9999.ebuild | 12 +++++++++--- |
26 |
2 files changed, 13 insertions(+), 5 deletions(-) |
27 |
|
28 |
diff --git a/sys-libs/musl/musl-1.2.3-r3.ebuild b/sys-libs/musl/musl-1.2.3-r3.ebuild |
29 |
index 563d555aab5a..215d34d742fa 100644 |
30 |
--- a/sys-libs/musl/musl-1.2.3-r3.ebuild |
31 |
+++ b/sys-libs/musl/musl-1.2.3-r3.ebuild |
32 |
@@ -40,8 +40,10 @@ LICENSE="MIT LGPL-2 GPL-2" |
33 |
SLOT="0" |
34 |
IUSE="crypt headers-only" |
35 |
|
36 |
-QA_SONAME="/usr/lib/libc.so" |
37 |
-QA_DT_NEEDED="/usr/lib/libc.so" |
38 |
+QA_SONAME="usr/lib/libc.so" |
39 |
+QA_DT_NEEDED="usr/lib/libc.so" |
40 |
+# bug #830213 |
41 |
+QA_PRESTRIPPED="usr/lib/crtn.o" |
42 |
|
43 |
# We want crypt on by default for this as sys-libs/libxcrypt isn't (yet?) |
44 |
# built as part as crossdev. Also, elide the blockers when in cross-*, |
45 |
|
46 |
diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild |
47 |
index b42381e40998..215d34d742fa 100644 |
48 |
--- a/sys-libs/musl/musl-9999.ebuild |
49 |
+++ b/sys-libs/musl/musl-9999.ebuild |
50 |
@@ -40,9 +40,15 @@ LICENSE="MIT LGPL-2 GPL-2" |
51 |
SLOT="0" |
52 |
IUSE="crypt headers-only" |
53 |
|
54 |
-QA_SONAME="/usr/lib/libc.so" |
55 |
-QA_DT_NEEDED="/usr/lib/libc.so" |
56 |
- |
57 |
+QA_SONAME="usr/lib/libc.so" |
58 |
+QA_DT_NEEDED="usr/lib/libc.so" |
59 |
+# bug #830213 |
60 |
+QA_PRESTRIPPED="usr/lib/crtn.o" |
61 |
+ |
62 |
+# We want crypt on by default for this as sys-libs/libxcrypt isn't (yet?) |
63 |
+# built as part as crossdev. Also, elide the blockers when in cross-*, |
64 |
+# as it doesn't make sense to block the normal CBUILD libxcrypt at all |
65 |
+# there when we're installing into /usr/${CHOST} anyway. |
66 |
if [[ ${CATEGORY} == cross-* ]] ; then |
67 |
IUSE="${IUSE/crypt/+crypt}" |
68 |
else |