[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: bootstrap-tarballs: Cross-compile for powerpc-linux-gnu
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] gnu: bootstrap-tarballs: Cross-compile for powerpc-linux-gnu. |
Date: |
Thu, 05 Jan 2017 00:02:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
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!
address@hidden (Carlos Sánchez 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 ‘core-updates’. I also
added copyright lines for you where appropriate. Hope that’s 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=powerpc-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
‘staging’ 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’.
- Re: [PATCH] gnu: bootstrap-tarballs: Cross-compile for powerpc-linux-gnu.,
Ludovic Courtès <=