mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: glibc vs musl sizeof types
Date: Tue, 11 Mar 2014 14:26:36 -0400	[thread overview]
Message-ID: <20140311182635.GN184@brightrain.aerifal.cx> (raw)
In-Reply-To: <20140311121652.GS7372@port70.net>

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


  reply	other threads:[~2014-03-11 18:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-11 12:16 Szabolcs Nagy
2014-03-11 18:26 ` Rich Felker [this message]
2014-03-11 19:29   ` John Spencer
2014-03-11 19:49     ` Szabolcs Nagy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140311182635.GN184@brightrain.aerifal.cx \
    --to=dalias@aerifal.cx \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).