Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 873925 - dev-lang/python-3.11[pgo] does not build without installing compiler-rt-sanitizers
Summary: dev-lang/python-3.11[pgo] does not build without installing compiler-rt-sanit...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-01 21:44 UTC by Mazunki Hoksaas
Modified: 2023-05-24 11:22 UTC (History)
3 users (show)

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


Attachments
build.log (python-3.11.0_rc2.log,108.22 KB, text/x-log)
2022-10-01 21:44 UTC, Mazunki Hoksaas
Details
emerge --info '=python-3.11' (emerge.info,20.99 KB, text/plain)
2022-10-01 21:50 UTC, Mazunki Hoksaas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mazunki Hoksaas 2022-10-01 21:44:38 UTC
Created attachment 815089 [details]
build.log

I was unable to compile python 3.11 after enabling USE=pgo. After oneshotting `compiler-rt-sanitizers` it built successfully.

```
ld.lld: error: cannot open /usr/lib/llvm/14/bin/../../../../lib/clang/14.0.6/lib/linux/libclang_rt.profile-x86_64.a: No such file or directory
```

Full build log provided in file.
Comment 1 Mazunki Hoksaas 2022-10-01 21:50:01 UTC
Created attachment 815092 [details]
emerge --info '=python-3.11'

Per request, I'm uploading my current emerge --info, although I can't guarantee it's exactly the same as the time of the build.log, since I lost the original.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-04 01:06:36 UTC
I guess we should maybe just add it to @system in the LLVM profiles.
Comment 3 immolo 2023-05-08 20:36:53 UTC
To solve this properly it also needs a check to make sure the profile useflag is also set in sys-libs/compiler-rt-sanitizers IMO.