You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Prebuilt binary for Linux ARM is actually x86-64 #860
node-pty@1.2.0-beta.2 ships with a prebuilt binary for linux-arm64, but unfortunately it doesn’t work because it’s actually an x86-64 binary.
❯ file node_modules/node-pty/prebuilds/*/pty.node
node_modules/node-pty/prebuilds/darwin-arm64/pty.node: Mach-O 64-bit bundle arm64
node_modules/node-pty/prebuilds/darwin-x64/pty.node: Mach-O 64-bit bundle x86_64
node_modules/node-pty/prebuilds/linux-arm64/pty.node: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=9e27bfed53a8a0c4bd32668732638b8d70309795, not stripped
node_modules/node-pty/prebuilds/linux-x64/pty.node: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=f57211b22947c87ac6934de7f75c12dd37bcec7e, not stripped
node_modules/node-pty/prebuilds/win32-arm64/pty.node: PE32+ executable (DLL) (GUI) Aarch64, for MS Windows
node_modules/node-pty/prebuilds/win32-x64/pty.node: PE32+ executable (DLL) (GUI) x86-64, for MS Windows
Notice how the file command recognizes that the binaries for macOS and Windows ARM actually are arm64/Aarch64 binaries. But for Linux it says that the one for arm64 is actually an x86-64 binary.
node-pty@1.2.0-beta.2 ships with a prebuilt binary for linux-arm64, but unfortunately it doesn’t work because it’s actually an x86-64 binary.
Notice how the
filecommand recognizes that the binaries for macOS and Windows ARM actually are arm64/Aarch64 binaries. But for Linux it says that the one for arm64 is actually an x86-64 binary.Here’s the failure:
https://github.com/lydell/node-pty-smoke-test/actions/runs/20697090233/job/59413955229
'./prebuilds/linux-arm64//pty.node', but it works on the other platforms.