[GHC] #15916: GHC doesn't build on powerpc64 architecture on systems other than GNU / Linux
GHC
ghc-devs at haskell.org
Wed Jan 9 16:51:49 UTC 2019
#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:17 pkubaj]:
> {{{
> root at talos:$/usr/ports/lang/ghc$
/usr/ports/default/lang/ghc/work/ghc-8.6.3-boot/lib/ghc-8.6.3/bin/ghc
> ld-elf.so.1: Shared object "libHShaskeline-0.7.4.3-ghc8.6.3.so" not
found, required by "ghc"
>
> }}}
Do not use `ghc` in `<prefix>/lib` but the shell script `ghc` in
`<prefix>/bin`. It sets an `LD-LIBRARY_PATH` if necessary.
>
> The libraries are there, though:
>
> {{{
> root at talos:$/usr/ports/lang/ghc$ find work/ghc-8.6.3-boot/libraries
-name "*.so"
> work/ghc-8.6.3-boot/libraries/Cabal/Cabal/dist-
install/build/libHSCabal-2.4.0.1-ghc8.6.3.so
> [...]
> }}}
This looks like you did not do `make install`. In that case you want to
use `inplace/bin/ghc-stage2`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15916#comment:19>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list