public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
From: "Joseph S. Myers" <joseph@codesourcery.com>
To: Steve Ellcey  <sellcey@mips.com>
Cc: libc-ports@sourceware.org
Subject: Re: Building syscall.h on mips
Date: Tue, 22 May 2012 21:10:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.64.1205222106320.8022@digraph.polyomino.org.uk> (raw)
In-Reply-To: <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

  reply	other threads:[~2012-05-22 21:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-22 21:02 Steve Ellcey 
2012-05-22 21:10 ` Joseph S. Myers [this message]
2012-05-22 22:40   ` Steve Ellcey
2012-05-23  0:06     ` Joseph S. Myers
2012-05-23 15:47       ` Steve Ellcey
2012-05-23 18:49         ` Joseph S. Myers

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=Pine.LNX.4.64.1205222106320.8022@digraph.polyomino.org.uk \
    --to=joseph@codesourcery.com \
    --cc=libc-ports@sourceware.org \
    --cc=sellcey@mips.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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).