Hi,

On Mon, Aug 17, 2015 at 10:17:21PM +0200, Karel Gardas wrote:
> seeing this, I'd like to note that I've got some of your patches to
> GHC HEAD which will become 7.12 once released probably so this may
> easy your job a little bit.

Thanks!

> I've also done some testing and switched
> on dynamic libraries and full PIE stuff. Got some optimistic results
> (means majority of tests pass), but so far the biggest obstacle on the
> way is how port's libffi is linked. Unfortunately my email[1] about it
> is kind of ignored. Perhaps you may say your word about it so I'll
> know what's the preferred way here? Thanks! Karel
> 
> [1]: http://marc.info/?l=openbsd-ports&m=143590886630557&w=2

Well, I'm not sure what is preferred. Some people prefer to be
explicit at link time and name every library required instead of
implicit dependencies. On the other hand, a lot of ports already
don't follow that rule.

If your diff to libffi isn't wanted by others, it would probably
possible to patch the necessary parts of ghcs build system and any
port requiring to be also linked against libpthread. IIRC, at least
one hs port already has a patch to the cabal file to link against
some additional library.

Ciao,
        Kili

Reply via email to