[GHC] #4105: ffi005 fails on OS X

GHC ghc-devs at haskell.org
Sat Jan 9 23:33:49 UTC 2016


#4105: ffi005 fails on OS X
-------------------------------------+-------------------------------------
        Reporter:  igloo             |                Owner:
            Type:  bug               |               Status:  infoneeded
        Priority:  low               |            Milestone:  8.0.1
       Component:  Compiler (FFI)    |              Version:  6.12.2
      Resolution:                    |             Keywords:
Operating System:  MacOS X           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
                                     |  ffi/should_run/ffi005
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by thomie):

 Did you test on x86, as it says in the description?

 The following two commits are relevant. The first one changes the test to
 only run for `WAY=optc` on x86. The second deletes `WAY=optc`. So now the
 test is always skipped on x86. That doesn't mean the problem is solved
 though!

 * commit 05a2f49caba62723992a03676f6df6085aa514c7

 {{{
 Author: Simon Marlow <marlowsd at gmail.com>
 Date:   Tue Nov 24 10:14:34 2009 +0000

     ffi005: run only the via-C way on x86 platforms
     due to 80-bit vs. 64-bit precision leading to floating point
     differences when using the native code generator.  -fvia-C uses the
     -ffloat-store gcc sledgehammer to avoid this.
 }}}

 * commit dc34ea9fd80f493e00062c276b2c7c898505bca2

 {{{
 Author: Max Bolingbroke <batterseapower at hotmail.com>
 Date:   Sat Apr 2 11:25:01 2011 +0100

     Remove any mention of optc/profc from all.T files
 }}}

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


More information about the ghc-tickets mailing list