https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-libs/libstdc++-v3-3.3.6-r3 calls nm directly. Discovered on: amd64 (internal ref: ci) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html 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 NM implementation (like llvm-nm). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks].
CC'ing also the author of the commit (072701a499b6195a51955f8357248d566f1e25b2)
Created attachment 712491 [details] build.log build log and emerge --info
Possible context of error(s): checking assembler subsection support... /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6-r3/work/gcc-3.3.6/gcc/configure: line 7213: nm: command not found checking linker read-only and read-write section mixing... /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6-r3/work/gcc-3.3.6/gcc/configure: line 8110: objdump: command not found make[1]: ar: No such file or directory /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6-r3/work/gcc-3.3.6/gcc/configure: line 7214: nm: command not found
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41fa2e689f53efe62986696bf4324aca16bc874a commit 41fa2e689f53efe62986696bf4324aca16bc874a Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-07-24 09:21:45 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-07-24 09:21:59 +0000 sys-libs/libstdc++-v3: use user's AR and NM Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/724726 Closes: https://bugs.gentoo.org/792987 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r3.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)