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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
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: ---


Attachments
build.log (build.log,45.29 KB, text/plain)
2021-05-16 21:30 UTC, Agostino Sarubbo
Details

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
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/elfkickers-3.1a calls cc directly.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
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

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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee1370cff3eb72ba405aff96423cd2ab8016ded4

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

    dev-util/elfkickers: use $(CC) -E, not gcc -E
    
    Reported-by: Agostino Sarubbo
    Closes: https://bugs.gentoo.org/790611
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

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