Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 784917 - sys-libs/libstdc++-v3-3.3.6-r2 calls nm directly
Summary: sys-libs/libstdc++-v3-3.3.6-r2 calls nm directly
Status: RESOLVED DUPLICATE of bug 724726
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2021-04-22 06:32 UTC by Agostino Sarubbo
Modified: 2021-04-22 06:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,80.59 KB, text/plain)
2021-04-22 06:32 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-04-22 06:32:22 UTC

Issue: sys-libs/libstdc++-v3-3.3.6-r2 calls nm directly.
Discovered on: amd64 (internal ref: ci)

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] and set the NM variable to x86_64-pc-linux-gnu-nm.
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-22 06:32:24 UTC
Created attachment 701574 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-22 06:32:27 UTC
Possible context of error(s):

checking assembler subsection support... /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6-r2/work/gcc-3.3.6/gcc/configure: line 7213: nm: command not found
/var/tmp/portage/sys-libs/libstdc++-v3-3.3.6-r2/work/gcc-3.3.6/gcc/configure: line 7214: nm: command not found
checking linker read-only and read-write section mixing... /var/tmp/portage/sys-libs/libstdc++-v3-3.3.6-r2/work/gcc-3.3.6/gcc/configure: line 8110: objdump: command not found
make[1]: ar: No such file or directory
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2021-04-22 06:50:35 UTC

*** This bug has been marked as a duplicate of bug 724726 ***