This is an auto-filed bug because sys-boot/tboot calls cc 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 CC implementation (like clang) by setting the CC variable. So this issue has been reproduced by setting the CC variable to x86_64-pc-linux-gnu-gcc and by removing the /usr/bin/cc - /usr/bin/gcc binaries.
Created attachment 642150 [details] build.log build log and emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=302e8ab6fca4bb824c4b9b657fa454ad163ff10e commit 302e8ab6fca4bb824c4b9b657fa454ad163ff10e Author: Christopher Byrne <salah.coronya@gmail.com> AuthorDate: 2021-12-19 22:44:08 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2021-12-20 00:54:14 +0000 sys-boot/tboot: Bump to 1.10.3 Closes: https://bugs.gentoo.org/709990 Closes: https://bugs.gentoo.org/725714 Closes: https://bugs.gentoo.org/743439 Closes: https://bugs.gentoo.org/783198 Closes: https://bugs.gentoo.org/815370 Closes: https://github.com/gentoo/gentoo/pull/15053 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Christopher Byrne <salah.coronya@gmail.com> Signed-off-by: John Helmert III <ajak@gentoo.org> sys-boot/tboot/Manifest | 1 + .../tboot/files/tboot-1.10.3-disable-Werror.patch | 12 ++++ .../tboot/files/tboot-1.10.3-disable-strip.patch | 14 +++++ sys-boot/tboot/tboot-1.10.3.ebuild | 65 ++++++++++++++++++++++ 4 files changed, 92 insertions(+)