chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Re: Strange segfaults when linking with pthreads


From: Aleksej Saushev
Subject: Re: [Chicken-users] Re: Strange segfaults when linking with pthreads
Date: Fri, 04 Mar 2011 11:44:14 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix)

Peter Bex <address@hidden> writes:

> On Fri, Mar 04, 2011 at 03:18:35AM +0300, Aleksej Saushev wrote:
>> Peter Bex <address@hidden> writes:
>> 
>> > I've been observing something really strange for a while and decided to
>> > finally dig a little deeper.  It appears that when I link to libpthread,
>> > even if I don't use it, Chicken segfaults.
>> 
>> ...
>> 
>> > I am currently very uncertain whether this is a bug in Chicken,
>> > libpthread on NetBSD, the combination of the two, or something else.
>> >
>> > HELP! ;)
>> 
>> You do remember that when you link against libpthread, you should build
>> and link everything you use against libpthread too. ;)
>
> Are you telling me I must compile all of chicken against libpthread just
> because I *might* sometime link something that's built against pthreads?

Exactly.

> What about when I want to link eggs to libraries that don't link against
> pthreads (as in, most of them)?  Am I royally screwed?

I know what you feel. If you have time, bring it on tech-* lists,
you're not alone, e.g. Taylor Campbell is with us.


-- 
HE CE3OH...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]