On Mon, Jun 11, 2012 at 10:50 AM, Thomas Schilling <nominolo@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.