[GHC] #15062: num009 is incredibly platform-sensitive

GHC ghc-devs at haskell.org
Fri May 25 12:13:43 UTC 2018


#15062: num009 is incredibly platform-sensitive
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.6.1
       Component:  Test Suite        |              Version:  8.2.2
      Resolution:                    |             Keywords:  ci-breakage
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by osa1):

 Also fails here on i386 chroot environment.

 > Perhaps we should instead test the output against the same evaluations
 performed by a C program. This would eliminate spurious failures due to
 platform or C library differences.

 Could you elaborate on this? This doesn't look like a spurious failure to
 me. I think either `sin`, `cos` etc. or C FFI when passing floats is
 broken on i386. Sounds pretty serious to me.

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


More information about the ghc-tickets mailing list