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

Preprocessing not compatible with Linux arm64 #1556

Open
sim642 opened this issue Aug 7, 2024 · 0 comments
Open

Preprocessing not compatible with Linux arm64 #1556

sim642 opened this issue Aug 7, 2024 · 0 comments
Labels
bug preprocessing C preprocessing setup Dependencies, CI, releasing sv-comp SV-COMP (analyses, results), witnesses

Comments

@sim642
Copy link
Member

sim642 commented Aug 7, 2024

In opam-repository CI with Linux arm64, there were failures for the 2.4.0 release like:

cpp: error: unrecognized command-line option '-m64'

Apparently the -m64 and -m32 options are specific to x86 GCC: https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html#index-m32-2.

On arm64 they might be -mabi=ilp32 and -mabi=lp64: https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#index-mabi.
Somehow on M1 they aren't?!

The difficult thing is probably detecting the architecture reliably. Or maybe we should just try calling cpp to see if it errors or not.

@sim642 sim642 added bug sv-comp SV-COMP (analyses, results), witnesses setup Dependencies, CI, releasing preprocessing C preprocessing labels Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug preprocessing C preprocessing setup Dependencies, CI, releasing sv-comp SV-COMP (analyses, results), witnesses
Projects
None yet
Development

No branches or pull requests

1 participant