From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Cross-building bootstrap binaries fail in current master Date: Thu, 20 Oct 2016 15:50:11 +0200 Message-ID: <87eg3bb04s.fsf@gnu.org> References: <7tmvhzxubh.fsf@gmail.com> 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]:34595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxDjh-0002zK-1v for guix-devel@gnu.org; Thu, 20 Oct 2016 09:50:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxDjb-0005lY-Ok for guix-devel@gnu.org; Thu, 20 Oct 2016 09:50:21 -0400 In-Reply-To: <7tmvhzxubh.fsf@gmail.com> ("Carlos =?utf-8?Q?S=C3=A1nchez?= de La Lama"'s message of "Thu, 20 Oct 2016 11:07:14 +0200") 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" To: Carlos =?utf-8?Q?S=C3=A1nchez?= de La Lama Cc: guix-devel@gnu.org Hello! csanchezdll@gmail.com (Carlos S=C3=A1nchez de La Lama) skribis: > with current master (1dc30f92320c5e1b528a7eec2b0a4ce529f70c56), trying > > guix build --target=3Di686-linux bootstrap-tarballs As discussed on IRC, --target expect a =E2=80=9CGNU triplet=E2=80=9D such as =E2=80=9Ci686-linux-gnu=E2=80=9D, so the above thing cannot work. Note that cross-building from anything to i686 is untested, so it=E2=80=99s= not a good choice. Regardless, cross-building =E2=80=98bootstrap-tarballs=E2=80=99 to one of t= he supported target triplets works on master: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build bootstrap-tarballs --target=3Dmips64el-linux-gn= u -n substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org= '... 100.0% The following files would be downloaded: /gnu/store/lwn9v9jhsllffpc3d4kii8bldw4hfppa-bootstrap-tarballs-0 /gnu/store/6cm18hfwbp8c1mf6wha28f0b0axlcm8k-guile-static-stripped-tarbal= l-2.0.11 /gnu/store/f790i196x1ms2ym13pvbazldzicqv4k9-glibc-stripped-tarball-2.23 /gnu/store/jj007dw6gc31hnn1qq3yz7rz1ai1z0fa-gcc-stripped-tarball-4.9.3 /gnu/store/niqxni4hhjr2wvlabn92z1asqb7xcnsx-static-binaries-tarball-0 /gnu/store/pskf0y5q3j5a3k30c0czd2xymwp4224i-binutils-static-stripped-tar= ball-2.25.1 $ git describe v0.11.0-1764-g3ad7dce --8<---------------cut here---------------end--------------->8--- See: https://hydra.gnu.org/job/gnu/master/mips64el-linux-gnu.bootstrap-tarball= s-0.x86_64-linux https://hydra.gnu.org/job/gnu/master/mips64el-linux-gnuabi64.bootstrap-ta= rballs-0.x86_64-linux So normally, if you pass =E2=80=9C--target=3Dpowerpc-linux-gnu=E2=80=9D (or= whichever triplet is appropriate), that should work too. HTH! Ludo=E2=80=99.