Cross-compiling Template Haskell via -fexternal-interpreter and IPC

Alberto Valverde alberto at toscat.net
Thu Jul 7 10:37:52 UTC 2016


On Thu, Jul 7, 2016 at 9:30 AM, Simon Marlow <marlowsd at gmail.com> wrote:

> On 6 July 2016 at 18:14, Ben Gamari <ben at smart-cactus.org> wrote:
>
>> It would be great if there were some way we could make this work with
>> named pipes. Not only does it side-step the dependency issue, but it
>> feels like the right way forward.
>>
>
> I agree, named pipes are probably a better plan, perhaps a better solution
> overall than the way we currently pass FD numbers on the command line.  Do
> named pipes work work as expected through wine?  We would have to be
> careful to clean them up again afterwards.
>

I've implemented IPC with named pipes and it appeared to work through wine
but now I'm investigating an issue which causes GHC to "freeze" when
talking to the external interpreter when it is not running on a TTY (ie: in
a build process)

Cheers,
Alberto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20160707/16eac092/attachment.html>


More information about the ghc-devs mailing list