Commit bd0c3106 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo
Browse files

Fix GHCi perf-llvm build on x86_64

With BuildFlavour set to `perf-llvm`, GHCi would fail as soon as it
was run with:

  ghc-stage2: .../ghc-prim/dist-install/build/HSghc-prim-
  unknown symbol `__udivti3'
  ghc-stage2: unable to load package `ghc-prim-'

Fix this by adding `__udivti3` and `__umodti3` to RtsSymbols.c.

Test Plan: Validate

Reviewers: simonmar, austin, bgamari, Phyx, trofi

Reviewed By: Phyx, trofi

Subscribers: thomie

Differential Revision:

GHC Trac Issues: #11981
parent ac0e1125
......@@ -762,6 +762,10 @@
SymI_NeedsProto(__ashrdi3) \
SymI_NeedsProto(__lshrdi3) \
#elif defined(__GNUC__) && SIZEOF_VOID_P == 8
SymI_NeedsProto(__udivti3) \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment