Undefined Symbols While Compiling to x86_64-unknown-uefi #66320
Labels
A-linkage
Area: linking into static, shared libraries and binaries
C-bug
Category: This is a bug.
O-x86_64
Target: x86-64 processors (like x86_64-*) (also known as amd64 and x64)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I'm trying to compile this crate to the x86_64-unknown-uefi target and getting errors at link time.
rust-lld
seems not to be able to find symbols__sync_val_compare_and_swap_16
and__sync_lock_test_and_set_16
. I believe they are compiler intrinsics, so perhaps they should've come from rustc or the compiler_builtins crate.Build commandline used: cargo xbuild --target x86_64-unknown-uefi
Nightly version: rustc 1.40.0-nightly (9e34664 2019-11-08)
Host: Windows 10 x64
Build output:
The text was updated successfully, but these errors were encountered: