Skip to content

unknown symbol `__udivti3' when BuildFlavour = perf-llvm

Building git HEAD with BuildFlavour = perf-llvm and then running the tests results in 500+ tests failing, all with the same error:

ghc-stage2: /xxx/libraries/ghc-prim/dist-install/build/HSghc-prim-0.5.0.0.o: 
unknown symbol `__udivti3'
ghc-stage2: unable to load package `ghc-prim-0.5.0.0'
Trac metadata
Trac field Value
Version 8.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information