C compiler cannot create executables when using `CLANGARM64`
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 392
- Forks
- 52
- Avg merge
- 52m
- Merged PRs (30d)
- 7
Description
Summarry
I am adding a workflow job that compiles some C code on windows using msys2 with autotools. When I specify msystem to be MINGW64, MINGW32, UCRT64 or CLANG64 everything works fine. However, when I specify msystem to be CLANGARM64, I get an error when running ./configure which says "C compiler cannot create executables".
MRE
Inside .github/workflows/mre.yml
name: test
on: workflow_dispatch
jobs:
msys:
defaults:
run:
shell: msys2 {
runs-on: windows-latest
steps:
- uses: msys2/setup-msys2@v2
with:
update: true
msystem: CLANGARM64
pacboy: toolchain autotools
- uses: actions/checkout@v4
- name: Configure . . .
run: autoreconf -if && ./configure
Expected behaviour
Everything to pass, as is the case when changing CLANGARM64 to one of the other systems.
Additional info
Please see config.log for the detailed log, and this action for the place where this error occurred.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with .github/workflows/mre.yml and reproduce the CLANGARM64 run using autoreconf -if && ./configure. Read the linked config.log and failed GitHub Actions run to identify why the C compiler cannot create executables; done means the workflow passes with CLANGARM64 as it does for the other MSYS2 systems.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, github-actions, shell
- Domain
- build-system, ci-cd, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100