semaphore functions in the wrong place during cross-build
Tyler Pirtle
teeler at gmail.com
Mon Mar 7 16:06:32 CET 2011
On Sat, Mar 5, 2011 at 4:39 PM, Ian Lynagh <igloo at earth.li> wrote:
> 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
>
Ah! It was a bug in 7.0.1 indeed. 7.0.2 fixed it. Thanks, Ian!
> Fixed in 7.0.2 and HEAD.
>
>
> Thanks
> Ian
>
>
More information about the Glasgow-haskell-users
mailing list