commit: e2438c028e2eb9d4f848d027e5f484424f6ca004 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Sep 13 23:46:15 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Sep 13 23:46:31 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2438c02
sys-libs/musl: set QA_PRESTRIPPED for crtn.o vapier's comment is really it: ""' > crt files are often hand written assembly, and for the init/fini ones, > barely any code at all. so they tend not to have anything useful to add > debugging wise, if the tools even support it in the first place. > > not really worth trying to add debugging info to really any of the crt > files. we should figure out how to suppress the warning for them. or > ignore it. """ Closes: https://bugs.gentoo.org/830213 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-libs/musl/musl-1.2.3-r3.ebuild | 6 ++++-- sys-libs/musl/musl-9999.ebuild | 12 +++++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/sys-libs/musl/musl-1.2.3-r3.ebuild b/sys-libs/musl/musl-1.2.3-r3.ebuild index 563d555aab5a..215d34d742fa 100644 --- a/sys-libs/musl/musl-1.2.3-r3.ebuild +++ b/sys-libs/musl/musl-1.2.3-r3.ebuild @@ -40,8 +40,10 @@ LICENSE="MIT LGPL-2 GPL-2" SLOT="0" IUSE="crypt headers-only" -QA_SONAME="/usr/lib/libc.so" -QA_DT_NEEDED="/usr/lib/libc.so" +QA_SONAME="usr/lib/libc.so" +QA_DT_NEEDED="usr/lib/libc.so" +# bug #830213 +QA_PRESTRIPPED="usr/lib/crtn.o" # We want crypt on by default for this as sys-libs/libxcrypt isn't (yet?) # built as part as crossdev. Also, elide the blockers when in cross-*, diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild index b42381e40998..215d34d742fa 100644 --- a/sys-libs/musl/musl-9999.ebuild +++ b/sys-libs/musl/musl-9999.ebuild @@ -40,9 +40,15 @@ LICENSE="MIT LGPL-2 GPL-2" SLOT="0" IUSE="crypt headers-only" -QA_SONAME="/usr/lib/libc.so" -QA_DT_NEEDED="/usr/lib/libc.so" - +QA_SONAME="usr/lib/libc.so" +QA_DT_NEEDED="usr/lib/libc.so" +# bug #830213 +QA_PRESTRIPPED="usr/lib/crtn.o" + +# We want crypt on by default for this as sys-libs/libxcrypt isn't (yet?) +# built as part as crossdev. Also, elide the blockers when in cross-*, +# as it doesn't make sense to block the normal CBUILD libxcrypt at all +# there when we're installing into /usr/${CHOST} anyway. if [[ ${CATEGORY} == cross-* ]] ; then IUSE="${IUSE/crypt/+crypt}" else
