Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727808 - dev-lang/nqp calls cc directly
Summary: dev-lang/nqp 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: 2021-06-26 12:07 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.