Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907066 - sys-libs/compiler-rt-15.0.7: Don't disable DCOMPILER_RT_BUILD_PROFILE by default
Summary: sys-libs/compiler-rt-15.0.7: Don't disable DCOMPILER_RT_BUILD_PROFILE by def...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-24 11:19 UTC by Morteza
Modified: 2023-05-24 12:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Morteza 2023-05-24 11:19:49 UTC
emerging python[pgo] complains about missing libclang_rt.profile-x86_64.a file 
please make DCOMPILER_RT_BUILD_PROFILE optional

Reproducible: Always

Steps to Reproduce:
1. dev-lang/python pgo
2. emerge python
3. compile error missing file /usr/lib/clang/15.0.7/lib/linux/libclang_rt.profile-x86_64.a
Actual Results:  
build fails

Expected Results:  
build success
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-24 11:22:06 UTC
It is already optional, just set USE=profile on sys-libs/compiler-rt-sanitizers?

See also bug 873925.
Comment 2 Morteza 2023-05-24 12:10:45 UTC
Thanks for quick response
Actually I had to emerge sys-devel/clang-runtime with sanitize use flag to make clang-runtime pull sys-libs/compiler-rt-sanitizers
can you document it somewhere in Clang wiki?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-24 12:15:03 UTC
(In reply to Morteza from comment #2)
> Thanks for quick response
> Actually I had to emerge sys-devel/clang-runtime with sanitize use flag to
> make clang-runtime pull sys-libs/compiler-rt-sanitizers
> can you document it somewhere in Clang wiki?

Sure, will do now.
Comment 4 Morteza 2023-05-24 12:20:40 UTC
while you here can you take a look at this issue https://github.com/llvm/llvm-project/issues/86
this error show up on neovim when luajit compiled with clang