I wonder if you are compiling with 8.2.1?   It's broken.  You need 8.2.2

| -----Original Message-----
| From: ghc-devs <ghc-devs-boun...@haskell.org> On Behalf Of David Feuer
| Sent: 16 April 2018 18:22
| To: ghc-devs@haskell.org
| Subject: CI builds failing
| 
| It looks like the recent differential builds are all failing like this:
| 
| compiler/main/DynamicLoading.hs:79:19: warning: [-Wunused-matches]
|     Defined but not used: ‘hsc_env’
|    |
| 79 | initializePlugins hsc_env df
|    |                   ^^^^^^^
| ghc: panic! (the 'impossible' happened)
|   (GHC version 8.2.1 for x86_64-unknown-linux):
|       runtimeRepPrimRep
|   typePrimRep (r_apc3 :: TYPE rep_apc2)
|   rep_apc2
|   Call stack:
|       CallStack (from HasCallStack):
|         prettyCurrentCallStack, called at
| compiler/utils/Outputable.hs:1133:58 in ghc:Outputable
|         callStackDoc, called at compiler/utils/Outputable.hs:1137:37 in
| ghc:Outputable
|         pprPanic, called at compiler/simplStg/RepType.hs:360:5 in
| ghc:RepType
| Please report this as a GHC bug:
| https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.hask
| ell.org%2Fghc%2Freportabug&data=02%7C01%7Csimonpj%40microsoft.com%7C9cae
| ba32974343dc3b4008d5a3bea49b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%
| 7C636594961595926044&sdata=%2Fnn6O17%2BCIhszUh1CtWoiNcrHvuFKEVoYS%2FyWn7
| JDtk%3D&reserved=0
| make[1]: *** [compiler/stage1/build/PrelRules.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make: *** [all] Error 2
| 
| 
| Oddly, I don't see a commit to master failing like this. What's going
| on?
| 
| David
| _______________________________________________
| ghc-devs mailing list
| ghc-devs@haskell.org
| https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.has
| kell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-
| devs&data=02%7C01%7Csimonpj%40microsoft.com%7C9caeba32974343dc3b4008d5a3
| bea49b%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636594961595926044&s
| data=oy9JC8aDfj%2BmnyLwDfQQYliavRlu9oXGNLvXYof1uZc%3D&reserved=0
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to