This is an auto-filed bug because net-dialup/openl2tp 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 641330 [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=fcee0a2dfee5920e09772a604f72faa96d264209 commit fcee0a2dfee5920e09772a604f72faa96d264209 Author: Andrew Savchenko <bircoph@gentoo.org> AuthorDate: 2020-07-11 07:52:08 +0000 Commit: Andrew Savchenko <bircoph@gentoo.org> CommitDate: 2020-07-11 07:55:45 +0000 net-dialup/openl2tp: use native tc variables If native toolchain variables are provided (e.g. CC), use them. Closes: https://bugs.gentoo.org/724964 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> .../openl2tp/files/openl2tp-1.8-native-tc.patch | 23 ++++++++++++++++++++++ net-dialup/openl2tp/openl2tp-1.8-r1.ebuild | 1 + 2 files changed, 24 insertions(+)