Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find module ‘GHC.IntWord64’ on GHC 9.2 + i386 #484

Closed
Bodigrim opened this issue Feb 10, 2022 · 1 comment · Fixed by #486
Closed

Could not find module ‘GHC.IntWord64’ on GHC 9.2 + i386 #484

Bodigrim opened this issue Feb 10, 2022 · 1 comment · Fixed by #486
Milestone

Comments

@Bodigrim
Copy link
Contributor

Bodigrim commented Feb 10, 2022

As reported by @mpickering at https://gitlab.haskell.org/ghc/ghc/-/issues/20781#note_407377:

On the 9.2 branch the bump seems to fail to build on the i386 job.
https://gitlab.haskell.org/ghc/ghc/-/jobs/937122

libraries/bytestring/Data/ByteString/Builder/RealFloat/Internal.hs:90:8: error:
   Could not find module ‘GHC.IntWord64’
   Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
90 | import GHC.IntWord64
   |        ^^^^^^^^^^^^^
make[1]: *** [libraries/bytestring/dist-install/build/.depend-v-dyn.haskell] Error 1
@Bodigrim
Copy link
Contributor Author

https://gitlab.haskell.org/ghc/ghc/-/issues/20781#note_408101:

It appears that the CPP around the GHC.IntWord64 does attempt to account for its removal:

#if WORD_SIZE_IN_BITS < 64 && __GLASGOW_HASKELL__ < 903
import GHC.IntWord64
#endif

However, the version bound is wrong: the removal was performed in 41d6cfc4, which is present in %9.2.1.

sjakobi added a commit that referenced this issue Feb 15, 2022
Bodigrim added a commit that referenced this issue Feb 16, 2022
* Fix build with GHC 9.2 on i386

Fixes #484.

* Update Data/ByteString/Builder/RealFloat/Internal.hs

Co-authored-by: ˌbodʲɪˈɡrʲim <[email protected]>

Co-authored-by: ˌbodʲɪˈɡrʲim <[email protected]>
sjakobi added a commit that referenced this issue Feb 16, 2022
* Fix build with GHC 9.2 on i386

Fixes #484.

* Update Data/ByteString/Builder/RealFloat/Internal.hs

Co-authored-by: ˌbodʲɪˈɡrʲim <[email protected]>

Co-authored-by: ˌbodʲɪˈɡrʲim <[email protected]>
(cherry picked from commit cb629e0)
@Bodigrim Bodigrim added this to the 0.11.3.0 milestone Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant