Skip to content

GHC Panic

Summary

I encountered an ICE when building ohuac and it told me to report it here:

Preparing to install GHC (tinfo6) to an isolated location.
This will not interfere with any system-level installation.
Downloaded ghc-tinfo6-8.4.3.                                      
rts-1.0: Warning: .:466:1: The field "hugs-options" is deprecated. hugs isn't supported anymore
Installed GHC.    
ghc: panic! (the 'impossible' happened)
  (GHC version 8.4.3 for x86_64-unknown-linux):
	Prelude.chr: bad argument: 1526726659

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/nick/.stack/programs/x86_64-linux/ghc-tinfo6-8.4.3/bin/ghc-8.4.3 -rtsopts -threaded -clear-package-db -global-package-db -hide-all-packages -package base -main-is StackSetupShim.mainOverride -package Cabal-2.2.0.1 /home/nick/.stack/setup-exe-src/setup-mPHDZzAJ.hs /home/nick/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs -o /home/nick/.stack/setup-exe-cache/x86_64-linux-tinfo6/tmp-Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.3

Steps to reproduce

  1. git clone git@github.com:ohua-dev/ohuac
  2. cd ohuac
  3. stack build

Expected behavior

The compiler should not panic

Environment

  • GHC version used: GHC 8.4.3
  • Operating System: Arch Linux
  • System Architecture: x86_64
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information