ghc: panic! aarm7, ghc 8.10.2 and 8.10.4
Summary
I am not a Haskell programmer - but here's what I see:
-------------------------------
[198 of 199] Compiling Ouroboros.Consensus.Protocol.PBFT.State ( src/Ouroboros/Consensus/Protocol/PBFT/State.hs, dist/build/Ouroboros/Consensus/Protocol/PBFT/State.o, dist/build/Ouroboros/Consensus/Protocol/PBFT/State.dyn_o )
ghc: panic! (the 'impossible' happened)
(GHC version 8.10.2:
tcIfaceExtId
$fEqSeq_$c==
Type constructor ‘MuxPeer’
Call stack:
CallStack (from HasCallStack):
callStackDoc, called at compiler/utils/Outputable.hs:1179:37 in ghc:Outputable
pprPanic, called at compiler/iface/TcIface.hs:1710:38 in ghc:TcIface
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
cabal: Failed to build cardano-ledger-test-1.3.0 (which is required by
test:cardano-node-test from cardano-node-1.25.1 and test:cardano-cli-test from
Steps to reproduce
On Raspberry Pi 4 system with GHC 8.10.2 - also same bug with GHC 8.10.4
git clone https://github.com/input-output-hk/cardano-node.git
cd cardano-node
git fetch --all --recurse-submodules --tag
git checkout tags/1.25.1
cabal configure -O0 -w ghc-8.10.2
echo -e "package cardano-crypto-praos\n flags: -external-libsodium-vrf" > cabal.project.local
cabal build cardano-cli cardano-node
Expected behavior
I evpect cardano-node to compile :-)
Environment
- GHC version used: cabal build cardano-cli cardano-node
Optional:
- Operating System: Raspberry Pi 4, Raspbian OS
- System Architecture: arm7