Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160630133840.GD19691@port70.net>
Date: Thu, 30 Jun 2016 15:38:40 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: Issues when building libcxx libcxxabi with MUSL

* Szabolcs Nagy <nsz@...t70.net> [2016-06-30 15:15:47 +0200]:
> * Julien Ramseier <j.ramseier@...il.com> [2016-06-30 14:50:14 +0200]:
> > A workaround for the C++11 constexpr issue should land soon in libcxx trunk.
> > http://reviews.llvm.org/D21637 <http://reviews.llvm.org/D21637>
> > 
> 
> note that without pthread_mutex_destroy it may leak resources.
> 

sorry libc++ uses pthread_mutex_destroy correctly
(the ~mutex() definition is just in another file).

there is still a nasty conformance issue that affects
all c++ library implementations: the mutex and thread
headers include <pthread.h>

it is not valid to include a posix header in c++ code,
this pollutes the global namespace, might not have valid
c++ syntax (posix headers are c99) and more importantly
pthread types are visible through native_handle() which
makes this impossible to fix.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.