zengyun261 opened issue #12818:
For the cranelift-object target on aarch64-apple-darwin, if module.declare_anonymous_data or declare_data is called without using Linkage::Preemptible, an Aarch64AdrPrelPgHi21 instruction is generated, causing a relocation error: “not implemented: Aarch64AdrPrelPgHi21”.
zengyun261 added the bug label to Issue #12818.
zengyun261 added the cranelift label to Issue #12818.
cfallin commented on issue #12818:
cc @bjorn3 (for
cranelift-object)?I suspect the fix might be as simple as implementing that relocation -- @zengyun261 would you be interested in sending a PR if so?
zengyun261 commented on issue #12818:
I appreciate the opportunity! However, I'm just a beginner and don't feel confident enough to tackle this issue yet.
alexcrichton added the cranelift:area:aarch64 label to Issue #12818.
eckertliam commented on issue #12818:
Hi, I'd like to take a shot at doing this.
Last updated: Mar 23 2026 at 16:19 UTC