This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
__ARCH_WANT_SYSCALL_DEPRECATED
- From: "Linas Vepstas (Code Aurora)" <linas at codeaurora dot org>
- To: Arnd Bergmann <arnd at arndb dot de>, GLIBC Devel <libc-alpha at sourceware dot org>, Chris Metcalf <cmetcalf at tilera dot com>, Jonas Bonn <jonas dot bonn at gmail dot com>, libc-ports at sourceware dot org, linux-hexagon at vger dot kernel dot org, linux-arch at vger dot kernel dot org
- Date: Mon, 22 Aug 2011 14:36:02 -0500
- Subject: __ARCH_WANT_SYSCALL_DEPRECATED
Hi,
So: What's the latest on asm-generic support on glibc?
I just pulled glibc-2.14 and note that Chris Metcalf's
generic implementation hasn't been folded in yet.
It seems to work well for me, so can we expect it
anytime soon?
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
../sysdeps/unix/sysv/linux/getdents.c:105: error: â__NR_getdentsâ undeclared (first use in this function)
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?
--linas