Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721500 - sys-block/thin-provisioning-tools calls cc directly
Summary: sys-block/thin-provisioning-tools 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: Robin Johnson
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2020-05-07 15:41 UTC by Agostino Sarubbo
Modified: 2023-07-15 06:07 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,80.08 KB, text/plain)
2020-05-07 15:42 UTC, Agostino Sarubbo
Details
Replace call to gcc with $(CXX) (0001-sys-block-thin-provisioning-tools-Do-not-use-gcc-dir.patch,2.47 KB, patch)
2023-06-28 23:33 UTC, gwendal grignou
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-05-07 15:41:54 UTC
This is an auto-filled bug because sys-block/thin-provisioning-tools calls cc directly.
The issue was originally discovered on arm64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
If you think it doesn't make sense fix these type of issues, I'd like to point out that won't be possible use a different CC implementation (like clang) by setting the CC variable. So this issue has been reproduced by setting the CC variable to aarch64-unknown-linux-gnu-gcc and by removing the /usr/bin/cc - /usr/bin/gcc binaries.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-07 15:42:04 UTC
Created attachment 636750 [details]
build.log

build log and emerge --info
Comment 2 gwendal grignou 2023-06-28 23:33:29 UTC
Created attachment 864794 [details, diff]
Replace call to gcc with $(CXX)
Comment 3 Larry the Git Cow gentoo-dev 2023-07-15 06:07:27 UTC
The bug has been closed via the following commit(s):

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

commit 69c7647ae0eab2937fd4e7d75b8073e99866f594
Author:     Gwendal Grignou <gwendal@chromium.org>
AuthorDate: 2023-06-28 23:25:01 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-15 06:02:57 +0000

    sys-block/thin-provisioning-tools: Do not use gcc directly
    
    Use $(CXX) when linking libft.so.
    
    BUG=b:271479944
    TEST=Install on brya, check the new version.
    
    Closes: https://bugs.gentoo.org/721500
    Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
    Closes: https://github.com/gentoo/gentoo/pull/31886
    Signed-off-by: Sam James <sam@gentoo.org>

 ...thin-provisioning-tools-0.9.0-build-fixes.patch | 25 ++++++++++++++++++++++
 ...ild => thin-provisioning-tools-0.9.0-r2.ebuild} |  1 +
 2 files changed, 26 insertions(+)