-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
compiler-rt does not define aarch64 outline atomics #10086
Copy link
Copy link
Closed
Labels
arch-aarch6464-bit Arm64-bit ArmbugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorenhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.
Milestone
Metadata
Metadata
Assignees
Labels
arch-aarch6464-bit Arm64-bit ArmbugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorenhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.
Zig Version
0.9.0-dev.1551+8346e011c
Steps to Reproduce
On aarch64 linux:
gcc main.czig cc main.cgcc -moutline-atomics main.czig cc -moutline-atomics main.cExpected Behavior
I expect all variations to compile and run correctly.
Actual Behavior
zig cc -moutline-atomics main.cfails to compile:I discovered this issue while attempting to cross compile Rust to aarch64-linux with
zig cc. Rust enables outline atomics by default on aarch64-linux and currently prohibits disabling them.