https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-util/kbuild calls cc directly. Discovered on: amd64 (internal ref: ci) NOTE: As per QA policy, toolchain tools must not be called directly because they can cause issue in cross-compiling and because is not possible use a different CC implementation (like clang). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks] and set the CC variable to x86_64-pc-linux-gnu-gcc.
Created attachment 651244 [details] build.log build log and emerge --info
Created attachment 651246 [details] other.tar.bz2 other logs
ci has reproduced this issue with version 0.1.9998.3499 - Updating summary.
ci has reproduced this issue with version 0.1.9998.3499-r1 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2059dfcf305fa26ba92d034ae6d889e15e6fb29 commit f2059dfcf305fa26ba92d034ae6d889e15e6fb29 Author: Viorel Munteanu <ceamac@gentoo.org> AuthorDate: 2022-11-23 11:13:48 +0000 Commit: Viorel Munteanu <ceamac@gentoo.org> CommitDate: 2022-11-27 10:06:57 +0000 dev-util/kbuild: fix compilation with clang Closes: https://bugs.gentoo.org/875449 Closes: https://bugs.gentoo.org/734302 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org> .../kbuild/files/kbuild-0.1.9998.3499-fix-CC.patch | 23 +++++++ .../kbuild-0.1.9998.3499-int-conversion.patch | 26 ++++++++ dev-util/kbuild/kbuild-0.1.9998.3499-r2.ebuild | 76 ++++++++++++++++++++++ dev-util/kbuild/kbuild-0.1.9998.3572-r2.ebuild | 69 ++++++++++++++++++++ dev-util/kbuild/kbuild-9999.ebuild | 2 + 5 files changed, 196 insertions(+)