aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2024-12-03system: examples: Add bare-hurd64.tmpl....* gnu/system/examples/bare-hurd.tmpl: Update comments. * gnu/system/examples/bare-hurd64.tmpl: New file. Change-Id: I8d26afd19afaa8fb3558948b50b0efdc0f83f29c Janneke Nieuwenhuizen
2024-12-03gnu: bootstrap: %bootstrap-glibc: Also fix libm.so....On the 64bit Hurd, glibc-2.39's libm.so is also a linker script. This fixes having it refer to /gnu/store/eee...-glibc-cross-x86_64-pc-gnu-2.39/lib/libm.so.6 /gnu/store/eee...-glibc-cross-x86_64-pc-gnu-2.39/lib/libmvec.so.1 * gnu/packages/bootstrap.scm (%bootstrap-glibc)[arguments]: When building for the 64bit Hurd, also substitute libm.so linker script. Update the regexp to also cater for libh[urduser] and libm[achuser]. Change-Id: I878e63d18f1012b6e186e90eb68cb97bec5ae94c Janneke Nieuwenhuizen
2024-12-03gnu: Add gdb-15.2, with support for the 64bit Hurd....* gnu/packages/patches/gdb-hurd64.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/gdb.scm (gdb-15): Use it in new variable. (gdb-minmal-15): New variable. (gdb/pinned): When building for the 64bit Hurd, set #:configure-flags to "--enable-targets=i586-pc-gnu,x86_64-pc-gnu". Change-Id: I52d28092be6c415b8668bb5a77d41c87df841351 Janneke Nieuwenhuizen
2024-12-03gnu: gettext: Fix cross-build shebangs....This fixes running autopoint from a cross-built gettext[-minimal]. * gnu/packages/gettext.scm (gettext-minimal): When cross-building, add stage "patch-cross-shebangs". Change-Id: I5029a3be0b5cee3c173de66d8f0b027b02c3bc47 Janneke Nieuwenhuizen
2024-12-03gnu: commencement: libstdc++-boot0-gcc7: Replace by make-libstdc++-boot0....* gnu/packages/commencement.scm (libstdc++-boot0-gcc7): Change variable to... (make-libstdc++-boot0): ...this new procedure and update accordingly. (gcc-boot0): Update accordingly, and cater for x86_64-gnu. Change-Id: Ib0bc84e4dab90b080e5a01e6ab932f8be456c656 Janneke Nieuwenhuizen
2024-12-03gnu: commencement: hurd-headers-boot0: Update to 0.9.git20240714....* gnu/packages/commencement.scm (hurd-headers-boot0): Update to 0.9.git20240714. Change-Id: Ib3edaa3adb9cfe4cb8c5a3af83cb2701ee9dda1b Janneke Nieuwenhuizen
2024-12-03gnu: commencement: mig-boot0: Update to 1.8+git20231217.....* gnu/packages/commencement.scm (mig-boot0): Update to 1.8+git20231217. Change-Id: I591ff7cb84ac1e567d49f51eb40be19fa6b15f5b Janneke Nieuwenhuizen
2024-12-03gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20240714....* gnu/packages/commencement.scm (gnumach-headers-boot0): Update to 1.8+git20240714. Change-Id: If30d7b4a688070d70741173c97a60284ca8299ef Janneke Nieuwenhuizen
2024-12-03gnu: m4: Fix build for the 64bit Hurd....* gnu/packages/base.scm (grep)[arguments]: When building for the 64bit Hurd, add patch-sigsegv.h stage. Change-Id: I82993ebde268867348893556a9476faa5c4e9453 Janneke Nieuwenhuizen
2024-12-03gnu: guile-fibers: Fix build for the 64bit Hurd....* gnu/packages/guile-xyz.scm (guile-fibers)[arguments]: Also modify phases for the 64bit Hurd. Change-Id: I780f6a92418b49e5fe0d23eb1c90e155216f1428 Janneke Nieuwenhuizen
2024-12-03gnu: grub: Fix build for the 64bit Hurd....* gnu/packages/patches/grub-hurd64.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/bootloaders.scm (grub)[arguments]: When building for the 64bit Hurd, use it in new "apply-hurd64-patch" stage. Change-Id: I780f6a92418b49e5fe0d23eb1c90e155216f1428 Janneke Nieuwenhuizen
2024-12-03gnu: inetutils: Fix build for the 64bit Hurd....* gnu/packages/patches/inetutils-hurd64.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/admin.scm (inetutils)[arguments]: When building for the 64bit Hurd, use it in new "apply-hurd64-patch" stage. Change-Id: I780f6a92418b49e5fe0d23eb1c90e155216f1428 Janneke Nieuwenhuizen
2024-12-03gnu: hurd: Build fixes for the 64bit Hurd....* gnu/packages/patches/hurd-64bit.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/hurd.scm (hurd)[source]: Use it. [arguments]: When building for the 64bit Hurd, add "create-machine-symlink" phase. In phases "build-libdde-linux" and "install-goodies", do not assume x86, rather use actual ARCH, and follow upstream's "amd64" symlinking voodoo. Change-Id: If264a91b2433add13f9121c482f0abe67ae5f1e9 Janneke Nieuwenhuizen
2024-12-03gnu: rumpkernel: Support the 64bit Hurd....* gnu/packages/hurd.scm (rumpkernel)[argument]: In stage "build", follow Debian upstream to use -DPAE disable the DTRACE and ZFS builds. Change-Id: I534da31eefb378c72b4896d64a51a73109e38aa6 Janneke Nieuwenhuizen
2024-12-03gnu: rumpkernel: Update to f1ffd6405f225336e595a0f99f01095ed7438337....* gnu/packages/hurd.scm (rumpkernel): Update to f1ffd6405f225336e595a0f99f01095ed7438337. [arguments]: In stage "build", add "-Wno-error=sign-compare" to CWARNFLAGS. Change-Id: I8936377da726681b748cc010e1fbae3fb19dee05 Janneke Nieuwenhuizen
2024-12-03gnu: netdde: Support the 64bit Hurd....* gnu/packages/patches/netdde-csum.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/hurd.scm (netdde)[source]: Use it. [arguments]: Do not assume x86, rather use actual ARCH in #:make-flags, and follow upstream's "amd64" symlinking voodoo. Change-Id: Ie825e56779dae2f489066569dc3c4405bac778c1 Janneke Nieuwenhuizen
2024-12-03gnu: netdde: Update to c0ef248dc7c5ccc1273e2a796f3ece30c5b645df....* gnu/packages/hurd.scm (netdde): Update to c0ef248dc7c5ccc1273e2a796f3ece30c5b645df. (dde-sources): Update to b6c8526c703f3ba76294d9002f195c63897ec661. Change-Id: Id03f5c5124f16e9ffd6a77cbb2507d274e0f325a Janneke Nieuwenhuizen
2024-12-03gnu: libpciaccess: Support the 64bit Hurd....* gnu/packages/patches/libpciaccess-hurd64.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/xorg.scm (libpciaccess) [arguments]: Use g-expressions. When building for the 64bit Hurd, use it in new "apply-hurd64-patch" phase. Change-Id: I8936377da726681b748cc010e1fbae3fb19dee05 Janneke Nieuwenhuizen
2024-12-03gnu: pciutils: Support the 64bit Hurd....* gnu/packages/patches/pciutils-hurd64.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/pciutils.scm (pciutils)[arguments]: Use g-expressions. When building for the 64bit Hurd, use it in new "apply-hurd64-patch" phase. Change-Id: I8936377da726681b748cc010e1fbae3fb19dee05 Janneke Nieuwenhuizen
2024-12-03gnu: openssl-3.0: Support the 64bit Hurd....* gnu/packages/patches/openssl-hurd64.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/tls.scm (openssl-3.0)[arguments]: When building for the 64bit Hurd, use it in new "apply-hurd-patch" phase. In #:configure-flags use "hurd-x86_64" for the 64bit Hurd. Change-Id: I8936377da726681b748cc010e1fbae3fb19dee05 Janneke Nieuwenhuizen
2024-12-03gnu: libgpg-error: Support the 64bit Hurd....* gnu/packages/patches/libgpg-error-hurd64.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/gnupg.scm (libgpg-error)[arguments]: Use it when building for the 64bit Hurd. Change-Id: Icabb7cd7bb5bcc771ccee5b8a7f57f52b9b58183 Janneke Nieuwenhuizen
2024-12-03system: image: Add hurd64 image types....* gnu/system/hurd.scm (%hurd64-default-operating-system-kernel, %hurd64-default-operating-system): New variables. * gnu/system/images/hurd.scm (hurd64-disk-image, hurd64-image-type, hurd64-qcow2-image-type, hurd64-barebones-disk-image, hurd64-barebones-qcow2-image): New variables. * gnu/system/images/hurd.scm (hurd64-barebones-os): New variable. Janneke Nieuwenhuizen
2024-12-03gnu: bootstrap: Add support for x86_64-gnu, aka the 64bit Hurd....On commit: ec8a5ec15f898e864705e5a5c834532e3fa8d0a4 gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd. Run: ./pre-inst-env guix build --target=x86_64-gnu bootstrap-tarballs Producing: /gnu/store/w1n7bdpn88plcc49h7n0jriaj41sgwx8-bootstrap-tarballs-0/ With guix hash -r: 15cb1xh7s2hhp8s0d81bjnw1759w9sh7ckc9n5jq2f3rqw6z76by * gnu/packages/bootstrap.scm (%bootstrap-executables): Add entries for x86_64-gnu. (%bootstrap-guile-hash, %bootstrap-coreutils&co, %bootstrap-binutils, %bootstrap-glibc, %bootstrap-gcc): Add entry for x86_64-gnu. * guix/packages.scm (%supported-systems, %hurd-systems): Add x86_64-gnu. (%cuirass-supported-systems): Remove x86_64-gnu. * guix/utils.scm (target-64bit?): Add x86_64-gnu. * m4/guix.m4: Add x86_64-gnu as a supported system. * doc/guix.texi (GNU Distribution): Add x86_64-gnu. Change-Id: I828159aedb3f66caba98e935083cc3682429f219 Janneke Nieuwenhuizen
2024-12-03gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd....* gnu/packages/make-bootstrap.scm (%gcc-static): Use gcc-14. Update to use G-Expressions. [inputs]: Remove libstdc++ and libstdc++-headers. (%gcc-stripped): Use gcc-14. [inputs, native-inputs]: Clear fields. Change-Id: I4e6d779cb457b256d80d1882f182b72a6f7d2be2 Janneke Nieuwenhuizen
2024-12-03gnu: glibc/hurd: Add patch for the 64bit Hurd, fixing "raise"....This fixes findutil's gnulib-tests's test-sigaction's raise call, by working around an alleged gcc-14.2 optimization bug. See <https://lists.gnu.org/archive/html/bug-hurd/2024-11/msg00143.html>. * gnu/packages/patches/glibc-hurd64-gcc-14.2-tls-bug.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/base.scm (glibc/hurd): Use it. Change-Id: I11e683f521f34dedeb7f739a2545f5d1d866922a Janneke Nieuwenhuizen
2024-12-03gnu: gcc-14: Force libdir /lib instead of /lib64 for the 64bit Hurd....* gnu/packages/gcc.scm (gcc-14)[arguments]: In stage "pre-x86-configure", also patch "gcc/config/i386/t-gnu64". Change-Id: Ib2607c5f315c49696596fdcbcbbcc2895b6a9775 Janneke Nieuwenhuizen
2024-12-03gnu: cross-base: Update %xgcc to gcc-14, to support the 64bit Hurd....Gcc-14 adds support for the 64bit Hurd. * gnu/packages/cross-base.scm (%xgcc): Bump to gcc-14. Change-Id: Idf7696c50532aa4def2b2d37cdb5c70715125123 Janneke Nieuwenhuizen
2024-12-03gnu: guile-lzlib: Support [cross-]build with gcc-14 and the 64bit Hurd....* gnu/packages/patches/guile-lzlib-hurd64.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/guile.scm (guile-lzlib)[arguments]: Use G-expressions. When building for the 64bit Hurd, or cross-compiling, use it in new "apply-hurd64-patch" stage. Change-Id: Id03f71baa80e2f4f967f54037ce7d9f1c5dc4bb6 Janneke Nieuwenhuizen
2024-12-03gnu: libssh: Fix [cross-]build with gcc-14 for 32bit....* gnu/packages/ssh.scm (libssh)[arguments]: When cross-compiling to a 32bit host, add CFLAGS to #:configure-flags to disable a breaking warning. Change-Id: Ibab7332af162aed38158a50e9b4fc288b4286922 Janneke Nieuwenhuizen
2024-12-03gnu: libedit: Fix [cross-]build with gcc-14 for 32bit....* gnu/packages/libedit.scm (libedit)[arguments]: When cross-compiling to a 32bit host, add CFLAGS to #:configure-flags to disable a breaking warning. Change-Id: Ibab7332af162aed38158a50e9b4fc288b4286922 Janneke Nieuwenhuizen
2024-12-03gnu: netdde: Fix build with gcc-14....* gnu/packages/hurd.scm (netdde)[arguments]: Disable some warnings breaking the build, using "WARNINGS=..." in #:make-flags. Change-Id: I39f577c51eaa3d86abf80a54f7c172324cf56749 Janneke Nieuwenhuizen
2024-12-03gnu: hurd: Fix build with gcc-14....* gnu/packages/hurd.scm (hurd)[arguments]: In phase "build-libdde-linux", disable some warnings breaking the build, using "WARNINGS=...". Change-Id: Ib70926a90e1d37080c5b9dd333f19636cdae3013 Janneke Nieuwenhuizen
2024-12-03gnu: texinfo-4: Fix [cross-]build with gcc-14 and the 64bit Hurd....* gnu/packages/texinfo.scm (texinfo-4): When building for the 64bit Hurd, or cross-compiling, add "-Wno-incompatible-pointer-types" to #:configure-flags. Change-Id: Ia0503e3f5c7aa5354a949b69035a1be6f93ec85f Janneke Nieuwenhuizen
2024-12-03gnu: perl: Support [cross-]build with gcc-14 and the 64bit Hurd....* gnu/packages/cross-base.scm (perl)[native-inputs]: Update perl-cross to 1.6. Change-Id: I4a77f51a6757ad4aed9bcca8f9bbbf2cbd162e15 Janneke Nieuwenhuizen
2024-12-03gnu: libffi: Fix [cross-]build with gcc-14....* gnu/packages/libffi.scm (libffi)[arguments]: When building for the 64bit Hurd, or cross-building, add "CFLAGS" to #:configure-flags to disable breaking warning. Change-Id: I05bf3f460f3e292626de1894b7a3cf381cb07702 Janneke Nieuwenhuizen
2024-12-03gnu: flex: Fix [cross-]build with gcc-14....* gnu/packages/flex.scm (flex): When building for the 64bit Hurd, or cross-compiling, add "-Wno-int-conversion "-Wno-implicit-function-declaration" to #:configure-flags. Change-Id: Ia0503e3f5c7aa5354a949b69035a1be6f93ec85f Janneke Nieuwenhuizen
2024-12-03gnu: git-minimal: Support [cross-]build with gcc-14 and the 64bit Hurd....* gnu/packages/version-control.scm (git-minimal)[arguments]: When building for the 64bit Hurd, or cross-compiling, use "-Wno-implicit-function-declaration" in #:make-flags. Use target-hurd? instead of comparing with "i586-pc-gnu" in "use-host-uname_S" phase. Change-Id: Ib9836be8a1e389a82c8a89adf22aaeac0d85bd14 Janneke Nieuwenhuizen
2024-12-03gnu: bash: Avoid hang when cross-built for the Hurd....For example, without this patch bash hangs while configuring diffutils. Reproducer: cat >x.awk <<EOF x... repeat 16384 (the actual pipe size) times EOF * gnu/packages/bash.scm (bash): When cross-building for the Hurd, add new "create-pipesize.h" stage. Change-Id: I02c1dcf2d63849626ba3448cd52766db822dc77c Janneke Nieuwenhuizen
2024-12-03gnu: glibc/hurd: Add patches for the 64bit Hurd....These patches fix: * Statically linked tar to hang/segfault upon issuing the "--mtime=@1" warning; this is also applicable for the 32bit Hurd using glibc-2.39! See <https://lists.gnu.org/archive/html/bug-hurd/2024-11/msg00115.html>. * Shell replacement problems for the 64bit Hurd. See <https://lists.debian.org/debian-hurd/2024/07/msg00063.html>. * Findutil's gnulib-tests/test-sigaction failure. * gnu/packages/patches/glibc-hurd-pthread_setcancelstate.patch, gnu/packages/patches/glibc-hurd64-fault.patch, gnu/packages/patches/glibc-hurd64-intr-msg-clobber.patch, gnu/packages/patches/glibc-hurd64-sgms-context.patch: New file. * gnu/local.mk (dist_patch_DATA): Register them. * gnu/packages/base.scm (glibc/hurd): Use them. Change-Id: I9ee65983876cd22ad1dc01aabb41a34074631599 Janneke Nieuwenhuizen
2024-12-03gnu: libstdc++: Support the 64bit Hurd....* gnu/packages/gcc.scm (make-libstdc++)[arguments]: When building for the 64bit Hurd, add stage patch-hurd64. Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602 Janneke Nieuwenhuizen
2024-12-03gnu: libxcrypt: Support the 64bit Hurd....* gnu/packages/patches/libxcrypt-hurd64.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/crypto.scm (libxcrypt)[arguments]: When building for the 64bit Hurd, use it in new phase `apply-hurd64-patch'. Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602 Janneke Nieuwenhuizen
2024-12-03gnu: patch: Fix build for the 64bit Hurd....* gnu/packages/base.scm (patch)[arguments]: When building for the 64bit Hurd, set #:configure-flags. Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602 Janneke Nieuwenhuizen
2024-12-03gnu: grep: Fix build for the 64bit Hurd....* gnu/packages/base.scm (grep)[arguments]: When building for the 64bit Hurd, add patch-sigsegv.h stage. Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602 Janneke Nieuwenhuizen
2024-12-03gnu: elfutils: Fix build for 64bit Hurd....* gnu/packages/elf.scm (elfutils)[arguments]: When building for a 64bit Hurd, set #:make-flags. Change-Id: I00abf360a7de5b1f78c1e912f0dcf27c62c1af68 Janneke Nieuwenhuizen
2024-12-03gnu: bash-minimal: Support [cross-]build with gcc-14....* gnu/packages/bash-minimal.scm (bash)[arguments]: When building for the 64bit hurd, or cross-building, use "CFLAGS=-g -O2 -Wno-implicit-function-declaration". Change-Id: I1356c0aeac303bdf0254c28815716c83884008a0 Janneke Nieuwenhuizen
2024-12-03gnu: cross-libc: Support cross-building for the 64bit Hurd....* gnu/packages/base.scm (glibc)[arguments]: When building for the Hurd, in phase "create-machine-symlink", do not assume CPU is i386, also cater for x86_64. * gnu/packages/cross-base.scm (cross-libc*)[arguments]: Likewise. Change-Id: Ib009b7bd301b543b8629382330cca9d963b7a812 Janneke Nieuwenhuizen
2024-12-03gnu: Add basic support for x86_64-pc-gnu target, aka 64bit Hurd....* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Update comment on where to find shared linker name. (make-raw-bag): Also use raw-build-guile3 when building for the 64bit Hurd. * gnu/packages/cross-base.scm (cross-kernel-headers*): Use target-hurd? instead of custom "i586..." matching to also use xhurd-core-headers for target-hurd64. * gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc) [native-inputs]: Move final-inputs before cross-packages. (%binutils-static)[arguments]: When building for the 64bit Hurd, add "lt_cv_prog_compiler_static_works=yes", "lt_cv_prog_compiler_static_works_CXX=yes" to #:make-flags to convince to actually link the binaries statically. (make-guile-static)[arguments]: When building for the 64bit Hurd, add "lt_cv_prog_compiler_static_works=yes" to #:configure-flags to convince libtool to actually link guile statically. * guix/platforms/x86.scm (x86_64-gnu): New exported variable. * guix/utils.scm (target-hurd64? system-hurd64?): New procedures. Janneke Nieuwenhuizen
2024-12-03gnu: hurd: Update to 0.9.git20240714....* gnu/packages/hurd.scm (hurd-headers): Update to 0.9.git20240714. (hurd)[arguments]: Remove rumpdisk build hack from "prepare-addons" stage. Instead, when cross-compiling, add stage "fixup-cross-configure" to enable rumpdisk. * gnu/system.scm (hurd-multiboot-modules): Remove "--x-xattr-translator-records" option that has been removed and is now the default. Change-Id: I4609b5a959c1ece98e2fe1aedbb1d31d6edadcca Janneke Nieuwenhuizen
2024-12-03gnu: mig: Update to 1.8+git20231217....* gnu/packages/hurd.scm (mig): Update to 1.8+git20231217. Change-Id: I0e531ecc7fdcfbefe2e0e24d7b2fb5e0fe8a3ae2 Janneke Nieuwenhuizen
2024-12-03gnu: gnumach: Update to v1.8+git20240714....* gnu/packages/patches/gnumach-version.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/hurd.scm (gnumach-headers): Update to v1.8+git20240714 and use it. * gnu/packages/commencement.scm (gnumach-headers-boot0)[origin]: Reset patches. Change-Id: I147c64021c2ee79dfc4cd4fd9a29529eef8890c5 Janneke Nieuwenhuizen