Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718370 - app-misc/linux-logo calls cc directly
Summary: app-misc/linux-logo calls cc directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2020-04-19 17:11 UTC by Agostino Sarubbo
Modified: 2020-04-23 21:58 UTC (History)
0 users

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

build.log (build.log,15.83 KB, text/plain)
2020-04-19 17:12 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 2020-04-19 17:11:59 UTC
This is an auto-filled bug because app-misc/linux-logo calls cc directly.
The issue was originally discovered on arm64, but it may be reproducible on other arches as well.
Attached build log and emerge --info.

To reproduce this issue you may want to temporarily move the /usr/bin/cc - /usr/bin/gcc binaries.
Comment 1 Agostino Sarubbo gentoo-dev 2020-04-19 17:12:08 UTC
Created attachment 633736 [details]

build log and emerge --info
Comment 2 Bernard Cafarelli gentoo-dev 2020-04-23 21:41:46 UTC
OK, this was partially fixed before apparently, with src_compile() using correct CC, but not src_configure().

I will try to make it set correctly from configure step (and just leave default compilation after that)
Comment 3 Larry the Git Cow gentoo-dev 2020-04-23 21:58:51 UTC
The bug has been closed via the following commit(s):

commit 8124fadf4a2b629eecb56a06edd6f2f383beb233
Author:     Bernard Cafarelli <>
AuthorDate: 2020-04-23 21:44:26 +0000
Commit:     Bernard Cafarelli <>
CommitDate: 2020-04-23 21:55:47 +0000

    app-misc/linux-logo: set CC and flags directly in configure
    Previously, this was set only from src_compile(), which can cause
    incorrcet flags being added at configure run (custom script)
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Bernard Cafarelli <>

 .../files/linux-logo-5.11-configure.patch          | 78 +++++++++++++++++++++
 app-misc/linux-logo/linux-logo-5.11-r5.ebuild      | 80 ++++++++++++++++++++++
 2 files changed, 158 insertions(+)