-
Notifications
You must be signed in to change notification settings - Fork 502
Closed
Labels
Description
@ana-pantilie identified an issue with the build process of the certifier when enabling profiling:
On latest plutus master:
nix develop .#profiled cabal build plutus-metatheory --enable-profilingYou should at some point see an error like:
... [ 24 of 284] Compiling MAlonzo.Code.Data.Sign.Base ( src/MAlonzo/Code/Data/Sign/Base.hs, /home/ana/Workspace/IOG/plutus/dist-newstyle/build/x86_64-linux/ghc-9.6.7/plutus-metatheory-1.54.0.0/build/MAlonzo/Code/Data/Sign/Base.p_o ) <no location info>: error: panic! (the 'impossible' happened) GHC version 9.6.7: getStgArgFromTrivialArg (scc<d_'42''45'1'45'rawGroup_24> d__'42'__14) `cast` (SelCo:Fun(arg) (Sub Univ(nominal CorePrep :: (T_Sign_6 -> T_Sign_6 -> T_Sign_6) -> Any -> (T_Sign_6 -> T_Sign_6) -> T_RawGroup_96, (Any -> Any -> Any) -> Any -> (Any -> Any) -> T_RawGroup_96)) :: (T_Sign_6 -> T_Sign_6 -> T_Sign_6) ~R# (Any -> Any -> Any)) Call stack: CallStack (from HasCallStack): callStackDoc, called at compiler/GHC/Utils/Panic.hs:189:37 in ghc:GHC.Utils.Panic pprPanic, called at compiler/GHC/CoreToStg.hs:587:13 in ghc:GHC.CoreToStg CallStack (from HasCallStack): panic, called at compiler/GHC/Utils/Error.hs:454:29 in ghc:GHC.Utils.Error Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
It was reproduced by @luite:
Thanks, I can reproduce it with 9.6.7 inside and outside nix. 9.12.2 compiles it succesfully. I'll check if this has already been fixed
Reactions are currently unavailable