Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792990 - sci-libs/cdf-3.8.0 calls ar directly
Summary: sci-libs/cdf-3.8.0 calls ar directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2021-05-30 09:33 UTC by Agostino Sarubbo
Modified: 2021-07-29 02:58 UTC (History)
1 user (show)

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

build.log (build.log,58.10 KB, text/plain)
2021-05-30 09:33 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-05-30 09:33:56 UTC

Issue: sci-libs/cdf-3.8.0 calls ar directly.
Discovered on: amd64 (internal ref: ci)

This machine uses GCC-11:
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 AR implementation (like llvm-ar). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks].
Comment 1 Agostino Sarubbo gentoo-dev 2021-05-30 09:33:59 UTC
Created attachment 712494 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-05-30 09:34:01 UTC
Possible context of error(s):

make[1]: ar: No such file or directory
make[1]: gcc: No such file or directory
Comment 3 Larry the Git Cow gentoo-dev 2021-07-29 02:58:56 UTC
The bug has been closed via the following commit(s):

commit 2cdd21f573f85820be43dc8e2ca44730c269dcbe
Author:     Sam James <>
AuthorDate: 2021-07-29 02:13:01 +0000
Commit:     Sam James <>
CommitDate: 2021-07-29 02:13:25 +0000

    sci-libs/cdf: fully respect AR, CC
    We were calling AR directly but also 'gcc'
    as LD. Let's just use $(tc-getCC) as LD
    given that's now the recommended way to
    call the linker, and indeed, we use
    incompatible arguments for ld anyway.
    Signed-off-by: Sam James <>

 sci-libs/cdf/cdf-3.8.0-r1.ebuild | 2 ++
 1 file changed, 2 insertions(+)