[GHC] #15916: GHC doesn't build on powerpc64 architecture on systems other than GNU / Linux

GHC ghc-devs at haskell.org
Sun Jan 13 22:04:50 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 pkubaj):

 {{{
 root at openvas:$/usr/ports/lang/ghc/work/ghc-8.6.3/inplace/bin$ ls
 count_lines     deriveConstants genapply        genprimopcode   ghc-cabal
 ghc-pkg         ghc-stage1      ghc-stage2      hp2ps           hpc
 hsc2hs          mkdirhier       runghc
 }}}


 {{{
 root at openvas:$/usr/ports/lang/ghc/work/ghc-8.6.3$ tar tvvf ghc-8.6.3-boot-
 powerpc64-portbld-freebsd.tar.xz | grep inplace
 -rwxr-xr-x  0 root   wheel        43 Jan 13 19:42
 ghc-8.6.3-boot/inplace/bin/mkdirhier
 -rwxr-xr-x  0 root   wheel      8864 Jan 13 20:15
 ghc-8.6.3-boot/inplace/lib/bin/ghc-split
 }}}


 So it looks like {{{binary-dist}}} step is wrong. I'll soon upload a full
 log.

 ldd:
 {{{
 /usr/local/lib/ghc-8.6.3/bin/ghc-pkg:
         libm.so.5 => /lib/libm.so.5 (0x811318000)
         libncursesw.so.8 => /lib/libncursesw.so.8 (0x81135e000)
         libutil.so.9 => /lib/libutil.so.9 (0x8113e4000)
         librt.so.1 => /usr/lib/librt.so.1 (0x81140f000)
         libdl.so.1 => /usr/lib/libdl.so.1 (0x811427000)
         libthr.so.3 => /lib/libthr.so.3 (0x811439000)
         libc.so.7 => /lib/libc.so.7 (0x811483000)
         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x8117ea000)
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15916#comment:37>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list