Skip to content

Provide the same compiled binaries as for the purescript compiler (or wrong binary installed for ARM64)Β #1351

@atwm

Description

@atwm

When installing Spago on a non-intel Linux platform in particular ARM64, the installation with npm succeeds, but the actual binary installed is the X86 binary, not the ARM64.

file ~/node_modules/.bin/../spago/spago        
/home/andrew/node_modules/.bin/../spago/spago: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=c27524e02da020a91d6fa5c80a11a0fc42abb3a3, stripped 

Installing the purescript compiler on the other hand selects and installes the correct binary.

file ~/node_modules/.bin/../purescript/purs.bin 
/home/andrew/node_modules/.bin/../purescript/purs.bin: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /usr/lib/ld-linux-aarch64.so.1, for GNU/Linux 2.6.32, stripped 

I think, that either the same set of binaries should be available for both spago and purs, or at least there should be a warning, that the binary is not available for this plaform.

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