Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 724726 - sys-libs/libstdc++-v3 calls ar directly
Summary: sys-libs/libstdc++-v3 calls ar directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
: 784917 (view as bug list)
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2020-05-23 13:18 UTC by Agostino Sarubbo
Modified: 2021-07-24 09:22 UTC (History)
0 users

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

build.log (build.log,83.59 KB, text/plain)
2020-05-23 13:18 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 2020-05-23 13:18:27 UTC
This is an auto-filed bug because sys-libs/libstdc++-v3 calls ar directly.
The issue was originally discovered on amd64, 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.

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 AR implementation (like llvm-ar) by setting the AR variable. So this issue has been reproduced by setting the AR variable to x86_64-pc-linux-gnu-ar and by removing the /usr/bin/ar binary.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-23 13:18:32 UTC
Created attachment 641102 [details]

build log and emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2021-04-22 06:50:36 UTC
*** Bug 784917 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2021-07-24 09:22:01 UTC
The bug has been closed via the following commit(s):

commit 41fa2e689f53efe62986696bf4324aca16bc874a
Author:     Sergei Trofimovich <>
AuthorDate: 2021-07-24 09:21:45 +0000
Commit:     Sergei Trofimovich <>
CommitDate: 2021-07-24 09:21:59 +0000

    sys-libs/libstdc++-v3: use user's AR and NM
    Reported-by: Agostino Sarubbo
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Sergei Trofimovich <>

 sys-libs/libstdc++-v3/libstdc++-v3-3.3.6-r3.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)