Aarch64-Windows: Cannot build libcore with exception handling enabled #54291
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
O-AArch64
Armv8-A or later processors in AArch64 mode
O-windows-msvc
Toolchain: MSVC, Operating system: Windows
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Trying to cross-compile libcore for
aarch64-pc-windows-msvc
fails with (see also #54190 (comment)):(Note, one has to use
link.exe
instead of LLD as the linker (see #54290) in order to get that far.)The underlying problem is (probably) that
aarch64-pc-windows-msvc
defaults topanic_abort
, whilelibstd
is unconditionally compiled withpanic_unwind
. All other targets that hard-codepanic_abort
are probably#[no_std]
?Making
aarch64-pc-windows-msvc
usepanic_unwind
like the other non-embedded platforms leads to LLVM running into an error while trying to compilelibcore
:The text was updated successfully, but these errors were encountered: