[Top][All Lists]

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

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

From: Peter Bex
Subject: Re: [Chicken-users] Re: Strange segfaults when linking with pthreads
Date: Fri, 4 Mar 2011 09:12:43 +0100
User-agent: Mutt/

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?
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?

"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

reply via email to

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