Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938951 - app-shells/bash[pgo] fails build due to missing sys-libs/compiler-rt-sanitizers
Summary: app-shells/bash[pgo] fails build due to missing sys-libs/compiler-rt-sanitizers
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-02 23:26 UTC by fabolous.e05
Modified: 2024-10-30 11:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,245.25 KB, text/x-log)
2024-09-03 11:34 UTC, fabolous.e05
Details
emerge --info (emerge-info,18.38 KB, text/plain)
2024-09-03 11:34 UTC, fabolous.e05
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fabolous.e05 2024-09-02 23:26:05 UTC
Bash fails to build when pgo useflag is set, but compiler-rt-sanitizers in not installed, due to missing "/usr/lib/clang/18/lib/linux/libclang_rt.profile-x86_64.a".
Comment 1 Paul Zander 2024-09-02 23:34:10 UTC
Would you be so kind and attach the build.log and emerge --info?
Comment 2 fabolous.e05 2024-09-03 11:34:13 UTC
Created attachment 901952 [details]
build.log
Comment 3 fabolous.e05 2024-09-03 11:34:31 UTC
Created attachment 901953 [details]
emerge --info
Comment 4 fabolous.e05 2024-10-29 23:15:19 UTC
same issue occurs again for ongoing llvm version bump.
I think the bash ebuild should track the used LLVM_SLOT and depend on the relative version of compiler-rt-sanitizers
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-10-30 00:09:45 UTC
(In reply to fabolous.e05 from comment #4)
> same issue occurs again for ongoing llvm version bump.
> I think the bash ebuild should track the used LLVM_SLOT and depend on the
> relative version of compiler-rt-sanitizers

This can't be done without (unnecessarily) adding llvm-r1.eclass to every single ebuild which _might_ use Clang. Ultimately, it depends on what the system is using. We can add compiler-rt-sanitizers to @system on LLVM profiles, I don't think we can do much more than that.
Comment 6 fabolous.e05 2024-10-30 11:39:18 UTC
Well it's only relevant for pgo ebuilds, but i agree it seems overkill.