-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
swiftlang/swift-driver
#1942Labels
WindowsPlatform: WindowsPlatform: Windowsarm64Architecture: arm64 (aarch64) — any 64-bit ARMArchitecture: arm64 (aarch64) — any 64-bit ARMbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.crashBug: A crash, i.e., an abnormal termination of softwareBug: A crash, i.e., an abnormal termination of softwaretriage neededThis issue needs more specific labelsThis issue needs more specific labels
Description
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
Labels
WindowsPlatform: WindowsPlatform: Windowsarm64Architecture: arm64 (aarch64) — any 64-bit ARMArchitecture: arm64 (aarch64) — any 64-bit ARMbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.crashBug: A crash, i.e., an abnormal termination of softwareBug: A crash, i.e., an abnormal termination of softwaretriage neededThis issue needs more specific labelsThis issue needs more specific labels