semaphore functions in the wrong place during cross-build

Ian Lynagh igloo at earth.li
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:
http://hackage.haskell.org/trac/ghc/ticket/4523

Fixed in 7.0.2 and HEAD.


Thanks
Ian




More information about the Glasgow-haskell-users mailing list