[GHC] #15916: GHC doesn't build on powerpc64 architecture on systems other than GNU / Linux
GHC
ghc-devs at haskell.org
Fri Jan 11 19:41:47 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):
Replying to [comment:21 trommler]:
> Replying to [comment:20 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.
> This is the bootstrap compiler that was cross compiled, isn't it?
>
> Does the compiler produced with the bootstrap compiler work?
Not really.
{{{
gmake install
}}}
didn't finish because of an error.
{{{ghc}}} is there, but not all libraries are.
{{{
root at talos:$~$ ghc --interactive
GHCi, version 8.6.3: http://www.haskell.org/ghc/ :? for help
<interactive>:1:6: error:
Not in scope:
`System.IO.hSetBuffering'
No module named `System.IO' is imported.
<interactive>:1:30: error:
Not in scope:
`System.IO.stdin'
No module named `System.IO' is imported.
<interactive>:1:46: error:
Not in scope:
data constructor `System.IO.NoBuffering'
No module named `System.IO' is imported.
<interactive>:1:70: error:
Not in scope:
`System.IO.hSetBuffering'
No module named `System.IO' is imported.
<interactive>:1:94: error:
Not in scope:
`System.IO.stdout'
No module named `System.IO' is imported.
<interactive>:1:111: error:
Not in scope:
data constructor `System.IO.NoBuffering'
No module named `System.IO' is imported.
<interactive>:1:135: error:
Not in scope:
`System.IO.hSetBuffering'
No module named `System.IO' is imported.
<interactive>:1:159: error:
Not in scope:
`System.IO.stderr'
No module named `System.IO' is imported.
<interactive>:1:176: error:
Not in scope:
data constructor `System.IO.NoBuffering'
No module named `System.IO' is imported.
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15916#comment:24>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list