summaryrefslogtreecommitdiff
path: root/gnu/packages/make-bootstrap.scm
Commit message (Expand)AuthorAgeFilesLines
* gnu: guile-static-initrd: Remove (sxml) module hierarchy.•••If anything is ‘useless in an initrd’ it better be XML support. As of Guile 3.0.9, removing it saves 1418K bytes uncompressed, or 3% of the total static Guile size. * gnu/packages/make-bootstrap.scm (%guile-static-initrd): Remove sxml/. Change-Id: I592dec18c422500eca50663256586ca92df1ac37 Tobias Geerinckx-Rice2024-09-081-0/+1
* gnu: make-bootstrap: Ensure libm.a provides ‘fmod’ on i686.•••Fixes <https://issues.guix.gnu.org/72725>. * gnu/packages/make-bootstrap.scm (glibc-for-bootstrap)[arguments]: Add ‘apply-libm-patch’ on i686. * gnu/packages/patches/glibc-2.39-fmod-libm-a.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. Reported-by: Ricardo Wurmus <rekado@elephly.net> Change-Id: Iaffba0a9f424d8d80a8a5611df2d285d7d632d99 Ludovic Courtès2024-08-311-1/+12
* gnu: make-bootstrap: Fix cross-compilation of ‘%glibc-stripped’.•••Previously, ‘guix build bootstrap-tarballs --target=aarch64-linux-gnu’ or similar would construct a cross-libc where ‘%current-target-system’ is set. This would lead to a failure in the ‘add-cross-binutils-to-PATH’ phase, which assumes that ‘%current-target-system’ is #f; indeed, ‘cross-libc’ already returns a cross libc and so ‘%current-target-system’ must be set to #f. * gnu/packages/make-bootstrap.scm (%glibc-stripped)[inputs]: Move libc to… [native-inputs]: … here. Change-Id: Ifbf5e519ba3198940f4de4a36075d5302e923172 Ludovic Courtès2024-08-311-13/+14
* gnu: make-bootstrap: Fix statically-linked ‘grep’ compilation.•••The ‘%static-inputs’ list is used by ‘bootstrap-tarballs’ for systems other than x86_64-linux and i686-linux. * gnu/packages/make-bootstrap.scm (%static-inputs): Pass ‘--disable-perl-regexp’ and remove ‘--enable-perl-regexp’ for grep. Change-Id: Id9cc8c026eee5031b00c1824624fe6da205d55eb Ludovic Courtès2024-08-311-2/+5
* gnu: make-bootstrap: Build with GCC 11 instead of GCC 7.•••This fixes a glibc-for-bootstrap build issue on aarch64-linux. * gnu/packages/make-bootstrap.scm (glibc-for-bootstrap)[native-inputs]: Remove. (gcc-for-bootstrap, package-with-relocatable-glibc) (%gcc-static, %gcc-stripped): Depend on ‘gcc’ instead of ‘gcc-7’. Reported-by: Ricardo Wurmus <rekado@elephly.net> Change-Id: Ia7f62f9674873087aa20a9d7da8d25d94b215e5c Ludovic Courtès2024-08-311-15/+9
* gnu: glibc-for-bootstrap: Adapt patch for glibc 2.39.•••* gnu/packages/patches/glibc-2.39-bootstrap-system.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/make-bootstrap.scm (glibc-for-bootstrap): Use it for glibc 2.39. Change-Id: I96761a0bc011af13d861bfece32d96db160f7686 Josselin Poiret2024-08-311-1/+3
* gnu: binutils: Use gexps.•••This is the result of applying ‘guix style -S arguments’ and making small adjustments. * gnu/packages/base.scm (binutils)[arguments]: Use gexps. (binutils-2.33, binutils-gold): Likewise. * gnu/packages/commencement.scm (binutils-mesboot0, binutils-mesboot1) (binutils-boot0, binutils-final): Likewise. * gnu/packages/cross-base.scm (cross-binutils*): Adjust accordingly. * gnu/packages/embedded.scm (make-propeller-binutils): Use gexps. * gnu/packages/make-bootstrap.scm (%binutils-static): Use gexps. Change-Id: I59cbe29760784b09e6d4e80beca9153cb9b495a7 Ludovic Courtès2024-08-311-24/+26
* gnu: %gcc-static: Import the correct set of modules.•••* gnu/packages/make-bootstrap.scm (%gcc-static) [arguments] <modules>: Replace %default-gnu-imported-modules with %default-gnu-modules. Change-Id: I44bf99a8f1a7836352478b6f7dadc27ffb81bb51 Maxim Cournoyer2024-08-311-1/+1
* build-systems: gnu: Export %default-gnu-imported-modules and %default-gnu-mod...•••Until now users would have to cargo cult or inspect the private %default-modules variable of (guix build-systems gnu) to discover which modules to include when extending the used modules via the #:modules argument. The renaming was automated via the command: $ git grep -l %gnu-build-system-modules | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i * guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to... (%default-gnu-imported-modules): ... this. (%default-modules): Rename to... (%default-gnu-modules): ... this. Export. (dist-package, gnu-build, gnu-cross-build): Adjust accordingly. Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee Maxim Cournoyer2024-08-311-1/+1
* linux-initrd: Further strip the static Guile.•••‘guile-static-initrd’ weighs in at 46 MiB, compared to 54 MiB for ‘guile-static-stripped’ (15% reduction). * gnu/packages/make-bootstrap.scm (make-guile-static-stripped): Add ‘directories-to-remove’ parameter and honor it. (%guile-static-initrd): New variable. * gnu/system/linux-initrd.scm (expression->initrd): Default to ‘%guile-static-initrd’. * doc/guix.texi (Initial RAM Disk): Adjust accordingly. Change-Id: I2baf06fed7a3698433e7c83b1d7726054a8c746e Ludovic Courtès2024-04-291-5/+32
* gnu: Use target-hurd?, system-hurd? instead of hurd-target?, hurd-system?.•••* gnu/packages/hurd.scm (hurd-target?): Remove. (hurd-system?): Move to... * guix/utils.scm (system-hurd?): ...here. * gnu/packages/*: Update all users, removing (gnu packages hurd) include where now unused. Janneke Nieuwenhuizen2023-06-171-2/+2
* gnu: guile-static: Switch to gexps.•••* gnu/packages/make-bootstrap.scm (make-guile-static): Switch to gexps. Ludovic Courtès2023-03-301-34/+34
* gnu: make-bootstrap: Fix static linking of tar.•••Fixes a regression introduced in 4eda2034201e39edb077f0160554fabbed0e0cdb, which inadvertently commented out those #:configure-flags. * gnu/packages/make-bootstrap.scm (%static-inputs)[tar]: Reinstate 'gl_cv_func_working_mktime=yes' configure flag. Ludovic Courtès2023-03-091-15/+15
* gnu: guile-static: Adjust to changed input labels.•••Fixes a regression introduce in d427ec403800dc5b0b69f3d7c259a7d62eb6c881. * gnu/packages/make-bootstrap.scm (make-guile-static): Replace "libgc", not "bdw-gc". Ludovic Courtès2023-03-091-1/+1
* gnu: static-binaries: Use gexps.•••This fixes "guix build static-binaries-tarball". * gnu/packages/make-bootstrap.scm (%static-inputs): Use gexps. Ludovic Courtès2023-02-281-75/+72
* gnu: bootstrap: mes-minimal: Remove packages and tarball.•••* gnu/packages/make-bootstrap.scm (%mes-minimal, %mes-minimal-stripped, %mes-bootstrap-tarball): Remove. Jan (janneke) Nieuwenhuizen2023-02-151-54/+0
* gnu: bootstrap: mescc-tools-static: Remove packages and tarball.•••* gnu/packages/make-bootstrap.scm (%mescc-tools-static, %mescc-tools-static-stripped, %mescc-tools-bootstrap-tarball): Remove. Jan (janneke) Nieuwenhuizen2023-02-151-42/+0
* gnu: bootstrap: bootstrap-tarballs: Remove mes and mescc-tools.•••* gnu/packages/make-bootstrap.scm (%bootstrap-tarballs): Remove %mescc-tools-bootstrap-tarball, %mes-bootstrap-tarball. Jan (janneke) Nieuwenhuizen2023-02-151-4/+2
* Merge remote-tracking branch 'origin/master' into core-updates••• Conflicts: doc/guix.texi gnu/local.mk gnu/packages/admin.scm gnu/packages/base.scm gnu/packages/chromium.scm gnu/packages/compression.scm gnu/packages/databases.scm gnu/packages/diffoscope.scm gnu/packages/freedesktop.scm gnu/packages/gnome.scm gnu/packages/gnupg.scm gnu/packages/guile.scm gnu/packages/inkscape.scm gnu/packages/llvm.scm gnu/packages/openldap.scm gnu/packages/pciutils.scm gnu/packages/ruby.scm gnu/packages/samba.scm gnu/packages/sqlite.scm gnu/packages/statistics.scm gnu/packages/syndication.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/version-control.scm gnu/packages/xml.scm guix/build-system/copy.scm guix/scripts/home.scm Efraim Flashner2023-01-301-6/+16
|\
| * gnu: guile-static: Use 'gcc-ar' and 'gcc-ranlib'.•••Fixes a regression introduced in 0e480ca7b60428a62fc4681d7aca6c7c067add42 whereby '%guile-static-3.0' would fail to build with "undefined reference" errors at link time. Fixes <https://issues.guix.gnu.org/61080>. Reported by Hilton Chain <hako@ultrarare.space>. * gnu/packages/make-bootstrap.scm (make-guile-static): Pass 'AR' and 'RANLIB' as #:configure-flags. Ludovic Courtès2023-01-261-1/+9
| * gnu: %guile-static-3.0: New variable.•••* gnu/packages/make-bootstrap.scm (%guile-static-3.0): New variable. (%guile-static-stripped): Use it. Maxim Cournoyer2023-01-031-5/+7
| * gnu: %guile-static-stripped: Update to Guile 3.0.8.•••* gnu/packages/make-bootstrap.scm (%guile-static-stripped): Use guile-3.0-latest, currently at 3.0.8. This resolves a segfault in the Guix System Linux initrd when running Guile 3.0.7 on a Cortex A9 CPU (NXP i.MX6 Quad). Maxim Cournoyer2023-01-031-1/+1
* | gnu: glibc-for-bootstrap: Remove obsolete patch.•••* gnu/packages/patches/glibc-static-nss.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/make-bootstrap.scm (glibc-for-bootstrap)[source](patches): Remove it. Marius Bakke2022-09-161-2/+1
* | gnu: binutils: Update to 2.38.•••If this commit gives a deja vu, you are not dreaming; see commit 3e3a37b2bcb1f23011fde8626559f83504177889. * gnu/packages/base.scm (binutils): Update to 2.38. [source](patches): Remove obsolete. [arguments]: Add #:make-flags. [properties]: New field. (binutils+documentation): New variable. (binutils-gold): Inherit from BINUTILS+DOCUMENTATION. * gnu/packages/make-bootstrap.scm (%binutils-static)[arguments]: Inherit #:make-flags. * gnu/packages/patches/binutils-2.37-file-descriptor-leak.patch, gnu/packages/patches/binutils-CVE-2021-45078.patch: Delete files. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. Marius Bakke2022-06-261-1/+5
|/
* gnu: glibc-for-bootstrap: Build with GCC 7.•••Fixes <https://issues.guix.gnu.org/52066>. * gnu/packages/make-bootstrap.scm (glibc-for-bootstrap)[native-inputs]: Add gcc-7. Pierre Langlois2021-11-271-0/+7
* gnu: guile: Use 'modify-inputs' where appropriate.•••* gnu/packages/guile.scm (guile-3.0)[propagated-inputs]: Use 'modify-inputs'. (guile-3.0/libgc-7)[propagated-inputs]: Likewise. (guile-for-guile-emacs)[native-inputs]: Likewise. * gnu/packages/make-bootstrap.scm (make-guile-static): Likewise. Ludovic Courtès2021-09-301-5/+4
* gnu: guile-static: Disable JIT on GNU/Hurd.•••* gnu/packages/make-bootstrap.scm (make-guile-static): Pass "--disable-jit" when targeting GNU/Hurd. Ludovic Courtès2021-09-301-2/+4
* gnu: make-bootstrap: Remove more input labels.•••* gnu/packages/make-bootstrap.scm (%binutils-static-stripped)[inputs]: Remove. [arguments]: Turn #:builder into a gexp. (%mes-minimal-stripped)[inputs]: Remove. [arguments]: Turn #:builder into a gexp. (make-guile-static-stripped): Likewise. Ludovic Courtès2021-09-301-136/+126
* gnu: make-bootstrap: Remove input labels.•••* gnu/packages/make-bootstrap.scm (%static-inputs): Remove labels. (%static-binaries)[arguments]: Special-case 'name' for "bash-static". (%linux-libre-headers-stripped)[inputs]: Remove label. (%mes-minimal)[native-inputs]: Remove label. (tarball-package)[native-inputs]: Remove labels. [inputs]: Remove. [arguments]: Rewrite as a gexp. (%bootstrap-tarballs)[inputs]: Remove labels. Ludovic Courtès2021-09-301-56/+47
* gnu: make-bootstrap: Enable tests in static gawk build.•••The tests were disabled because gawk’s extension mechanism doesn’t work when it’s built statically, and some tests fail because of that. Another alternative is to disable the extension mechanism during configuration time, which causes the testsuite to pass again. * gnu/packages/make-bootstrap.scm (%static-inputs)[gawk]<#:tests?>: Remove. <#:configure-flags>: Add. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Thiago Jung Bauermann2021-09-281-1/+3
* gnu: make-bootstrap: Allow compilation of the statically-link gawk.•••Previously, linking would fail due to the '-fno-common' default in GCC 10: ld: /gnu/store/…-glibc-2.33-static/lib/libc.a(getopt.o): in function `_getopt_internal_r': (.text+0x6e0): multiple definition of `_getopt_internal_r'; support/libsupport.a(getopt.o):/tmp/guix-build-gawk-5.1.0.drv-0/gawk-5.1.0/support/getopt.c:404: first defined here ld: /gnu/store/…-glibc-2.33-static/lib/libc.a(getopt.o): in function `_getopt_internal': Reported by Thiago Jung Bauermann <bauermann@kolabnow.com>. * gnu/packages/make-bootstrap.scm (%static-inputs) <gawk>: Remove getopt.o from libsupport.a. Ludovic Courtès2021-09-281-2/+11
* gnu: glibc-static: Fix static NSS support.•••Support for static NSS broke in glibc 2.33, meaning that 'getpw' & co. would always fail. This patch backports the upstream fix to reinstate it. Reported by Marius Bakke. * gnu/packages/patches/glibc-static-nss.patch: New file. * gnu/packages/make-bootstrap.scm (glibc-for-bootstrap): Use it. * gnu/local.mk (dist_patch_DATA): Add it. Ludovic Courtès2021-09-061-3/+5
* gnu: mes-minimal-stripped: Explicitly disallow references.•••* gnu/packages/make-bootstrap.scm (%mes-minimal-stripped)[arguments]: Add #:allowed-references. Ludovic Courtès2021-07-261-0/+1
* gnu: mes: Switch to Guile 3.0.•••* gnu/packages/mes.scm (nyacc-1.00.2)[inputs]: Change GUILE-2.2 to GUILE-3.0. (mes-0.19)[native-inputs]: Likewise. * gnu/packages/make-bootstrap.scm (%mes-minimal)[native-inputs]: Likewise. Ludovic Courtès2021-07-261-1/+1
* gnu: mescc-tools: Update to 1.2.0.•••Fixes <https://issues.guix.gnu.org/49515>. * gnu/packages/mes.scm (mescc-tools-0.5.2): Remove. (mescc-tools): Update to 1.2.0. Use 'git-fetch'. * gnu/packages/make-bootstrap.scm (%mescc-tools-static): Inherit from MESCC-TOOLS rather than MESCC-TOOLS-0.5.2. (%mes-minimal): Inherit from MES rather than MES-0.19. [arguments]: Remove 'delete-file-recursively' for /mes/scaffold. Ludovic Courtès2021-07-261-4/+3
* gnu: mes-minimal: Remove unused variable.•••* gnu/packages/make-bootstrap.scm (%mes-minimal): Remove unused 'triplet' variable. Ludovic Courtès2021-07-261-25/+24
* Merge branch 'master' into core-updatesLudovic Courtès2021-07-181-18/+14
|\
| * gnu: %guile-3.0-static-stripped: Rename to %guile-static-stripped.•••* gnu/packages/make-bootstrap.scm (%guile-3.0-static-stripped): Rename to %guile-static-stripped. (%guile-bootstrap-tarball): Adjust accordingly. * gnu/system/linux-initrd.scm (expression->initrd): Use %guile-static-stripped as default guile. * doc/guix.texi (initial RAM disk)[expression->initrd]: Adjust documentation accordingly. Efraim Flashner2021-07-081-3/+3
| * gnu: make-bootstrap: Use guile-3.0 bootstrap tarball.•••* gnu/packages/make-bootstrap.scm (%guile-bootstrap-tarball): Use guile-3.0. (%guile-static-stripped): Remove variable. Efraim Flashner2021-07-081-7/+3
| * gnu: make-bootstrap: Build with gcc-7.•••* gnu/packages/make-bootstrap.scm (gcc-for-bootstrap)[Inherit]: Inherit from gcc-7. [inputs]: Use package-inputs from gcc-7. (package-with-relocatable-glibc)[native-inputs]: Have cross-gcc use gcc-7. (%gcc-static)[inherit]: Inherit from gcc-7. [arguments]: Use package-arguments from gcc-7. [inputs]: Replace isl-0.18 with isl. Use package-inputs from gcc-7. [native-inputs]: Use package-native-inputs from gcc-7. (%gcc-stripped)[inherit]: Inherit from gcc-7. Efraim Flashner2021-07-081-11/+11
* | utils: Define 'target-hurd?' predicate.•••It behaves similarily to the other target-...? procedures. The usage of hurd-triplet? / target-hurd? in libgc appears incorrect to me, as (%current-system) is normally never false. * gnu/packages/hurd.scm (hurd-triplet?): Move to ... * guix/util.scm (target-hurd?): ... here, let its argument default to (%current-target-system) or (%current-system), and write a docstring. * gnu/packages/hurd.scm (hurd-target?, hurd-system?): Use target-hurd? instead of hurd-triplet?. * gnu/packages/bdw-gc.scm (libgc): Likewise. * gnu/packages/cross-base.scm (cross-libc)[arguments]<#:configure-flags>: Likewise. (cross-libc)[arguments]<#:phases>: Likewise. (cross-libc)[arguments]<#:native-inputs>: Likewise. * gnu/packages/make-boostrap.scm (%glibc-stripped)[inputs]: Likewise. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Maxime Devos2021-07-141-1/+1
* | gnu: bootstrap-tarballs: Turn builder into a gexp.•••* gnu/packages/make-bootstrap.scm (%bootstrap-tarballs)[arguments]: Turn #:builder into a gexp. Ludovic Courtès2021-07-051-21/+21
* | gnu: bootstrap-tarballs: Fix build.•••* gnu/packages/make-bootstrap.scm (%bootstrap-tarballs)[arguments]: Make 'use-modules' the first expression. Failing that, 'match' would not be properly expanded when running on Guile 3.0. Ludovic Courtès2021-07-051-2/+4
* | gnu: guile-static: Fix build without GMP.•••* gnu/packages/make-bootstrap.scm (make-guile-static)[arguments]: Add "--enable-mini-gmp" to #:configure-flags. Marius Bakke2021-05-221-1/+2
* | gnu: guile-static: Remove obsolete workaround.•••* gnu/packages/make-bootstrap.scm (make-guile-static)[arguments]: Don't disable JIT on ARMv7. Marius Bakke2021-05-221-6/+1
* | Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2021-03-241-2/+2
|\|
| * bootstrap: mescc-tools-static: Base arguments on version 0.5.2.•••* gnu/packages/make-bootstrap.scm (%mescc-tools-static)[arguments]: Use fixed package-arguments of mescc-tools-0.5.2. Jan (janneke) Nieuwenhuizen2021-03-141-2/+2
* | gnu: binutils: Update to 2.35.1.•••* gnu/packages/base.scm (binutils): Update to 2.35.1. [arguments]: Remove #:make-flags. [properties]: Remove. (binutils+documentation): Remove. (binutils-gold): Inherit from BINUTILS. * gnu/packages/make-bootstrap.scm (%binutils-static)[arguments]: Remove #:make-flags. Ludovic Courtès2020-09-201-4/+0
|/
* gnu: guile-static: Disable JIT on ARMv7.•••* gnu/packages/make-bootstrap.scm (make-guile-static): Pass "--disable-jit" when 'target-arm32?' is true. Ludovic Courtès2020-06-061-1/+6
* gnu: Add relocatable static Guile 3.0 variant.•••* gnu/packages/patches/guile-2.2-default-utf8.patch: New file, extracted from commit 2acfe022a740f79b593348cc6362cc4ee8f33bb4. * gnu/packages/patches/guile-3.0-linux-syscalls.patch, gnu/packages/patches/guile-3.0-relocatable.patch: New files. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. Move all Guile patches together while at it. * gnu/packages/make-bootstrap.scm (%guile-3.0-static-stripped): New public variable. Marius Bakke2020-05-011-1/+10