From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1ThzNt-0008SV-6L for ptxdist@pengutronix.de; Mon, 10 Dec 2012 10:10:45 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1ThzNt-0004Up-05 for ptxdist@pengutronix.de; Mon, 10 Dec 2012 10:10:44 +0100 Date: Mon, 10 Dec 2012 10:10:44 +0100 From: Michael Olbrich Message-ID: <20121210091044.GK26985@pengutronix.de> References: <4F2C21DE.6090001@erwinrol.com> <20120203212822.GT32382@pengutronix.de> <4F2C5474.6060702@erwinrol.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] execvp: /bin/sh: Argument list too long Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Wed, Nov 21, 2012 at 03:02:08PM +0000, Andreas Bachmann wrote: > Erwin Rol writes: > > and that seems to make the difference. On a other machine where the > > /home/erwin/ part is longer it fails in the same way with a > > arm-tegra2-linux-gnueabi (without _hardfloat part). > > > > It seems the setup is really stretching the limits of the system. It > > might be an idea to shortening the PTXCONF_PLATFORM part in the > > Toolchain project by default. > > > > - Erwin > > > > > > I have sort of the or related problem in ptxdist-2012.10.0 and > OSELAS.Toolchain-2011.11.3. > In the Makefile [1] [2] at target "install-plugin" there is an inline-script > (setting variables and loop over the headers), who can't be executed: > > headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\012' | sort -u` > "make: execvp: /bin/bash: Argument list too long" > > My build system: Ubuntu 12.10 Alpha 3 > > I found a bugfix [1]. Just replace > headers=`echo $(PLUGIN_HEADERS) | tr ' ' '\012' | sort -u` > with > headers="$(sort $(PLUGIN_HEADERS))"; \ > and the make-process starts again. > > [1] Path: > OSELAS.Toolchain-2011.11.3/platform-arm-v5te-linux-gnueabi-gcc-4.6.2-glibc- > 2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-cross/gcc-4.6.2-first- > build/gcc/Makefile > > [2] Path: > OSELAS.Toolchain-2011.11.3/platform-arm-v5te-linux-gnueabi-gcc-4.6.2-glibc- > 2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-cross/gcc-4.6.2-build/gcc > /Makefile > > [3] http://patches.openembedded.org/patch/29825/ Thanks for the heads up. There probably won't be a OSELAS.Toolchain-2011.11.x release, but I've added the patch for the next big release. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de