You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently ported Virgil to x86-64-darwin, i.e. 64-bit MacOS on Intel. I expected that the binaries generated would work automatically under Rosetta 2, but they apparently do not.
Tinkering with the segment layouts in aeneas/src/x86-64/X86_64Darwin.v3 can get past that, but other errors remain. I am not sure what the rules are for Rosetta.
The text was updated successfully, but these errors were encountered:
I believe Rosetta 2 requires executables to use PIC (position independent code). PIE and fixed addresses are not supported I think. At least when linking a non-PIC executable you get the following warning: ld: warning: PIE disabled. Absolute addressing (perhaps -mdynamic-no-pic) not allowed in code signed PIE, but used in ... from ...o. To fix this warning, don't compile with -mdynamic-no-pic or link with -Wl,-no_pie
I recently ported Virgil to
x86-64-darwin
, i.e. 64-bit MacOS on Intel. I expected that the binaries generated would work automatically under Rosetta 2, but they apparently do not.I could some help debugging some issues.
Tinkering with the segment layouts in
aeneas/src/x86-64/X86_64Darwin.v3
can get past that, but other errors remain. I am not sure what the rules are for Rosetta.The text was updated successfully, but these errors were encountered: