Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,862
    • Issues 4,862
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 455
    • Merge requests 455
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #17262
Closed
Open
Created Sep 27, 2019 by Ilias Tsitsimpis@iliastsiReporter

doctests stuck on big-endian 64-bit architectures

Summary

We noticed that with ghc-8.6.5, doctests are failing (stuck for ever) on big-endian 64-bit architectures.

Steps to reproduce

$ cabal get distributive
$ cd distributive-0.6.1
$ cabal install --enable-tests

$ ghci
>>> import Data.Distributive
>>> distribute [(+1),(+2)] 1
[2,3]

which runs successfully, but if I try to load the package from the build directory:

$ ghci -i \
-i.../distributive-0.6.1/dist/build/autogen \
-i.../distributive-0.6.1/dist/build \
-i.../distributive-0.6.1/src \
-hide-all-packages \
-package-db=dist/package.conf.inplace \
-optP-include \
-optPdist/build/autogen/cabal_macros.h \
-package-id=base-4.12.0.0 \
-package-id=base-orphans-0.8.1-HeyTAcy4PKhDcGhjvJwDzq \
-package-id=tagged-0.8.6-AoE7RQX12AwJxLvAxGYxtP \
-package-id=transformers-0.5.6.2 \
-package=distributive-0.6.1 \
Data.Distributive
>>> distribute [(+1),(+2)] 1

it gets stuck. I believe the above is the reason why doctests are not completing.

Environment

  • GHC version used: v8.6.5

This used to work with ghc-8.4.4.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking