Undefined reference to __chkstk, __alloca when building target i686-unknown-uefi
zyecheng opened this issue · 0 comments
zyecheng commented
libcompiler_builtins provide implementations of __chkstk, __alloca in src/x86.rs. But they are not enabled for UEFI build and thus not available on target i686-unknown-uefi. x86_64-unknown-uefi seems to have the same issue before but was fixed with f4a2143. I wonder if the same fix can be cherry-picked to src/x86.rs, so that it can be used by i686-unknown-uefi.
CC @nicholasbishop who was the original author of the x86_64_fix. Thanks!