Skip to content

swift repl crashes immediately on Windows ARM64 #79981

Open
@jakepetroules

Description

@jakepetroules

Description

Running the repl will crash immediately on Windows ARM64 with the x86_64 toolchain.

The exit code is -1073741701 (0xC000007B aka STATUS_INVALID_IMAGE_FORMAT), which is emitted when the program tries to load a dll with the wrong architecture.

This does not occur with Windows x86_64. I haven't tested what happens with the arm64 toolchain.

Reproduction

swift repl

Stack dump

N/A

Expected behavior

Expected the repl to work correctly, as on Windows x86_64 and on other platforms.

Environment

Swift version 6.1-dev (LLVM a04e1218b22ff47, Swift fc66ec8)
Target: x86_64-unknown-windows-msvc

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    WindowsPlatform: Windowsarm64Architecture: arm64 (aarch64) — any 64-bit ARMbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.crashBug: A crash, i.e., an abnormal termination of softwaretriage neededThis issue needs more specific labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions