(address . guix-patches@gnu.org)(name . Chris Marusich)(address . cmmarusich@gmail.com)
This patch series comes from the wip-ppc64le-for-master branch. This
branch contains commits that add support for a new system type,
powerpc64le-linux. The powerpc64le-linux system can be run on
freedom-friendly hardware like the Talos II and Blackbird family of
POWER9 systems built by Raptor Computing Systems. These patches add
support for Guix only, not for Guix System; Guix System support will
come later.
These patches are specifically crafted so they do not rebuild the
world for existing architectures. Therefore, they can be applied
directly to master. I have verified that, after applying these
patches to master, I am able to build (on a Debian ppc64le GNU/Linux
system) a release binary of Guix for the powerpc64le-linux system
successfully. Additionally, I am able to install this release binary
and do "guix pull" successfully in a fresh Debian ppc64le GNU/Linux
VM, and I am able to build and run GNU Hello in that VM using the
newly pulled Guix.
I think these patches are ready to apply to master, and I hope they
will be included in the next release. Many thanks to Léo Le Bouter
and Efraim Flashner for their help in making these changes. Please
review and let me know if there is anything that can be done better.
Chris Marusich (11):
gnu: bootstrap: Add support for powerpc64le-linux.
utils: Add target-powerpc? procedure.
gnu: gcc-4.7: On powerpc64le, fix /lib64 references.
gnu: gcc-boot0: Enable 128-bit long double for POWER9.
gnu: binutils-final: Support more Power architectures.
Add powerpc64le-linux as a supported Guix architecture.
syscalls: Fix clone on powerpc64le-linux.
syscalls: Fix RNDADDTOENTCNT on powerpc64le-linux.
ci: %cross-targets: Add powerpc64le-linux-gnu.
utils: Fix target-64bit? on powerpc64le-linux.
gnu: sed: Make it build on SELinux-enabled kernels.
Efraim Flashner (1):
gnu: binutils-final: Provide bash for binary on powerpc-linux.
Leo Le Bouter (6):
gnu: glibc: Fix ldd path on powerpc*.
gnu: bdb-4.8: Fix configure on powerpc64le-linux.
gnu: guile-avahi: Fix compilation on powerpc64le-linux.
gnu: texlive-bin: Fix compilation on powerpc64le*.
gnu: texlive-latex-base: Fix compilation on powerpc64le*.
gnu: libelf: Fix compilation for powerpc64le-linux.
Makefile.am | 4 +-
etc/guix-install.sh | 4 ++
gnu/ci.scm | 1 +
gnu/local.mk | 1 +
gnu/packages/base.scm | 32 +++++++++++++++-
gnu/packages/bootstrap.scm | 39 +++++++++++++++++++-
gnu/packages/commencement.scm | 28 ++++++++++++--
gnu/packages/dbm.scm | 6 +++
gnu/packages/elf.scm | 5 +++
gnu/packages/gcc.scm | 38 +++++++++++++++----
gnu/packages/guile-xyz.scm | 4 ++
gnu/packages/patches/glibc-ldd-powerpc.patch | 10 +++++
gnu/packages/tex.scm | 26 ++++++++++---
guix/build/syscalls.scm | 8 +++-
guix/packages.scm | 4 +-
guix/utils.scm | 8 +++-
m4/guix.m4 | 3 +-
tests/guix-build.sh | 6 ++-
18 files changed, 201 insertions(+), 26 deletions(-)
create mode 100644 gnu/packages/patches/glibc-ldd-powerpc.patch
--
2.26.2