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
The text was updated successfully, but these errors were encountered:
bjorn3
added
bug
Incorrect behavior in the current implementation that needs fixing
cranelift
Issues related to the Cranelift code generator
labels
Jan 7, 2023
.clif
Test CaseAny code which uses
global_value
or acall
to a function not marked as colocated.Steps to Reproduce
is_pic
for AArch64Expected Results
Object file has a GOT relocation and loads the address from the GOT.
Actual Results
Object file has an absolute relocation in a text section. This causes the dynamic linker to crash on macOS as the text segment is read-only.
Versions and Environment
Cranelift version or commit: 4491382
Operating system: macOS
Architecture: AArch64
Extra Info
Likely the root cause of https://bytecodealliance.zulipchat.com/#narrow/stream/217117-cranelift/topic/Tricks.20with.20linkage.20internal.20.2F.20module.20external.20functions.3F
The text was updated successfully, but these errors were encountered: