Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 830213

Summary: sys-libs/musl-1.2.3-r3 installs pre-stripped files
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: bertrand, herrtimson, lu_zero, musl, sam, toolchain
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=552616
https://bugs.gentoo.org/show_bug.cgi?id=784923
https://bugs.gentoo.org/show_bug.cgi?id=724484
https://bugs.gentoo.org/show_bug.cgi?id=700884
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2021-12-29 08:59:17 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-libs/musl-1.2.2-r7 installs pre-stripped files.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2021-12-29 08:59:19 UTC
Created attachment 760704 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-29 09:05:02 UTC
 * QA Notice: Pre-stripped files found:
 * /usr/lib/crtn.o
Comment 3 SpanKY gentoo-dev 2022-01-13 09:21:08 UTC
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.
Comment 4 Agostino Sarubbo gentoo-dev 2022-04-08 06:54:42 UTC
tinderbox_musl has reproduced this issue with version 1.2.2-r8 - Updating summary.
Comment 5 Agostino Sarubbo gentoo-dev 2022-04-12 09:06:12 UTC
tinderbox_musl has reproduced this issue with version 1.2.3 - Updating summary.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2022-04-25 22:21:33 UTC
This might be a dupe of bug 784923
Comment 7 Agostino Sarubbo gentoo-dev 2022-09-12 06:50:46 UTC
tinderbox_musl has reproduced this issue with version 1.2.3-r1 - Updating summary.
Comment 8 Agostino Sarubbo gentoo-dev 2022-09-13 08:55:21 UTC
tinderbox_musl has reproduced this issue with version 1.2.3-r3 - Updating summary.
Comment 9 Larry the Git Cow gentoo-dev 2022-09-13 23:46:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2438c028e2eb9d4f848d027e5f484424f6ca004

commit e2438c028e2eb9d4f848d027e5f484424f6ca004
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-13 23:46:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-13 23:46:31 +0000

    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@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(-)