From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4645 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: glibc vs musl sizeof types Date: Tue, 11 Mar 2014 14:26:36 -0400 Message-ID: <20140311182635.GN184@brightrain.aerifal.cx> References: <20140311121652.GS7372@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1394562403 27375 80.91.229.3 (11 Mar 2014 18:26:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Mar 2014 18:26:43 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4649-gllmg-musl=m.gmane.org@lists.openwall.com Tue Mar 11 19:26:53 2014 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 1WNRO7-0002Ah-B3 for gllmg-musl@plane.gmane.org; Tue, 11 Mar 2014 19:26:51 +0100 Original-Received: (qmail 11363 invoked by uid 550); 11 Mar 2014 18:26:49 -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 11355 invoked from network); 11 Mar 2014 18:26:49 -0000 Content-Disposition: inline In-Reply-To: <20140311121652.GS7372@port70.net> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:4645 Archived-At: On Tue, Mar 11, 2014 at 01:16:52PM +0100, Szabolcs Nagy wrote: > i did sizeof comparisions of most structs on i386, x86_64, mips, arm, powerpc > using embedian cross compilers vs musl-cross > > (embedian toolchain is old though: gcc-4.4, glibc-2.13, binutils-2.20) > > http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.arm.diff > http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.i386.diff > http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.mips.diff > http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.powerpc.diff > http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.x86_64.diff Of these, mips has a number of mismatches in structs reflecting register state, and powerpc has at least one of those too as well as sysvipc mismatches which may be bugs. Any idea? If so now is the time these should be fixed. The differences to the others seem either mostly inconsequential or due to bugs in glibc. Rich