Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 734302 - dev-util/kbuild-0.1.9998.3499-r1 calls cc directly
Summary: dev-util/kbuild-0.1.9998.3499-r1 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: Viorel Munteanu
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2020-07-28 14:30 UTC by Agostino Sarubbo
Modified: 2022-11-27 10:08 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,246.22 KB, text/plain)
2020-07-28 14:30 UTC, Agostino Sarubbo
Details
other.tar.bz2 (other.tar.bz2,257 bytes, application/x-bzip-compressed-tar)
2020-07-28 14: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 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(+)