On Mon, Jun 11, 2012 at 10:50 AM, Thomas Schilling
<nomin...@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
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to