Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 790611

Summary: dev-util/elfkickers-3.1a calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: hardened
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

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(+)