Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 722946

Summary: dev-lang/moarvm-2024.02 calls cc directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Patrick Lauer <patrick>
Status: CONFIRMED ---    
Severity: normal CC: jeff.gazso
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-05-14 08:33:07 UTC
This is an auto-filled bug because dev-lang/moarvm calls cc directly.
The issue was originally discovered on amd64, 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 x86_64-pc-linux-gnu-gcc and by removing the /usr/bin/cc - /usr/bin/gcc binaries.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-14 08:33:15 UTC
Created attachment 638814 [details]
build.log

build log and emerge --info
Comment 2 Jeff Gazso 2021-06-26 11:28:18 UTC
After reading through MoarVM's `perl Configure.pl --help`, I think this bug can be resolved by setting the `--compiler` line as follows:

    "--compiler" "$(tc-getCC)"

If that fails, try swapping the `--compiler` flag for the `--cc` flag instead.
Comment 3 Agostino Sarubbo gentoo-dev 2021-11-25 14:23:50 UTC
ci has reproduced this issue with version 2021.10 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2022-06-21 14:02:53 UTC
ci has reproduced this issue with version 2022.06 - Updating summary.
Comment 5 Agostino Sarubbo gentoo-dev 2023-02-27 19:28:29 UTC
ci has reproduced this issue with version 2023.02 - Updating summary.
Comment 6 Agostino Sarubbo gentoo-dev 2024-03-16 21:19:48 UTC
ci has reproduced this issue with version 2024.02 - Updating summary.