Lift instance cause GHC build error: unknown symbol with CFFI

Ben Gamari ben at smart-cactus.org
Fri Dec 20 16:33:21 UTC 2024


Minh Le <minhxecole at gmail.com> writes:

> Hi Ben,
> The missing module FPFloat is something related in the naming of the
> file. Currently, I am developing this library in Window and test it
> with both Window and Linux WSL. In Linux, it has stricter naming, so
> that you have to rename file fpfloat.hs and proto.hs into FPFloat.hs
> and Proto.hs. It is mentioned in the discussion in the Cabal issue,
> which I have included the link.

Hi Minh,

I have tried reproducing this under a Debian 11 VM yet strangely it
built without any trouble. I checked a few hypotheses yet nothing
obvious seems wrong. I have pushed my full reproducer here [1].

I will try again under Windows when I get a chance.

Cheers,

- Ben


[1] https://github.com/bgamari/FloPoCoFloat/tree/wip/repro
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20241220/a54a3c1c/attachment.sig>


More information about the ghc-devs mailing list