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

GHC panic when building with stack #204

Open
jaccokrijnen opened this issue Dec 7, 2022 · 0 comments
Open

GHC panic when building with stack #204

jaccokrijnen opened this issue Dec 7, 2022 · 0 comments

Comments

@jaccokrijnen
Copy link

jaccokrijnen commented Dec 7, 2022

I tried to install with the instructions, but got the following error using stack 2.9.1:

jacco@betal082367:~/sources/hs-to-coq$ stack clean
jacco@betal082367:~/sources/hs-to-coq$ stack build
ghc: panic! (the 'impossible' happened)
  (GHC version 8.4.3 for x86_64-unknown-linux):
	Prelude.chr: bad argument: 2600468483

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug


--  While building simple Setup.hs (scroll up to its section to see the error) using:
      /home/jacco/.ghcup/ghc/8.4.3/bin/ghc -rtsopts -threaded -clear-package-db -global-package-db -hide-all-packages -package base -main-is StackSetupShim.mainOverride -package Cabal-2.2.0.1 /home/jacco/.stack/setup-exe-src/setup-mPHDZzAJ.hs /home/jacco/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs -o /home/jacco/.stack/setup-exe-cache/x86_64-linux/tmp-Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.3
    Process exited with code: ExitFailure 1

As a work-around, I tried running cabal build with ghc 8.10.7, which worked fine.

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

No branches or pull requests

1 participant