Skip to content

C compiler cannot create executables when using CLANGARM64 #490

Open
@Joseph-Edwards

Description

@Joseph-Edwards

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions