Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753051Ab2KMLmK (ORCPT ); Tue, 13 Nov 2012 06:42:10 -0500 Received: from multi.imgtec.com ([194.200.65.239]:56745 "EHLO multi.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751698Ab2KMLmI (ORCPT ); Tue, 13 Nov 2012 06:42:08 -0500 Message-ID: <50A231EE.7050204@imgtec.com> Date: Tue, 13 Nov 2012 11:41:34 +0000 From: James Hogan User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Arnd Bergmann , Vineet Gupta CC: , , Subject: Re: [RFC PATCH v1 14/31] ARC: syscall support References: <1352281674-2186-1-git-send-email-vgupta@synopsys.com> <1352281674-2186-15-git-send-email-vgupta@synopsys.com> <201211071421.39523.arnd@arndb.de> <509CD1D1.3050105@imgtec.com> In-Reply-To: <509CD1D1.3050105@imgtec.com> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.154.65] X-SEF-Processed: 7_3_0_01181__2012_11_13_11_41_35 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1825 Lines: 46 On 09/11/12 09:50, James Hogan wrote: > On 07/11/12 14:21, Arnd Bergmann wrote: >> On Wednesday 07 November 2012, Vineet Gupta wrote: >>> + * Being uClibc based we need some of the deprecated syscalls: >>> + * -Not emulated by uClibc at all >>> + * unlink, mkdir,... (needed by Busybox, LTP etc) >>> + * times (needed by LTP pan test harness) >>> + * -Not emulated efficiently >>> + * select: emulated using pselect (but extra code to chk usec > 1sec) >>> + * >>> + * some (send/recv) correctly emulated using (recfrom/sendto) and >>> + * some arch specific ones (fork/vfork)can easily be emulated using clone but >>> + * thats the price of using common-denominator.... >>> + */ >>> +#define __ARCH_WANT_SYSCALL_NO_AT >>> +#define __ARCH_WANT_SYSCALL_NO_FLAGS >>> +#define __ARCH_WANT_SYSCALL_OFF_T >>> +#define __ARCH_WANT_SYSCALL_DEPRECATED >> >> I'm pretty sure that this has been solved before, best get in contact with >> the maintainers of the openrisc/c6x/hexagon platforms, that probably all >> use uClibc without needing these. >> >> You have to remove the legacy calls here. > FYI, we'll soon be making some uClibc patches available so that it can > work without these deprecated syscalls and with the newer IPC interface > (the work was needed for metag too). It's based roughly on the OpenRisc > patches from last year, but with a fair few changes. Hi Vineet, The uClibc patches I mentioned have been posted, see here: http://lists.busybox.net/pipermail/uclibc/2012-November/047110.html Please do try them out and provide any feedback. Cheers James -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/