This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: type problems in conform tests...
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: David Miller <davem at davemloft dot net>
- Cc: <libc-alpha at sourceware dot org>
- Date: Tue, 22 Apr 2014 21:39:16 +0000
- Subject: Re: type problems in conform tests...
- Authentication-results: sourceware.org; auth=none
- References: <20140421 dot 144641 dot 1442211345567521493 dot davem at davemloft dot net>
On Mon, 21 Apr 2014, David Miller wrote:
> So I started looking at the conformance test failures on sparc, and
> the one I'm looking at now requires that sa_flags in sigaction be
> of type 'int' but it's 'unsigned long' on sparc.
>
> What are we supposed to do in these situations? We can't change the
> type, so do I just ignore this test failure forever?
What I said for S/390 in
<https://sourceware.org/ml/libc-alpha/2014-03/msg00376.html> should apply
equally here: you should be able to make the type int with an explicit
padding field when required to keep the layout the same.
--
Joseph S. Myers
joseph@codesourcery.com