[GHC] #15399: Build failure on PowerPC 64-bit big endian

GHC ghc-devs at haskell.org
Fri Jul 27 17:43:26 UTC 2018


#15399: Build failure on PowerPC 64-bit big endian
----------------------------------------+----------------------------------
        Reporter:  trommler             |                Owner:  trommler
            Type:  bug                  |               Status:  merge
        Priority:  normal               |            Milestone:  8.6.1
       Component:  Compiler             |              Version:  8.5
      Resolution:                       |             Keywords:
Operating System:  Linux                |         Architecture:  powerpc64
 Type of failure:  Building GHC failed  |            Test Case:
      Blocked By:                       |             Blocking:
 Related Tickets:                       |  Differential Rev(s):  Phab:D5001
       Wiki Page:                       |
----------------------------------------+----------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"d7cb1bbc26719cf6082abe0d91d80be466e25bfc/ghc"
 d7cb1bbc/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="d7cb1bbc26719cf6082abe0d91d80be466e25bfc"
 Fix endian issues in ghc-heap

 In test heap_all arity and n_args were swapped on big endian
 systems.

 Take care of endianness when reading parts of a machine word
 from a `Word`.

 This fixes one out of 36 failing tests reported in #15399.

 Test Plan: validate

 Reviewers: simonmar, bgamari, hvr, erikd

 Reviewed By: simonmar

 Subscribers: rwbarton, thomie, carter

 GHC Trac Issues: #15399

 Differential Revision: https://phabricator.haskell.org/D5001
 }}}

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


More information about the ghc-tickets mailing list