From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from plane.gmane.org ([80.91.229.3]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TbCFR-00027I-CG for ptxdist@pengutronix.de; Wed, 21 Nov 2012 16:29:58 +0100 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TbCFY-0003EE-OR for ptxdist@pengutronix.de; Wed, 21 Nov 2012 16:30:04 +0100 Received: from 160.85.232.140 ([160.85.232.140]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Nov 2012 16:30:04 +0100 Received: from bacr by 160.85.232.140 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Nov 2012 16:30:04 +0100 From: Andreas Bachmann Date: Wed, 21 Nov 2012 15:02:08 +0000 (UTC) Message-ID: References: <4F2C21DE.6090001@erwinrol.com> <20120203212822.GT32382@pengutronix.de> <4F2C5474.6060702@erwinrol.com> Mime-Version: 1.0 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 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/ -- ptxdist mailing list ptxdist@pengutronix.de