
#15916: GHC doesn't build on powerpc64 architecture on systems other than GNU / Linux -------------------------------------+------------------------------------- Reporter: pkubaj | Owner: trommler Type: feature request | Status: patch Priority: normal | Milestone: 8.10.1 Component: Compiler | Version: 8.6.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: powerpc64 Type of failure: Building GHC | Test Case: failed | Blocked By: 15411 | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | https://gitlab.haskell.org/ghc/ghc/merge_requests/81 -------------------------------------+------------------------------------- Comment (by trommler): Replying to [comment:40 pkubaj]:
This should take care of {{{CFLAGS}}} and {{{LDFLAGS}}}.
There are no {{{RUNPATH}}} or {{{RPATH}}} entries: {{{ root@talos:$~$ readelf -d /usr/local/lib/ghc-8.6.3/bin/ghc-pkg | awk '/RUNPATH/ || /RPATH/' root@talos:$~$ }}} This explains why ghc-pkg is picking up `libgcc_s.so.1` from `/lib`. You want to make sure `/usr/local/lib/gcc8/libgcc_s.so.1` shows up in `ldd ghc-pkg`.
-- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15916#comment:41 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler