Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722946 - dev-lang/moarvm-2024.04 calls cc directly
Summary: dev-lang/moarvm-2024.04 calls cc directly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2020-05-14 08:33 UTC by Agostino Sarubbo
Modified: 2024-05-06 13:08 UTC (History)
1 user (show)

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

build.log (build.log,7.30 KB, text/plain)
2020-05-14 08:33 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
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.

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 and emerge --info
Comment 2 Jeff Gazso 2021-06-26 11:28:18 UTC
After reading through MoarVM's `perl --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.
Comment 7 Agostino Sarubbo gentoo-dev 2024-05-06 13:08:53 UTC
ci has reproduced this issue with version 2024.04 - Updating summary.