Undefined floating point symbols on aarch64-unknown-uefi and i686-unknown-uefi #119019
Labels
A-linkage
Area: linking into static, shared libraries and binaries
C-bug
Category: This is a bug.
O-AArch64
Armv8-A or later processors in AArch64 mode
O-UEFI
UEFI
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I have the following code to reproduce the problem occured during the compilation or probably linking:
It is stored in an cargo package with the name "ex2"
I tried to compile this code for
aarch64-unknown-uefi
andi686-unknown-uefi
but I got a linking error.I could determine from the original error that it has something to do with the remainder operator
%
and%=
and created the example code above!So instead of successfully compiling and linking, linking fails, and this happened:
I got an linking error for both targets
for
i686-unknown-uefi
:and the same happened for
aarch64-unknown-uefi
:It works fine for
x86_64-unknown-uefi
but not for the other*-unknown-uefi
targetsfor
x86_64-unknown-uefi
:Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: