Summary: | sys-devel/binutils-2.39[pgo] doesn't build with llvm-ar | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mazunki Hoksaas <rolferen> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info binutils Requested config.log |
Please include: 1. emerge --info 2. /var/tmp/portage/sys-devel/binutils-2.39-r2/work/build/config.log Created attachment 815101 [details]
emerge --info binutils
Created attachment 815104 [details]
Requested config.log
(In reply to Mazunki Hoksaas from comment #2) > Created attachment 815101 [details] > emerge --info binutils Using -stdlib=libstdc++ on Clang profiles is not considered supported. It'd be far better to start with a "normal" stage3 & profile, then set CC etc, because those profiles assume libcxx in various places. And the stages will be ABI incompatible anyway. Also, the symlink is dead: !/var/db/repos/gentoo/profiles/default/linux/amd64/17.1/clang. |
Created attachment 815098 [details] build.log Building binutils on a clang profile, which uses `llvm-ar` as the archiver, fails during the initial tests. It builds fine with gcc, or if pgo USE flag is disabled. ``` checking for -plugin option... checking for x86_64-pc-linux-gnu-ar... (cached) llvm-ar no configure: error: AR with --plugin and rc is required for LTO build ``` Full build log provided in file.