hs-plugins: dynamic linking error with .ctors section

Cyril Schmidt cschmidt at deds.nl
Fri Nov 3 11:07:26 EST 2006


Indeed, the code works when compiled by GHC 6.6.

Cheers,

Cyril

Cyril Schmidt wrote:
>>> When I try to load A.hs using hs-plugins, I get the following error:
>>> Unknown PEi386 section name `.ctors' (while processing: C:\Program
>>> Files\Haskell\RGPack-0.0\ghc-6.4.2/HSRGPack-0.0.o)

Esa Ilari Vuokko wrote:
>> I think this is fixed in ghc 6.6.  There probably isn't a workaround
>> without recompiling ghc from source (and fixing Linker.c in rts-dir.)
>>
>> Best regards,
>> --Esa



More information about the Libraries mailing list