[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Strange segfaults when linking with pthreads
From: |
Felix |
Subject: |
Re: [Chicken-users] Strange segfaults when linking with pthreads |
Date: |
Fri, 04 Mar 2011 20:28:14 +0100 (CET) |
From: Peter Bex <address@hidden>
Subject: Re: [Chicken-users] Strange segfaults when linking with pthreads
Date: Fri, 4 Mar 2011 20:15:54 +0100
> On Fri, Mar 04, 2011 at 01:25:00PM +0100, Felix wrote:
>> >> --- a/Makefile.bsd
>> >> +++ b/Makefile.bsd
>> >> @@ -57,7 +57,7 @@ LINKER_LINK_SHARED_LIBRARY_OPTIONS = -shared
>> >> LINKER_LINK_SHARED_DLOADABLE_OPTIONS = -shared
>> >> -Wl,-R"$(RUNTIME_LINKER_PATH)" -Wl,-L.
>> >> LINKER_LINK_SHARED_PROGRAM_OPTIONS = -Wl,-R"$(RUNTIME_LINKER_PATH)"
>> >> LIBCHICKEN_SO_LINKER_OPTIONS =
>> >> -Wl,-soname,lib$(PROGRAM_PREFIX)chicken$(PROGRAM_SUFFIX).so$(SONAME_VERSION)
>> >> -LIBRARIES = -lm
>> >> +LIBRARIES = -lm -lpthread
>> >> NEEDS_RELINKING = yes
>> >> USES_SONAME = yes
>>
>> I don't think this is a problem. An chicken application like csi first
>> resolves libchicken.so, and all subsequently loaded .so's will refer
>> to symbols already resolved. Anyway, give it a try.
>
> This fixes the problems with pthreads. Please add to experimental.
Done.
cheers,
felix
- Re: [Chicken-users] Strange segfaults when linking with pthreads, (continued)