Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 863521

Summary: sys-libs/libstdc++-v3-3.3.6-r4 calls nm directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2022-08-04 06:46:56 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-libs/libstdc++-v3-3.3.6-r4 calls nm 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 NM implementation (like llvm-nm). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks].
Comment 1 Agostino Sarubbo gentoo-dev 2022-08-04 06:47:00 UTC
Created attachment 797413 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2022-08-04 06:47:02 UTC
Error(s) that match a know pattern:


 5084 |     fatal_insn ("could not find a spill register", insn);
checking assembler subsection support... /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6-r4/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-r4/work/gcc-3.3.6/gcc/configure: line 8110: objdump: command not found
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6-r4/work/gcc-3.3.6/gcc/configure: line 7214: nm: command not found
configure: error: installation or configuration problem: C compiler cannot create executables.