From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/897 Path: news.gmane.org!not-for-mail From: Richard Pennington Newsgroups: gmane.linux.lib.musl.general Subject: Re: A little more progress today with clang/LLVM Date: Mon, 21 May 2012 22:24:19 -0500 Message-ID: <1738399.7MHUj5aqHM@main.pennware.com> References: <6099278.PLLg0Rc9Yf@main.pennware.com> <2233705.A3NXMro2gt@main.pennware.com> <20120522025306.GR163@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Trace: dough.gmane.org 1337657129 7690 80.91.229.3 (22 May 2012 03:25:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 May 2012 03:25:29 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-898-gllmg-musl=m.gmane.org@lists.openwall.com Tue May 22 05:25:28 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1SWfiw-00046T-Ks for gllmg-musl@plane.gmane.org; Tue, 22 May 2012 05:25:26 +0200 Original-Received: (qmail 28257 invoked by uid 550); 22 May 2012 03:25:26 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 28249 invoked from network); 22 May 2012 03:25:26 -0000 X-Authority-Analysis: v=2.0 cv=OMylLFmB c=1 sm=0 a=/l7PkcR/UKDnn7Q2wmGJww==:17 a=hdNgKtvFP3AA:10 a=fR_ARpL9IlcA:10 a=gQu5c9skE_AA:10 a=msTO8fkKGJEA:10 a=kj9zAlcOel0A:10 a=N4Ps669bAAAA:8 a=ayC55rCoAAAA:8 a=XXBXOSyypDGUxinuITUA:9 a=G-slIHlqNlOPHDaDNlAA:7 a=CjuIK1q_8ugA:10 a=/l7PkcR/UKDnn7Q2wmGJww==:117 X-Cloudmark-Score: 0 X-Originating-IP: 65.26.59.215 User-Agent: KMail/4.8.3 (Linux/3.3.2-6.fc16.x86_64; KDE/4.8.3; x86_64; ; ) In-Reply-To: <20120522025306.GR163@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:897 Archived-At: On Monday, May 21, 2012 10:53:06 PM Rich Felker wrote: > On Mon, May 21, 2012 at 09:35:59PM -0500, Richard Pennington wrote: > > I'll send you the list. The only one that looked sort of bad to me was the > > out of bounds array reference. It was on the x86_64 in the > > pthread_barrier_t access. clang complained about referencing __p[4], > > which is out of bounds. That code is a little cryptic to me right now, > > since I'm a newbi. ;-) > Thanks! Indeed, that's broken. I must not have noticed since I'm on > x86 (32-bit). The situation with the definition of these types is > unfortunate and I might eventually change it; basically, to avoid > leaking implementation details in the public headers, and to avoid > having to change the bits headers for all archs if I change the way > these primitives work, the public headers just have a union with ints > and pointers matching the ABI's size for the type, and pthread_impl.h > has macros that map fields into these slots in such a way that the > mapping works on both 32- and 64-bit systems. > > Fixing now... > > Rich I understand. I'm just afraid about my next update.. I'm doing a git to svn sync and I know nothing about git. :-( Google is my friend, however. -Rich