Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 765754 - sys-devel/slibtool-0.5.31 calls cc directly
Summary: sys-devel/slibtool-0.5.31 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: Felix Janda
URL:
Whiteboard:
Keywords: PATCH
: 757951 (view as bug list)
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2021-01-17 14:02 UTC by Agostino Sarubbo
Modified: 2021-03-22 17:53 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,9.42 KB, text/plain)
2021-01-17 14:03 UTC, Agostino Sarubbo
Details
slibtool_ebuilds.diff (slibtool-CC.patch,2.14 KB, patch)
2021-01-17 20:19 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-01-17 14:02:57 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-devel/slibtool-0.5.31 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 2021-01-17 14:03:00 UTC
Created attachment 683317 [details]
build.log

build log and emerge --info
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-01-17 20:19:56 UTC
Created attachment 683389 [details, diff]
slibtool_ebuilds.diff

Possible fix...
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2021-01-29 12:50:07 UTC
@Felix: ping
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-19 23:29:49 UTC
*** Bug 757951 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2021-03-22 17:53:53 UTC
The bug has been closed via the following commit(s):

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

commit c02dabd4c84d394480aa27da41f82c5096991817
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-03-22 17:53:25 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-03-22 17:53:47 +0000

    sys-devel/slibtool: Don't call cc directly
    
    Closes: https://bugs.gentoo.org/765754
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-devel/slibtool/slibtool-0.5.31.ebuild | 8 +++++++-
 sys-devel/slibtool/slibtool-0.5.32.ebuild | 8 +++++++-
 sys-devel/slibtool/slibtool-9999.ebuild   | 8 +++++++-
 3 files changed, 21 insertions(+), 3 deletions(-)