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

GHC ghc-devs at haskell.org
Thu Jan 10 14:19:15 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):

 Running {{{make install}}} on powerpc64 throws error:
 {{{ghc-cabal: '/usr/local/lib/ghc-8.6.3/bin/ghc-pkg' exited with an error:
 array-0.5.3.0: Warning: haddock-interfaces:
 /usr/local/share/doc/ghc-8.6.3/html/libraries/array-0.5.3.0/array.haddock
 doesn't exist or isn't a file
 array-0.5.3.0: dependency "base-4.12.0.0" doesn't exist (use --force to
 override)}}}

 Still, {{{ghc}}} binary was installed, and it works.

 When i had {{{DYNAMIC_GHC_PROGRAMS=YES}}}, I used the script from
 {{{bin/ghc}}}, but it threw the same error. It works with it disabled.

 When {{{DYNAMIC_GHC_PROGRAMS=YES}}}, {{{inplace/bin/ghc-stage2}}} is not
 present. {{{ghc-stage2}}} is in {{{ghc/stage2/build/tmp}}}:
 {{{
 root at talos:$/home/pkubaj/ghc-8.6.3-boot$ find . -name ghc-stage2
 ./ghc/stage2/build/tmp/ghc-stage2
 }}}

 This binary seems to run ok.


 {{{
 root at talos:$/home/pkubaj/ghc-8.6.3-boot$ ./ghc/stage2/build/tmp/ghc-stage2
 --version
 The Glorious Glasgow Haskell Compilation System, version 8.6.3
 }}}

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


More information about the ghc-tickets mailing list