Skip to content

Undefined reference to __chkstk, __alloca when building target i686-unknown-uefi #596

@zyecheng

Description

@zyecheng

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions