From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: 02/02: gnu: cross-base: Make the libc static-bash bug more apparent. Date: Wed, 25 Mar 2015 22:12:19 -0400 Message-ID: <874mp8pkvw.fsf@netris.org> References: <20150325214329.9755.28530@vcs.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaxHB-0001S9-Bb for guix-devel@gnu.org; Wed, 25 Mar 2015 22:12:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YaxH7-0004MI-C4 for guix-devel@gnu.org; Wed, 25 Mar 2015 22:12:05 -0400 Received: from world.peace.net ([50.252.239.5]:34914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaxH7-0004Lt-9M for guix-devel@gnu.org; Wed, 25 Mar 2015 22:12:01 -0400 In-Reply-To: (Ludovic Court's message of "Wed, 25 Mar 2015 21:43:32 +0000") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org Ludovic Court=C3=A8s writes: > commit 12b0dbd472d1020565b2d1e3f4c72fca635db0a8 > Author: Ludovic Court=C3=A8s > Date: Wed Mar 25 21:26:31 2015 +0100 > > gnu: cross-base: Make the libc static-bash bug more apparent. >=20=20=20=20=20 > The 'static-bash' input of cross libcs has always been compiled > natively. This patch makes the issue more visible. >=20=20=20=20=20 > * gnu/packages/cross-base.scm (cross-libc): Add 'inputs' field, and > add (package-inputs glibc) to 'native-inputs'. > --- > gnu/packages/cross-base.scm | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm > index 5a67d4b..dbcc5bc 100644 > --- a/gnu/packages/cross-base.scm > +++ b/gnu/packages/cross-base.scm > @@ -298,8 +298,13 @@ XBINUTILS and the cross tool chain." > ;; "linux-headers" input to point to the right thing. > (propagated-inputs `(("linux-headers" ,xlinux-headers))) >=20=20 > + ;; FIXME: 'static-bash' should really be an input, not a native inpu= t, but > + ;; to do that will require building an intermediate cross libc. > + (inputs '()) > + > (native-inputs `(("cross-gcc" ,xgcc) > ("cross-binutils" ,xbinutils) > + ,@(package-inputs glibc) ;FIXME: static-bash > ,@(package-native-inputs glibc))))) >=20=20 > This seems to have broken cross-compilation. See: http://hydra.gnu.org/eval/103397#tabs-now-fail Mark