From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12452 invoked by alias); 22 May 2012 21:10:59 -0000 Received: (qmail 12440 invoked by uid 22791); 22 May 2012 21:10:58 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 22 May 2012 21:10:45 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=EU1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1SWwLr-0001pu-C4 from joseph_myers@mentor.com ; Tue, 22 May 2012 14:10:44 -0700 Received: from digraph.polyomino.org.uk ([172.16.63.104]) by EU1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 22 May 2012 22:10:41 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.74) (envelope-from ) id 1SWwLo-0006r2-Km; Tue, 22 May 2012 21:10:40 +0000 Date: Tue, 22 May 2012 21:10:00 -0000 From: "Joseph S. Myers" To: Steve Ellcey cc: libc-ports@sourceware.org Subject: Re: Building syscall.h on mips In-Reply-To: <7875050d-c4de-4bc2-8c4e-3295cc003761@EXCHHUB01.MIPS.com> Message-ID: References: <7875050d-c4de-4bc2-8c4e-3295cc003761@EXCHHUB01.MIPS.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00130.txt.bz2 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 ). 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