From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: bootstrap-tarballs: Cross-compile for powerpc-linux-gnu. Date: Thu, 05 Jan 2017 00:02:41 +0100 Message-ID: <87fukyfmy6.fsf@gnu.org> References: <7ta8ci68s3.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]:60780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOua0-0004zQ-98 for guix-devel@gnu.org; Wed, 04 Jan 2017 18:02:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOuZx-00035j-7g for guix-devel@gnu.org; Wed, 04 Jan 2017 18:02:48 -0500 In-Reply-To: <7ta8ci68s3.fsf@gmail.com> ("Carlos =?utf-8?Q?S=C3=A1nchez?= de La Lama"'s message of "Tue, 29 Nov 2016 08:32:28 +0100") 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 Carlos! Happy new year! :-) Leo just reminded me of this patch on IRC, and I feel guilty that it stood there for so long. Apologies! csanchezdll@gmail.com (Carlos S=C3=A1nchez de La Lama) skribis: > * gnu/packages/bootstrap.scm (glib-dynamic-linker): Add value for > powerpc-linux. > * gnu/packages/linux.scm (system->defconfig): New procedure. > (linux-libre-headers): Use system->defconfig. > * gnu/packages/cross-base.scm (xlinux-headers): Use system->defconfig. > * gnu/packages/gcc.scm (gcc-4.7): Add powerpc specific substitutions for > dynamic linker and start files locations. > * gnu/packages/make-bootstrap.scm (%gcc-static): Remove -lgcc_s added in > powerpc specific substitutions. I ended up splitting it in 3 patches (gcc, linux-libre, and glibc-dynamic-linker) that I just pushed to =E2=80=98core-updates=E2=80=99.= I also added copyright lines for you where appropriate. Hope that=E2=80=99s fine! > I finally found some time to clean-up my work. This patch is for > core-updates branch, and allows bootstrap tarball generation by > > guix build --target=3Dpowerpc-linux-gnu bootstrap-tarballs > > I think the best way to proceed is integrate this onto core-updates > (once reviewed & approved), then generate a bootstrap binaries on hydra, > making them available for download on the bootstrap binaries URL. At > that point I can update the rest of the powerpc-linux-gnu patches (which > use this binaries) with the correct hashes, and send them to the list. Sounds like a good plan. Commit 9410a5aa916035bb4d7f032a5fe81cfb497887c8 adds powerpc-linux-gnu cross-builds for Hydra (though Hydra is currently busy with the =E2=80=98staging=E2=80=99 branch.) > As Ludo suggested, I am also preparing a tutorial/blog on the porting > process. Awesome! Sorry again for the delay and the frustration it probably entailed. Cheers, Ludo=E2=80=99.