[GHC] #11981: unknown symbol `__udivti3' when BuildFlavour = perf-llvm
GHC
ghc-devs at haskell.org
Fri Aug 12 19:30:39 UTC 2016
#11981: unknown symbol `__udivti3' when BuildFlavour = perf-llvm
-------------------------------------+-------------------------------------
Reporter: erikd | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 8.0.2
Component: Compiler | Version: 8.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Phyx-):
@erikd you could probably just add it to `extra-libraries` in `libraries
\ghc-prim\ghc-prim.cabal`. This would pass it on when linking against
`ghc-prim` both interpreted and compiled.
However this won't work on Windows because on Windows `gcc_s` is an import
library with a non-standard name (.a instead of .dll.a), and we can't
identify these properly yet.
So I think your fix of adding them to `RtsSymbols.c` is good enough for
now.
I created #12486 for a way to not need to re-export these symbols from the
RTS.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11981#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list