From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28226 invoked by alias); 22 Aug 2011 20:44:23 -0000 Received: (qmail 28211 invoked by uid 22791); 22 Aug 2011 20:44:22 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from moutng.kundenserver.de (HELO moutng.kundenserver.de) (212.227.126.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 22 Aug 2011 20:44:03 +0000 Received: from wuerfel.localnet (port-92-200-82-80.dynamic.qsc.de [92.200.82.80]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0MPoeo-1QqdH011P8-0054Ws; Mon, 22 Aug 2011 22:43:52 +0200 From: Arnd Bergmann To: "Linas Vepstas (Code Aurora)" Cc: GLIBC Devel , Chris Metcalf , Jonas Bonn , libc-ports@sourceware.org, linux-hexagon@vger.kernel.org, linux-arch@vger.kernel.org, Mark Salter , Tobias Klauser , Guan Xuetao Subject: Re: __ARCH_WANT_SYSCALL_DEPRECATED Date: Mon, 22 Aug 2011 20:44:00 -0000 Message-ID: <2047151.mWElcT8jZQ@wuerfel> User-Agent: KMail/4.7.0 (Linux/3.0.0-rc1nosema+; KDE/4.7.0; x86_64; ; ) In-Reply-To: <20110822193602.GA23301@codeaurora.org> References: <20110822193602.GA23301@codeaurora.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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: 2011-08/txt/msg00011.txt.bz2 On Monday 22 August 2011 14:36:02 Linas Vepstas wrote: >=20 > So: What's the latest on asm-generic support on glibc?=20 > I just pulled glibc-2.14 and note that Chris Metcalf's > generic implementation hasn't been folded in yet.=20 > It seems to work well for me, so can we expect it > anytime soon? >=20 > Another problem: If I don't define __ARCH_WANT_SYSCALL_DEPRECATED > in the kernel asm/unistd.h then glibc won't build: currently, > I get=20 > ../sysdeps/unix/sysv/linux/getdents.c:105: error: =E2=80=98__NR_getdents= =E2=80=99 undeclared (first use in this function) >=20 > A very quick grep tells me that asm-generic defines a getdents64 > but that is not what glibc is looking for. Is there any chance > that there are glibc patches floating around somewhere that heal > this and any remaining __ARCH_WANT_SYSCALL_DEPRECATED issues? I don't know the answer to your question, but I've added Mark Salter, Guan Xuetao and Tobias Klauser to the list, since they probably have the same issue on c64x, unicore32 and nios2. c64x is currently nommu, but there is a similar problem with uclibc and I expect that architecture to grow an mmu at some point. As far as I can tell, there is now a total of six architectures using the generic syscalls (not counting s*core, because that relies on the deprecated calls) and at least two unnamed ones waiting to have their coming-out, plus a few stagnated ports (lm32, arc, mmix, meta, ...) that would need to get converted if someone wanted to push kernel support upstream. Arnd