Commit graph

152348 commits

Author SHA1 Message Date
Efraim Flashner
e33bffe6b0
Revert "gnu: gcc-muslboot: Apply patches in the package source."
This reverts commit 2512d006e2.

The package fails to unpack in the 'unpack phase
2025-01-13 11:23:13 +02:00
Efraim Flashner
12139343a3
Revert "gnu: gcc-muslboot0: Apply patches in the package source."
This reverts commit 75ccc3586a.

The source fails to unpack in the 'unpack phase
2025-01-13 11:23:13 +02:00
Efraim Flashner
a00f35fe18
Revert "gnu: m4-boot0: Downgrade to 1.4.18."
This reverts commit 9cdb5e7f8f.

This version FTBFS on powerpc64le-linux.
2025-01-13 11:23:13 +02:00
Efraim Flashner
6d623283ce
gnu: bison-boot0: Update flags for riscv64-linux.
* gnu/packages/commencement.scm (bison-boot0)[arguments]: Update
make-flags and configure-flags for riscv64-linux.

Change-Id: Ia91d5453e8ccb124dab7f021810346fea2729220
2025-01-13 11:23:13 +02:00
Efraim Flashner
24b0f152f0
fixup findutils-boot0: Adjust the skipped tests on riscv64-linux.
Change-Id: I01c5e8477bad0f82f9ba29894b81610263ced7a1
2025-01-13 11:23:13 +02:00
Efraim Flashner
56527d785d
gnu: gcc-muslboot0: Apply patches in the package source.
* gnu/packages/commencement.scm (gcc-muslboot0)[source]: Add patch.
[arguments]: Remove custom phase applying patch.
(gcc-muslboot): Adjust accordingly.

Change-Id: Ie502ac2db65b8928b84ddbcb65e82151156f08e7
2025-01-13 11:23:13 +02:00
Efraim Flashner
de1337b35c
gnu: gcc-muslboot: Apply patches in the package source.
* gnu/packages/commencement.scm (gcc-muslboot)[source]: Add patches.
[arguments]: Remove custom phases applying patches.

Change-Id: I01b9af67189c0213fd60d2822dca7975ddf4a2a8
2025-01-13 11:23:13 +02:00
Efraim Flashner
96c2dacf44
gnu: gcc-muslboot: Backport c++ builtin values.
* gnu/packages/commencement.scm (gcc-muslboot)[arguments]: Add a custom
phase backporting the correct definitions for __cplusplus.

Change-Id: I64a77dc4d4cb5936e650d37585145f171adc8572
2025-01-13 11:23:12 +02:00
Efraim Flashner
741dc04c0c
gnu: gcc-muslboot: Use full gcc sources.
* gnu/packages/commencement.scm (gcc-muslboot)[source]: Use the full gcc
sources, not gcc-core.
[native-inputs]: Remove the gcc-g++ sources.
[arguments]: Remove custom phase unpacking the gcc-g++ sources.

Change-Id: Ib574db2e2c92db693b0fd8d90d6d248976b0fa19
2025-01-13 11:23:12 +02:00
Efraim Flashner
de8b67c735
gnu: gcc-mesboot1: Backport c++ builtin values.
* gnu/packages/commencement.scm (gcc-mesboot1)[arguments]: Add a custom
phase backporting the correct definitions for __cplusplus.

Change-Id: Ia594fd8ae983c7cfe025fd606f66261e03574f7f
2025-01-13 11:23:12 +02:00
Efraim Flashner
bb6dba1689
gnu: gcc-mesboot1: Use full gcc sources.
* gnu/packages/commencement.scm (gcc-mesboot1)[source]: Use the full gcc
sources, not gcc-core.
[native-inputs]: Remove the gcc-g++ sources.
[arguments]: Remove custom phase unpacking the gcc-g++ sources.

Change-Id: I4822bbf0385fc0bfb673ec834cc253d9465b0813
2025-01-13 11:23:12 +02:00
Efraim Flashner
8ba8f5486e
fixup gcc-muslboot0
Change-Id: I55b66b938687905f447f8772056845a585ad28fb
2025-01-13 11:23:12 +02:00
Efraim Flashner
4af7afebd1
fixup mpc-boot
Change-Id: Ifba38b086d257018a9d0458459f290d78bed3cdb
2025-01-13 11:23:12 +02:00
Efraim Flashner
e47957eb01
fixup musl-boot
Change-Id: Id2e7067fb457209b8d7789b1b04e7e64acf0223f
2025-01-13 11:23:12 +02:00
Efraim Flashner
d6a18cc732
fixup mpfr-boot
Change-Id: Ic154843caa82ab5fee20dabeed07449b854c5518
2025-01-13 11:23:12 +02:00
Efraim Flashner
274fa50f3b
fixup gmp-boot
Change-Id: I92ffe90aef5f8ab708e127c7480d087ad2c523e9
2025-01-13 11:23:12 +02:00
Efraim Flashner
a18c6f6c92
gnu: m4-boot0: Downgrade to 1.4.18.
* gnu/packages/commencement.scm (m4-boot0): Downgrade to 1.4.18.
[arguments]: Don't inherit from m4.  Add a phase to patch shell
invocations in the tests.  Add a phase when building for riscv64-linux
to skip a few tests.

Change-Id: Ide87b1dceec6a6a95a750e4cd561d7be166ffee2
2025-01-13 11:23:12 +02:00
Efraim Flashner
ba75555339
gnu: binutils-muslboot0: Don't compress the documentation.
* gnu/packages/commencement.scm (binutils-muslboot0)[arguments]: Delete
the 'compress-documentation phase.

Change-Id: Id6545a2c7481023d7e2f1b62c91acb40a1b5278f
2025-01-13 11:23:12 +02:00
Efraim Flashner
31d5cac2d2
gnu: binutils-muslboot0: Correct package inputs.
* gnu/packages/commencement.scm (binutils-muslboot0)[native-inputs]:
Inherit from tcc-musl's native-inputs.

Change-Id: I6390e85c740da85fe14359e193015710c10dd5c2
2025-01-13 11:23:11 +02:00
Efraim Flashner
ccfc10536f
gnu: musl-boot0: Upgrade to 1.2.5.
* gnu/packages/commencement.scm (musl-boot0): Upgrade to 1.2.5.

Change-Id: Iacfb6024d768ebf883ade8559bbe465181f2b8bb
2025-01-13 11:23:11 +02:00
Efraim Flashner
32fc7ef455
gnu: musl-boot0: Fix building on riscv64-linux.
* gnu/packages/commencement.scm (musl-boot0)[arguments]: Add a phase to
remove a file which tcc can't compile.

Change-Id: Iacf5d2dc6250a312b2181c8bfe749ca68de7f55a
2025-01-13 11:23:11 +02:00
Efraim Flashner
978d9f039c
gnu: musl-boot0: Fix installation order of headers.
* gnu/packages/commencement.scm (musl-boot0)[arguments]: Reverse the
order of the headers to be installed.

Change-Id: Icfbf2e1e7e737192899d4074a9183b6267fad5f9
2025-01-13 11:23:11 +02:00
Efraim Flashner
c7f5bb6143
gnu: tcc-musl: Update build flags for multiple architectures.
* gnu/packages/commencement.scm (tcc-musl)[arguments]: Adjust the custom
'build phase to provide necessary architecture specific flags.

Change-Id: I1e506cceae26f8a24336d36f94211d9a8923c491
2025-01-13 11:23:11 +02:00
Efraim Flashner
5b4d2b7c4e
fixup WIP: musl-boot0: Add fixes for i686 and x86_64.
Change-Id: I431579d13474f2b61575de07909bdd5d986de0f2
2025-01-13 11:23:11 +02:00
Efraim Flashner
ff4b742323
fixup gnu: musl-boot0: Improve the install phase.
Change-Id: Id7ac782bf5fe9d6cce308ebd8271b0b4b43b704a
2025-01-13 11:23:11 +02:00
Stefan
27fc539e64
WIP: musl-boot0: Add fixes for i686 and x86_64.
THIS PATCH ONLY IS RELEVANT IF MUSL-BOOT0 MOVES TO 1.2.5!

* gnu/packages/commencement.scm (musl-boot0)[arguments]: Add phases to
use the fallback C implementations of some code to ensure compatibility
with tcc.

Change-Id: I87fb6b58fe386f6677069d85a22b8fdb28b5183d
2025-01-13 11:23:11 +02:00
Efraim Flashner
f21abf59c8
gnu: musl-boot0: Improve the install phase.
* gnu/packages/commencement.scm (musl-boot0)[arguments]: Adjust the
custom 'install phase to support more architectures.

Change-Id: I86759eb5813441fa3ebff1222de2fe8ffa69e8ba
2025-01-13 11:23:11 +02:00
Efraim Flashner
8589970b66
gnu: binutils-mesboot: Update to 2.30.
* gnu/packages/commencement.scm (binutils-mesboot): Update to 2.30.
[arguments]: Don't inherit from binutils-mesboot1.  Update
configure-flags.
[native-inputs]: When building for not i686 or x86_64 use
%boot-muslboot2-inputs.
[supported-systems]: Support all supported systems.

Change-Id: I52740e2c87fbb31da05a0f3fd5016edf4e94bd41
2025-01-13 11:23:11 +02:00
Efraim Flashner
a3de05be85
gnu: glibc-headers-mesboot: Remove unused C macro.
* gnu/packages/commencement.scm (glibc-headers-mesboot)[source]: Add
snippet to remove an exported unused pre-GNU C macro.

Change-Id: I8622eeaea819ca8b3abbee36e2a14214ec97be07
2025-01-13 11:23:11 +02:00
Efraim Flashner
0da1ed77fc
gnu: ed: Update to 1.20.2.
* gnu/packages/text-editors.scm (ed): Update to 1.20.2.

Change-Id: I8874cb65809fd2fd0a7f1d8cf8717149e7edff01
2025-01-13 11:23:10 +02:00
Efraim Flashner
3b90423640
gnu: gawk-boot0: Remove pre-generated source file.
* gnu/packages/commencement.scm (gawk-boot0)[source]: Add snippet to
remove a pre-generated source file.
[native-inputs]: Add byacc-boot0.

Change-Id: Ieb3e859c1893b87e5767227e24541e45cf55afce
2025-01-13 11:23:10 +02:00
Efraim Flashner
7501c4dbdc
gnu: Add byacc-boot0.
* gnu/packages/commencement.scm (byacc-boot0): New variable.

Change-Id: I8b7e778af6b1e07bbac416dad2b2efb789dacd51
2025-01-13 11:23:10 +02:00
Efraim Flashner
aee3c0b707
gnu: %boot0-inputs: Remove duplicate packages.
* gnu/packages/commencement.scm (%boot0-inputs): When building for i686,
x86-64 or riscv64 remove the old *-mesboot packages for newer *-boot0
packages.

Change-Id: Ide54f9185dd67765f4a35110c6bb47d5f61ba6b5
2025-01-13 11:23:10 +02:00
Efraim Flashner
99c3d58004
gnu: %boot0-inputs: Use newly built *-boot0 packages on riscv64-linux.
* gnu/packages/commencement.scm (%boot0-inputs): Use the newly built
*-boot0 packages when creating the package list on riscv64-linux.

Change-Id: Id07bd5384065e6adec77fc8e00d53f08d308db48
2025-01-13 11:23:10 +02:00
Efraim Flashner
e9b487b9a4
gnu: file-boot0: Fix building on riscv64-linux.
* gnu/packages/commencement.scm (file)[configure-flags]: When building
for riscv64-linux disable the use of xz.
(file-boot0)[arguments]: When building for riscv64-linux adjust the
make-flags to pass a different CFLAG to build for C11.

Change-Id: I3c8a3f6882fd5c7dce7ba43785a1f1548fa984cb
2025-01-13 11:23:10 +02:00
Efraim Flashner
ab9bd21019
gnu: findutils-boot0: Adjust the skipped tests on riscv64-linux.
* gnu/packages/commencement.scm (findutils-boot0)[arguments]: In the
custom 'skip-problematic-tests phase adjust the tests skipped on
riscv64-linux.

Change-Id: I6252c69d088a27d4989b324ad64378102b7b5de2
2025-01-13 11:23:10 +02:00
Efraim Flashner
ebc2932dc2
gnu: gnu-make-boot0: Adjust configure-flags on riscv64-linux.
* gnu/packages/commencement.scm (gnu-make-boot0)[arguments]: When
building for riscv64-linux adjust the configure-flags to allow using
posix-spawn.

Change-Id: If0e983f57c3483acfa154aa569a126de206518c1
2025-01-13 11:23:10 +02:00
Efraim Flashner
6006e6fb29
gnu: %bootstrap-inputs+toolchain: Switch riscv64-linux to full bootstrap.
* gnu/packages/commencement.scm (%bootstrap-inputs+toolchain): When
building on riscv64-linux use %boot-mesboot6-inputs.

Change-Id: Ie5dbf4ba321ac9ff421533ec04d2ace9306e8a50
2025-01-13 11:23:10 +02:00
Efraim Flashner
f93e9bdf65
gnu: %boot-mesboot6-inputs: Adjust for riscv64-linux.
* gnu/packages/commencement.scm (%boot-mesboot6-inputs): Adjust a
different existing list of packages depending on which system we are
building for.

Change-Id: Ida848be3a41b5694099fbc61c2bc40e46e587f04
2025-01-13 11:23:10 +02:00
Efraim Flashner
632308931a
gnu: mesboot-package: Adjust for riscv64-linux builds.
* gnu/packages/commencement.scm (mesboot-package)[supported-systems]:
Add riscv64-linux.
[native-inputs]: Use %boot-mesboot5-inputs or %boot-muslboot3-inputs
depending on the system.
[arguments]: Don't enable parallel building on riscv64-linux.

Change-Id: I2e57278dcd1c1e14314ddd9a7fdc081245e08720
2025-01-13 11:23:10 +02:00
Efraim Flashner
03cdf0d085
gnu: Add %boot-muslboot3-inputs.
* gnu/packages/commencement.scm (%boot-muslboot3-inputs): New variable.

Change-Id: I34e5c593f7f38df78707cc3c49260aae10192723
2025-01-13 11:23:09 +02:00
Efraim Flashner
e781ad74e9
gnu: Add mawk-mesboot.
* gnu/packages/commencement.scm (mawk-mesboot): New variable.

Change-Id: Ia04d70557682aef705eebe8caccb59ce68406ffc
2025-01-13 11:23:09 +02:00
Efraim Flashner
7390e8a68e
gnu: gawk-mesboot: Remove pre-generated source file.
* gnu/packages/commencement.scm (gawk-mesboot)[source]: Use
bootstrap-origin.  Add a snippet to remove a pre-generated source file.
[native-inputs]: Add byacc-mesboot.

Change-Id: Ic064190ae76677e5473343ba50aaa22a43def462
2025-01-13 11:23:09 +02:00
Efraim Flashner
7996784285
gnu: gawk-mesboot: Support building on riscv64-linux.
* gnu/packages/commencement.scm (gawk-mesboot)[supported-systems]:
Remove field.
[native-inputs]: Use %boot-mesboot2-inputs or %boot-muslboot2-inputs
depending on which system it is being built for.

Change-Id: If4f2635cb2e651eedae6291dca0eddd4f5caea60
2025-01-13 11:23:09 +02:00
Efraim Flashner
8658a247b0
gnu: Add byacc-mesboot.
* gnu/packages/commencement.scm (byacc-mesboot): New variable.

Change-Id: I2bbda955702ec3ecb0c3ca1d3f336fd931d7c10a
2025-01-13 11:23:09 +02:00
Efraim Flashner
786412a834
gnu: hello-mesboot: Add support for riscv64-linux.
* gnu/packages/commencement.scm (hello-mesboot)[supported-systems]: Add
riscv64-linux.
[native-inputs]: If not building on x86 or x86_64 then use
%boot-muslboot2-inputs.

Change-Id: I39a5a6d294defc2b43d1aeebd5616de51924ec99
2025-01-13 11:23:09 +02:00
Efraim Flashner
f727ce3f43
gnu: Add %boot-muslboot2-inputs.
* gnu/packages/commencement.scm (%boot-muslboot2-inputs): New variable.

Change-Id: Ia2248cb71b253487f62b2c8887bbd0153ebcd36c
2025-01-13 11:23:09 +02:00
Ekaitz Zarraga
7b89213276
gnu: Add gcc-muslboot.
* gnu/packages/commencement.scm (gcc-muslboot): New variable.
* gnu/packages/patches/gcc-boot-4.6.4-riscv64-libstdc++-support.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Ic31754a13fe81631bea8fbc61e6f4af82e105d11
2025-01-13 11:23:09 +02:00
Ekaitz Zarraga
8157a90e63
gnu: Add musl-boot.
* gnu/packages/commencement.scm (musl-boot): New variable.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I2310f164276192099694c0ceb2ebe60938386f59
2025-01-13 11:23:09 +02:00
Ekaitz Zarraga
e19bd672c7
gnu: Add gcc-muslboot0.
* gnu/packages/commencement.scm (gcc-muslboot0): New variable.
* gnu/packages/patches/gcc-boot-4.6.4-riscv64-support.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I9a96fe502d739ddf1d73b0f3973f7f9e1e70dcb3
2025-01-13 11:23:09 +02:00