[haiku-commits] Re: haiku: hrev46150 - src/kits/package/solver build/jam src/tools/create_repository_config src/build/libroot

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 01 Oct 2013 04:00:56 +0200

On 01/10/2013 03:29, Ingo Weinhold wrote:
> On 10/01/2013 01:34 AM, Rene Gollent wrote:
>> On 9/30/13, Rene Gollent <anevilyak@xxxxxxxxx> wrote:
>>> The actual error being returned is B_NOT_SUPPORTED. For some reason, the
>>> solver loading function is never getting called by pthread_once(), so
>>> the
>>> solver pointer is null.
>>
>> Found the problem: pthread_once() was returning 78 (Function not
>> implemented). This turned out to be because get_package_dependencies
>> wasn't being linked to libpthread. Adding that fixed it. Any
>> recommendations as to how best to add that to the build?
> 
> Please just add it to HOST_LINKFLAGS. And passing the flags to the
> problematic dlopen() call is apparently also a good idea.
> 

As they say... WorksForMe® in
hrev46152.

François.

Other related posts: