This is an auto-filled bug because dev-libs/klibc 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.
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 638828 [details]
build log and emerge --info
The bug has been closed via the following commit(s):
Author: Jakov Smolic <firstname.lastname@example.org>
AuthorDate: 2021-04-14 00:07:59 +0000
Commit: Sam James <email@example.com>
CommitDate: 2021-04-14 15:29:58 +0000
dev-libs/klibc: Remove last-rited pkg
Signed-off-by: Jakov Smolic <firstname.lastname@example.org>
Signed-off-by: Sam James <email@example.com>
dev-libs/klibc/Manifest | 3 -
.../klibc/files/klibc-1.4.11-interp-flags.patch | 13 -
.../klibc/files/klibc-1.5.7-strip-fix-dash-s.patch | 12 -
dev-libs/klibc/files/klibc-2.0.2-mkfifo.patch | 15 -
dev-libs/klibc/files/klibc-2.0.3-kernel-uapi.patch | 88 ------
dev-libs/klibc/files/klibc.m4 | 94 ------
dev-libs/klibc/klibc-2.0.4-r3.ebuild | 320 ---------------------
dev-libs/klibc/metadata.xml | 5 -
profiles/package.mask | 5 -
9 files changed, 555 deletions(-)