[GHC] #10239: Fragile CPP test for big endian in T7600

GHC ghc-devs at haskell.org
Fri Apr 3 08:51:32 UTC 2015


#10239: Fragile CPP test for big endian in T7600
-------------------------------------+-------------------------------------
              Reporter:  trommler    |             Owner:
                  Type:  bug         |            Status:  new
              Priority:  normal      |         Milestone:
             Component:  Test Suite  |           Version:  7.10.1
              Keywords:              |  Operating System:  Unknown/Multiple
          Architecture:              |   Type of failure:  Other
  Unknown/Multiple                   |        Blocked By:
             Test Case:  T7600       |   Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
 In test T7600 the C pre-processor test for big endian is broken in older
 versions of glibc.

 I have a patch that replaces the fragile CPP test with an integer read,
 which will always be the correct endianness.

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


More information about the ghc-tickets mailing list