Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 790611 - dev-util/elfkickers-3.1a calls cc directly
Summary: dev-util/elfkickers-3.1a calls cc directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2021-05-16 21:30 UTC by Agostino Sarubbo
Modified: 2021-05-17 06:55 UTC (History)
1 user (show)

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

build.log (build.log,45.29 KB, text/plain)
2021-05-16 21:30 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-16 21:30:46 UTC

Issue: dev-util/elfkickers-3.1a calls cc 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 CC implementation (like clang). To reproduce, please use sys-devel/gcc-config[-native-symlinks], sys-devel/binutils-config[-native-symlinks].
Comment 1 Agostino Sarubbo gentoo-dev 2021-05-16 21:30:49 UTC
Created attachment 709221 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-05-17 06:55:36 UTC
The bug has been closed via the following commit(s):

commit ee1370cff3eb72ba405aff96423cd2ab8016ded4
Author:     Sergei Trofimovich <>
AuthorDate: 2021-05-17 06:55:19 +0000
Commit:     Sergei Trofimovich <>
CommitDate: 2021-05-17 06:55:33 +0000

    dev-util/elfkickers: use $(CC) -E, not gcc -E
    Reported-by: Agostino Sarubbo
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Sergei Trofimovich <>

 dev-util/elfkickers/elfkickers-3.1a.ebuild        |  1 +
 dev-util/elfkickers/files/elfkickers-3.1-CC.patch | 12 ++++++++++++
 2 files changed, 13 insertions(+)