
#15623: Wrong Endian, ghc-pwd and ghc-cabal on ghc 8.0.1 for powerpc64le (IBM Power) ----------------------------------------+--------------------------------- Reporter: francescantoncastro | Owner: (none) Type: bug | Status: closed Priority: highest | Milestone: 8.6.1 Component: Compiler | Version: 8.0.1 Resolution: invalid | Keywords: Operating System: Linux | Architecture: powerpc64 Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ----------------------------------------+--------------------------------- Changes (by trommler): * status: new => closed * resolution: => invalid Comment: Are you sure your machine is running in little endian mode? In the configure script `compilingghc8.0.1onpowerpc64le` it is detected as powerpc64 which is big endian. The bindist you downloaded is for big endian systems there is no bindist for powerpc64le available on the GHC site. I prepared a powerpc64le bindist for GHC 8.2.1 for openSUSE. You can find it here: https://build.opensuse.org/package/show/devel:languages:haskell/ghc- bootstrap If you are looking for a newer GHC (8.2.1 cannot be used to bootstrap 8.6.1) you can find a GHC 8.4.3 bindist for powerpc64le temporarily here: https://build.opensuse.org/package/show/home:ptrommler:branches:devel:langua... /ghc-bootstrap Hope that helps. I'll close the ticket as invalid for now. Please reopen if it still doesn't work. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15623#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler