Skip to content
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

Is ARM64x supported? #475

Open
justanotheranonymoususer opened this issue Jan 26, 2025 · 2 comments
Open

Is ARM64x supported? #475

justanotheranonymoususer opened this issue Jan 26, 2025 · 2 comments

Comments

@justanotheranonymoususer

I tried to create a DLL in ARM64x format using command line as following:

bin\clang.exe -shared test.cpp -target aarch64-w64-mingw32 -marm64x -o test.dll

But it seems that specifying -marm64x makes no changes to the resulting file. At least, the size is the same, I expected it to be about 30% larger.

The PE format is also still ARM64 and not ARM64x, which I verified with the System Informer PE viewer.

Are there any additional flags needed?

@mstorsjo
Copy link
Owner

ARM64X (or ARM64EC) aren’t quite supported yet.

The necessary support in LLVM isn’t available in the latest releases (19.x), but it should be mostly supported in the latest git versions of LLVM (while ARM64X still is a bit incomplete).

Mingw-w64 doesn’t yet have everything that is needed though, plus some bits about actually assembling the toolchain (for base runtime libraries like compiler-rt) also still are missing.

@justanotheranonymoususer
Copy link
Author

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

2 participants