Skip to content

[windows-11-arm] libclang broken #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 4 tasks
larseggert opened this issue Apr 24, 2025 · 3 comments
Open
1 of 4 tasks

[windows-11-arm] libclang broken #90

larseggert opened this issue Apr 24, 2025 · 3 comments

Comments

@larseggert
Copy link

Type of issue

  • Error when running a workflow.
  • Request for additional tools or software for an existing image.
  • Request for a new image, Linux or Windows.
  • Other

Describe the issue
The libclang installation seems to be broken.

To Reproduce
See https://github.com/mozilla/neqo/actions/runs/14637255215/job/41071172528?pr=2591#step:6:329

Expected behavior
Would expect the LoadLibraryExW call to succeed.

Screenshots

 Unable to find libclang: "the `libclang` shared library at C:\\Program Files\\LLVM\\bin\\libclang.dll could not be opened: LoadLibraryExW failed"

Desktop (please complete the following information):

  • OS: [windows-11-arm]
@jeremyd2019
Copy link

The LLVM installation is probably also x86_64 and you're trying to load it from an aarch64 process.

@kasper93
Copy link

kasper93 commented Apr 24, 2025

The LLVM installation is probably also x86_64 and you're trying to load it from an aarch64 process.

Exactly. You can use https://github.com/marketplace/actions/install-llvm-and-clang to install aarch64 version. Or download manually https://github.com/llvm/llvm-project/releases Note that prebuilt binaries for aarch64 are available since v20.1.0.

Generally this image has most tools installed in x86 versions and uses emulation. I think it's not sustainable, especially since the target of those images is to build/test native aarch64 binaries. I think the better strategy would be to install only native binaries in base image and if anything is not available at the time it can be installed by the user as x86, but with explicit decision to do so as it carry some implications.

@pareenaverma
Copy link

Thank you for reporting this issue. We will updating the LLVM toolchain with the native arm installation in the next version of the image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants