[GHC] #15623: Wrong Endian, ghc-pwd and ghc-cabal on ghc 8.0.1 for powerpc64le (IBM Power)
GHC
ghc-devs at haskell.org
Mon Sep 10 16:52:43 UTC 2018
#15623: Wrong Endian, ghc-pwd and ghc-cabal on ghc 8.0.1 for powerpc64le (IBM
Power)
-------------------------------------+-------------------------------------
Reporter: | Owner: (none)
francescantoncastro |
Type: bug | Status: new
Priority: highest | Milestone: 8.6.1
Component: Compiler | Version: 8.0.1
Keywords: | Operating System: Linux
Architecture: powerpc64 | Type of failure: Building GHC
| failed
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
I tried to compile ghc-8.0.1 from source using the powerpc64/unknown linux
.tar.xz file (since the other file was for AIX).
The ghc-pwd and ghc-cabal files won't execute even after stripping them
with strip.
The libraries included are Big Endian instead of Little Endian.
I replaced the libffi library by the local one on my system (IBM Power8
with redhatenterpriseserver).
ghc complains there is no cabal file after naming a symlink to cabal (on
/bin) ghc-cabal (instead of the faulty ghc-cabal file).
See attached file.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15623>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list