This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: Building syscall.h on mips
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Steve Ellcey <sellcey at mips dot com>
- Cc: libc-ports at sourceware dot org
- Date: Tue, 22 May 2012 21:10:40 +0000 (UTC)
- Subject: Re: Building syscall.h on mips
- References: <7875050d-c4de-4bc2-8c4e-3295cc003761@EXCHHUB01.MIPS.com>
On Tue, 22 May 2012, Steve Ellcey wrote:
> So, does this second patch look OK for glibc-ports for MIPS?
No, it's definitely wrong. The header needs to have three sections, each
one with the syscalls relevant to that particular ABI. Those sets are
similar, but not the same. The MIPS build of this header was broken for a
long time (see
<http://sourceware.org/ml/libc-alpha/2011-12/msg00046.html>).
If you can't get -m options working there, maybe it's necessary to use
entirely -U and -D options in the -options variables - those options being
such as to make the MIPS asm/unistd.h define the correct set of syscalls
for each ABI.
--
Joseph S. Myers
joseph@codesourcery.com