This is an auto-filed bug because sys-libs/libstdc++-v3 calls ar directly. The issue was originally discovered on amd64, but it may be reproducible on other arches as well. If you think that a different summary clarifies the issue better, feel free to change it. Attached build log and emerge --info. NOTE: If you think it doesn't make sense fix these type of issues, I'd like to point out that won't be possible use a different AR implementation (like llvm-ar) by setting the AR variable. So this issue has been reproduced by setting the AR variable to x86_64-pc-linux-gnu-ar and by removing the /usr/bin/ar binary.
Created attachment 641102 [details] build.log build log and emerge --info
*** Bug 784917 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41fa2e689f53efe62986696bf4324aca16bc874a commit 41fa2e689f53efe62986696bf4324aca16bc874a Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-07-24 09:21:45 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-07-24 09:21:59 +0000 sys-libs/libstdc++-v3: use user's AR and NM Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/724726 Closes: https://bugs.gentoo.org/792987 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r3.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)