Skip to content

Stack can't be built with 32-bit GHC >= 9.2.2, due to its basement dependency #6753

@ii8

Description

@ii8

On a 32bit linux machine if I try to compile stack this error occurs:

[19 of 84] Compiling Basement.Numerical.Conversion ( Basement/Numerical/Conversion.hs, dist/build/Basement/Numerical/Conversion.o, dist/build/Bal/Conversion.dyn_o )
Basement/Numerical/Conversion.hs:29:1: error: [GHC-87110]
     Could not find module ‘GHC.IntWord64’.
     Use -v to see a list of the files searched for.
    |
 29 | import GHC.IntWord64
    | ^^^^^^^^^^^^^^^^^^^^
 [20 of 84] Compiling Basement.Numerical.Number ( Basement/Numerical/Number.hs, dist/build/Basement/Numerical/Number.o, dist/build/Basement/Numer_o )
 [22 of 84] Compiling Basement.Types.Char7 ( Basement/Types/Char7.hs, dist/build/Basement/Types/Char7.o, dist/build/Basement/Types/Char7.dyn_o )
 [23 of 84] Compiling Basement.Base16  ( Basement/Base16.hs, dist/build/Basement/Base16.o, dist/build/Basement/Base16.dyn_o )
 Error: cabal: Failed to build basement-0.0.16 (which is required by stack-3.7.1).

OS: Void linux
arch: i686
stack version: 3.7.1
ghc version: 9.8.4

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