Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727808 - dev-lang/nqp-2024.02 calls cc directly
Summary: dev-lang/nqp-2024.02 calls cc directly
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2020-06-10 09:03 UTC by Agostino Sarubbo
Modified: 2024-03-16 21:20 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,9.59 KB, text/plain)
2020-06-10 09:03 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-06-10 09:03:02 UTC
@@This is an auto-filed bug@@
If you think that a different summary clarifies the issue better, feel free to change it.

Issue: dev-lang/nqp calls cc directly.
Discovered on: amd64

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 x86_64-pc-linux-gnu-gcc and by removing the /usr/bin/cc - /usr/bin/gcc binaries.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-10 09:03:08 UTC
Created attachment 644258 [details]
build.log

build log and emerge --info
Comment 2 Jeff Gazso 2021-06-26 11:46:23 UTC
I think this bug can be resolved by adding the following to the nqp_configure() ebuild function:

    --moar-option="--compiler=tc-getCC"

If that fails, try swapping `--compiler` with `--cc` and see what happens.
Comment 3 Jeff Gazso 2021-06-26 11:57:09 UTC
Make that 

    --moar-option="--compiler=$(tc-getCC)"

Sorry about the typo.
Comment 4 Agostino Sarubbo gentoo-dev 2021-11-25 14:24:02 UTC
ci has reproduced this issue with version 2021.10 - Updating summary.
Comment 5 Agostino Sarubbo gentoo-dev 2022-06-21 14:03:09 UTC
ci has reproduced this issue with version 2022.06 - Updating summary.
Comment 6 Agostino Sarubbo gentoo-dev 2023-02-27 19:28:42 UTC
ci has reproduced this issue with version 2023.02 - Updating summary.
Comment 7 Agostino Sarubbo gentoo-dev 2024-03-16 21:20:01 UTC
ci has reproduced this issue with version 2024.02 - Updating summary.