This is an auto-filled bug because sys-block/thin-provisioning-tools calls cc directly. The issue was originally discovered on arm64, 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 aarch64-unknown-linux-gnu-gcc and by removing the /usr/bin/cc - /usr/bin/gcc binaries.
Created attachment 636750 [details] build.log build log and emerge --info
Created attachment 864794 [details, diff] Replace call to gcc with $(CXX)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69c7647ae0eab2937fd4e7d75b8073e99866f594 commit 69c7647ae0eab2937fd4e7d75b8073e99866f594 Author: Gwendal Grignou <gwendal@chromium.org> AuthorDate: 2023-06-28 23:25:01 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-07-15 06:02:57 +0000 sys-block/thin-provisioning-tools: Do not use gcc directly Use $(CXX) when linking libft.so. BUG=b:271479944 TEST=Install on brya, check the new version. Closes: https://bugs.gentoo.org/721500 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Closes: https://github.com/gentoo/gentoo/pull/31886 Signed-off-by: Sam James <sam@gentoo.org> ...thin-provisioning-tools-0.9.0-build-fixes.patch | 25 ++++++++++++++++++++++ ...ild => thin-provisioning-tools-0.9.0-r2.ebuild} | 1 + 2 files changed, 26 insertions(+)