CmmToLlvm PrimopWrappers: MO_S_Mul2 W64 not supported here
Summary
While building HEAD (using 204f3f5d) via the LLVM Code Generator the following error shows up:
Error when running Shake build system:
at action, called at src/Rules.hs:40:19 in main:Rules
at need, called at src/Rules.hs:62:5 in main:Rules
* Depends on: _build/stage1/lib/package.conf.d/ghc-bignum-1.0.conf
at apply1, called at src/Development/Shake/Internal/Rules/Oracle.hs:159:32 in shake-0.18.5-27795e7f41adb250ceee9ce3fb63e9e41eefe2d0d86fad569a51a44222c8d0f7:Development.Shake.Internal.Rules.Oracle
* Depends on: OracleQ (ContextDataKey (Context {stage = Stage1, package = Package {pkgType = Library, pkgName = "ghc-bignum", pkgPath = "libraries/ghc-bignum"}, way = v}))
at need, called at src/Hadrian/Oracles/Cabal/Rules.hs:53:9 in main:Hadrian.Oracles.Cabal.Rules
* Depends on: _build/stage1/libraries/ghc-bignum/setup-config
at need, called at src/Rules/Library.hs:156:18 in main:Rules.Library
* Depends on: _build/stage1/libraries/ghc-prim/build/libHSghc-prim-0.7.0.a
at need, called at src/Rules/Library.hs:151:5 in main:Rules.Library
* Depends on: _build/stage1/libraries/ghc-prim/build/GHC/PrimopWrappers.o
at &%>, called at src/Rules/Compile.hs:77:9 in main:Rules.Compile
* Depends on: _build/stage1/libraries/ghc-prim/build/GHC/PrimopWrappers.o _build/stage1/libraries/ghc-prim/build/GHC/PrimopWrappers.hi
at cmd', called at src/Builder.hs:287:23 in main:Builder
at cmd, called at src/Builder.hs:373:8 in main:Builder
* Raised the exception:
Development.Shake.cmd, system command failed
Command line: _build/stage0/bin/ghc -Wall -dynamic-too -hisuf hi -osuf o -hcsuf hc -static -hide-all-packages -no-user-package-db '-package-db _build/stage1/lib/package.conf.d' '-this-unit-id ghc-prim-0.7.0' '-package-id rts-1.0' -i -i/ghc/ghc-master/_build/stage1/libraries/ghc-prim/build -i/ghc/ghc-master/_build/stage1/libraries/ghc-prim/build/autogen -i/ghc/ghc-master/libraries/ghc-prim -Iincludes -I_build/stage1/lib -I_build/stage1/libraries/ghc-prim/build -I/ghc/ghc-master/_build/stage1/lib/x86_64-linux-ghc-8.11.0.20200707/rts-1.0/include -I_build/stage1/lib -optc-I_build/stage1/lib -optP-include -optP_build/stage1/libraries/ghc-prim/build/autogen/cabal_macros.h -outputdir _build/stage1/libraries/ghc-prim/build -Wnoncanonical-monad-instances -optc-Wno-error=inline -optP-Wno-nonportable-include-path -c _build/stage1/libraries/ghc-prim/build/GHC/PrimopWrappers.hs -o _build/stage1/libraries/ghc-prim/build/GHC/PrimopWrappers.o -O0 -H64m -this-unit-id ghc-prim -XHaskell2010 -ghcversion-file=/ghc/ghc-master/_build/stage1/lib/ghcversion.h -O -Wno-deprecated-flags -Wno-trustworthy-safe -fllvm
Exit code: 1
Stderr and Stdout:
ghc: panic! (the 'impossible' happened)
(GHC version 8.11.0.20200707:
GHC.CmmToLlvm.CodeGen.cmmPrimOpFunctions: MO_S_Mul2 W64 not supported here
Environment
- GHC version used: 8.10.1
Optional:
- Operating System: Fedora 32
- System Architecture: x86-64