content='noindex, nofollow'/>
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/bootstrap.scm
AgeCommit message (Expand)Author
2024-12-05gnu: glibc-dynamic-linker: Match all mingw systems....* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Match any system which ends in '-mingw'. Change-Id: I057e3d0abfc37f4b2b8784f444bbaf865c67ce3e Efraim Flashner
2024-12-05Partial revert "gnu: bootstrap: %bootstrap-gcc: Also wrap g++ for the 64bit H......This partially reverts commit 877b925df16740f9419d165d39cb7f191a86d5d1. This part accidentally triggered a world rebuild for non-x86 architectures. Change-Id: Iabc5422bb0e2bb37816ad437994af94d04830cb0 Zheng Junjie
2024-12-05Partial revert "gnu: bootstrap: %bootstrap-glibc: Also fix libm.so."...This partially reverts commit 204fe1b1f05f4438d1cf72c568b45696e55e54c9. This part accidentally triggered a world rebuild for non-x86 architectures. Change-Id: I921984ef5eff58792ffc17b64675db6a8e79695c Zheng Junjie
2024-12-03gnu: bootstrap: bootstrap-%guile: Revert aarch64-linux hash....This is a follow-up to commit 4d9c5984fee481d74c2f504094b4797bbb4104d4 gnu: bootstrap: Add support for x86_64-gnu, aka the 64bit Hurd. where it was inadvertently changed. Reported by fanquake via IRC. * gnu/packages/bootstrap.scm (bootstrap-guile-hash)[aarch64-linux]: Revert to 1giy2aprjmn5fp9c4s9r125fljw4wv6ixy5739i5bffw4jgr0f9r. Change-Id: I26176b192e43ebe05bbd575414a7173583c6d5b6 Janneke Nieuwenhuizen
2024-12-03gnu: bootstrap: %bootstrap-gcc: Also wrap g++ for the 64bit Hurd....* gnu/packages/bootstrap.scm (%bootstrap-gcc)[arguments] When building for thee 64bit Hurd have the #:builder also wrap g++. Co-authored-by: Efraim Flashner <efraim@flashner.co.il> Change-Id: I2cdbc6837e1c451f108b309f2608240a7f57b82c 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: 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: 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-08-31gnu: glibc-bootstrap: Update i586-gnu variant....‘glibc-stripped-2.39-i586-pc-gnu.tar.xz’ was built from x86_64-linux from the previous commit with: ./pre-inst-env guix build --target=i586-pc-gnu \ -e '((@@ (gnu packages make-bootstrap) %glibc-bootstrap-tarball))' This updated variant is necessary to match newer GNU Mach headers, which are themselves necessary for the newer Hurd. Fixes <https://issues.guix.gnu.org/72315>. * gnu/packages/bootstrap.scm (%bootstrap-glibc): Update i586-gnu variant. Change-Id: I2d770e8001896059e1f27e50f7a4ddf15e4b5812 Ludovic Courtès
2024-01-04gnu: Add support for x86_64-linux-gnux32....* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add entry for x86_64-linux-gnux32. * gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Add configure-flag for x86_64-linux-gnux32. * guix/platforms/x86.scm (x86_64-linux-gnux32): New variable. * guix/utils.scm (gnu-triplet->nix-system): Force x86_64-linux-gnux32 to output a different nix-system than x86_64-linux-gnu. Change-Id: I519fea2f8357e4b9895ede05fe8a5e373e9b034a Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Efraim Flashner