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

GHC ghc-devs at haskell.org
Fri Apr 3 11:43:55 UTC 2015


#10239: Fragile CPP test for big endian in T7600
-------------------------------------+-------------------------------------
        Reporter:  trommler          |                   Owner:  trommler
            Type:  bug               |                  Status:  patch
        Priority:  normal            |               Milestone:
       Component:  Test Suite        |                 Version:  7.10.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Other             |  Unknown/Multiple
      Blocked By:                    |               Test Case:  T7600
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:  Phab:D795
-------------------------------------+-------------------------------------

Comment (by trommler):

 Replying to [ticket:10239 trommler]:
 > In test T7600 the C pre-processor test for big endian is broken in older
 versions of glibc.
 I tested HEAD on one machine and ghc-7.10 on the other and the machine
 with HEAD also had a newer glibc.

 Karel had posted a fix in
 [changeset:3f30912fcceceea68b8ea6ada6c3135447c6871a] already that was not
 merged.

 My patch removes the need for CPP altogether.

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


More information about the ghc-tickets mailing list