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

Bug 734302

Summary: dev-util/kbuild-0.1.9998.3499-r1 calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Viorel Munteanu <ceamac>
Status: RESOLVED FIXED    
Severity: normal CC: marc_heimann
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/28399
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log
other.tar.bz2

Description Agostino Sarubbo gentoo-dev 2020-07-28 14:30:47 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

NOTE:
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] and set the CC variable to x86_64-pc-linux-gnu-gcc.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-28 14:30:52 UTC
Created attachment 651244 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-07-28 14:30:54 UTC
Created attachment 651246 [details]
other.tar.bz2

other logs
Comment 3 Agostino Sarubbo gentoo-dev 2021-10-20 07:41:10 UTC
ci has reproduced this issue with version 0.1.9998.3499 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2022-11-21 08:19:17 UTC
ci has reproduced this issue with version 0.1.9998.3499-r1 - Updating summary.
Comment 5 Larry the Git Cow gentoo-dev 2022-11-27 10:08:50 UTC
The bug has been closed via the following commit(s):

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

commit f2059dfcf305fa26ba92d034ae6d889e15e6fb29
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2022-11-23 11:13:48 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2022-11-27 10:06:57 +0000

    dev-util/kbuild: fix compilation with clang
    
    Closes: https://bugs.gentoo.org/875449
    Closes: https://bugs.gentoo.org/734302
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 .../kbuild/files/kbuild-0.1.9998.3499-fix-CC.patch | 23 +++++++
 .../kbuild-0.1.9998.3499-int-conversion.patch      | 26 ++++++++
 dev-util/kbuild/kbuild-0.1.9998.3499-r2.ebuild     | 76 ++++++++++++++++++++++
 dev-util/kbuild/kbuild-0.1.9998.3572-r2.ebuild     | 69 ++++++++++++++++++++
 dev-util/kbuild/kbuild-9999.ebuild                 |  2 +
 5 files changed, 196 insertions(+)