[Haskell-cafe] attoparsec double precision, quickCheck and aeson

Bryan O'Sullivan bos at serpentine.com
Mon Jun 11 19:57:59 CEST 2012


On Mon, Jun 11, 2012 at 10:50 AM, Thomas Schilling
<nominolo at googlemail.com>wrote:

> Bryan, do you remember what the issue is with C++ in this case?  I
> thought, adding a wrapper with extern "C" definitions should do the
> trick for simpler libraries (as this one seems to be).  Is the
> interaction with the memory allocator the issue?  Linker flags?


It's specific to ghci, whose object file loader fails to call C++ static
initializers. In the case of the double-conversion library, this means that
static read-only arrays that it assumes to contain valid data are full of
junk.

You can join in the fun over at
http://hackage.haskell.org/trac/ghc/ticket/5289
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120611/1968a63e/attachment.htm>


More information about the Haskell-Cafe mailing list