semaphore functions in the wrong place during cross-build

Ian Lynagh igloo at
Sun Mar 6 01:39:53 CET 2011

On Fri, Mar 04, 2011 at 10:46:13AM -0800, Tyler Pirtle wrote:
> I'm not sure where the right place is to configure this. While linking
> hsunix + some others, the
> compiler assumes that -lrt is the appropriate library to find
> semaphore-related functions,
> but for the particular toolchain i'm building against, those functions
> are actually in -lpthread.
> Is there an easy way i can configure this?

What version are you using? This sounds like it might be:

Fixed in 7.0.2 and HEAD.


More information about the Glasgow-haskell-users mailing list