#4970: time002 and time004 (ghci) test failures on OS X 64 bit
-------------------------------+--------------------------------------------
Reporter: gwright | Owner: gwright
Type: bug | Status: new
Priority: normal | Component: GHCi
Version: 7.0.1 | Keywords:
Testcase: | Blockedby:
Os: MacOS X | Blocking:
Architecture: x86_64 (amd64) | Failure: Incorrect result at runtime
-------------------------------+--------------------------------------------
Changes (by gwright):
* owner: => gwright
Comment:
I've looked at the code in `relocateSection` in `rts/Linker.c` more
carefully and there's just no way to tell if it handles all of the valid
relocation cases correctly. Checking Apple's `ld64` source code, there are
about 20 different combinations of relocation type, external/non-external
symbol and address length that are supported.
My plan is to rip out the current X86_64 code in `relocateSection` and
replace it. The first benefit is that all invalid cases will be caught.
The second is that the code path for each type of relocation will be
distinct, so fixing one relocation type won't break another (which may be
the happening with the linker as it is now).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4970#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs