This is an auto-filed bug because games-util/wit 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 641082 [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=48a5b269397a4dfb5c52a1e598c0d568bdfe6a9b commit 48a5b269397a4dfb5c52a1e598c0d568bdfe6a9b Author: David Seifert <soap@gentoo.org> AuthorDate: 2020-10-03 22:50:44 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-10-03 22:50:44 +0000 games-util/wit: Fix -fno-common Bug: https://bugs.gentoo.org/742404 Closes: https://bugs.gentoo.org/706610 Closes: https://bugs.gentoo.org/724706 Closes: https://bugs.gentoo.org/739408 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org> games-util/wit/files/wit-3.02a-fno-common.patch | 11 ++ games-util/wit/files/wit-3.02a-makefile.patch | 113 +++++++++++++++++++-- ...c-stack.patch => wit-3.02a-no-exec-stack.patch} | 0 games-util/wit/wit-3.02a.ebuild | 25 +++-- 4 files changed, 129 insertions(+), 20 deletions(-)