Age | Commit message (Expand) | Author |
2024-09-08 | 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-Rice |
2024-08-31 | 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ès |
2024-08-31 | 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ès |
2024-08-31 | 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ès |
2024-08-31 | 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ès |
2024-08-31 | 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 Poiret |
2024-08-31 | 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ès |
2024-08-31 | 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 Cournoyer |
2024-08-31 | 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 Cournoyer |
2024-04-29 | 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ès |