#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
-------------------------------+--------------------------------------------
Comment(by gwright):
Hmm. Hmm. Getting rid of the truncated relocations increased the number of
`ghci` test failures dramatically (from 12 to 150). So the arithmetic
really should be done unsigned, even for quantities that are intrinsically
signed. I backed my changes out and was able to reproduce my earlier
result.
This does show that the details of the relocation calculations are fragile
and easy to break, I suppose.
I will go back to poking around with `gdb`. Perhaps a clue is the fact
that the `ctPicosec` field is the only `Integer` in the `CalendarTime`
record. The other numeric fields are `Int`s.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4970#comment:4>
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