Commit graph

165379 commits

Author SHA1 Message Date
Efraim Flashner
769df3512c
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-07-28 10:00:02 +03:00
Efraim Flashner
a959866a4b
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-07-28 10:00:02 +03:00
Efraim Flashner
5ad9215858
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-07-28 10:00:01 +03:00
Efraim Flashner
0fedcae5ef
fixup gcc-muslboot0
Change-Id: I55b66b938687905f447f8772056845a585ad28fb
2025-07-28 10:00:01 +03:00
Efraim Flashner
bc90eb474f
fixup mpc-boot
Change-Id: Ifba38b086d257018a9d0458459f290d78bed3cdb
2025-07-28 10:00:01 +03:00
Efraim Flashner
ab096edd91
fixup musl-boot
Change-Id: Id2e7067fb457209b8d7789b1b04e7e64acf0223f
2025-07-28 10:00:01 +03:00
Efraim Flashner
3065d2794e
fixup mpfr-boot
Change-Id: Ic154843caa82ab5fee20dabeed07449b854c5518
2025-07-28 10:00:01 +03:00
Efraim Flashner
2336a6e7e5
fixup gmp-boot
Change-Id: I92ffe90aef5f8ab708e127c7480d087ad2c523e9
2025-07-28 10:00:01 +03:00
Efraim Flashner
97fccc0dcf
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-07-28 10:00:01 +03:00
Efraim Flashner
2c1a73adbb
gnu: binutils-muslboot0: Don't compress the documentation.
* gnu/packages/commencement.scm (binutils-muslboot0)[arguments]: Delete
the 'compress-documentation phase.

Change-Id: Id6545a2c7481023d7e2f1b62c91acb40a1b5278f
2025-07-28 10:00:01 +03:00
Efraim Flashner
cf228f38e7
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-07-28 10:00:01 +03:00
Efraim Flashner
3884c519b6
gnu: musl-boot0: Upgrade to 1.2.5.
* gnu/packages/commencement.scm (musl-boot0): Upgrade to 1.2.5.

Change-Id: Iacfb6024d768ebf883ade8559bbe465181f2b8bb
2025-07-28 10:00:00 +03:00
Efraim Flashner
b14b7fe6d4
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-07-28 10:00:00 +03:00
Efraim Flashner
1e7828f986
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-07-28 10:00:00 +03:00
Efraim Flashner
00dd6c498e
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-07-28 10:00:00 +03:00
Efraim Flashner
94eec58b5d
fixup WIP: musl-boot0: Add fixes for i686 and x86_64.
Change-Id: I431579d13474f2b61575de07909bdd5d986de0f2
2025-07-28 10:00:00 +03:00
Efraim Flashner
d84282352c
fixup gnu: musl-boot0: Improve the install phase.
Change-Id: Id7ac782bf5fe9d6cce308ebd8271b0b4b43b704a
2025-07-28 10:00:00 +03:00
Stefan
4966be66af
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-07-28 10:00:00 +03:00
Efraim Flashner
5af61ad937
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-07-28 10:00:00 +03:00
Efraim Flashner
2fe393c4f9
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-07-28 10:00:00 +03:00
Efraim Flashner
bd7220ee3f
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-07-28 09:59:59 +03:00
Efraim Flashner
fe166ad06c
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-07-28 09:59:23 +03:00
Efraim Flashner
e18bfc469c
gnu: Add byacc-boot0.
* gnu/packages/commencement.scm (byacc-boot0): New variable.

Change-Id: I8b7e778af6b1e07bbac416dad2b2efb789dacd51
2025-07-28 09:59:23 +03:00
Efraim Flashner
f9d283f351
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-07-28 09:59:23 +03:00
Efraim Flashner
3d9b66162b
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-07-28 09:59:23 +03:00
Efraim Flashner
9adc7165e9
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-07-28 09:59:14 +03:00
Efraim Flashner
e6521aa82e
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-07-28 09:57:09 +03:00
Efraim Flashner
5983ecb210
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-07-28 09:57:09 +03:00
Efraim Flashner
9c1ddc8bb8
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-07-28 09:57:09 +03:00
Efraim Flashner
a85457babd
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-07-28 09:57:09 +03:00
Efraim Flashner
545537e9e2
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-07-28 09:57:09 +03:00
Efraim Flashner
b3aded0724
gnu: Add %boot-muslboot3-inputs.
* gnu/packages/commencement.scm (%boot-muslboot3-inputs): New variable.

Change-Id: I34e5c593f7f38df78707cc3c49260aae10192723
2025-07-28 09:57:09 +03:00
Efraim Flashner
6a82867679
gnu: Add mawk-mesboot.
* gnu/packages/commencement.scm (mawk-mesboot): New variable.

Change-Id: Ia04d70557682aef705eebe8caccb59ce68406ffc
2025-07-28 09:57:09 +03:00
Efraim Flashner
b70dd4d3db
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-07-28 09:57:08 +03:00
Efraim Flashner
18b1d67ba1
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-07-28 09:57:08 +03:00
Efraim Flashner
f5219cce0b
gnu: Add byacc-mesboot.
* gnu/packages/commencement.scm (byacc-mesboot): New variable.

Change-Id: I2bbda955702ec3ecb0c3ca1d3f336fd931d7c10a
2025-07-28 09:57:08 +03:00
Efraim Flashner
0cb946db8a
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-07-28 09:57:08 +03:00
Efraim Flashner
8fac4c8758
gnu: Add %boot-muslboot2-inputs.
* gnu/packages/commencement.scm (%boot-muslboot2-inputs): New variable.

Change-Id: Ia2248cb71b253487f62b2c8887bbd0153ebcd36c
2025-07-28 09:57:08 +03:00
Ekaitz Zarraga
fd6373b36c
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-07-28 09:57:08 +03:00
Ekaitz Zarraga
e71f668954
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-07-28 09:57:08 +03:00
Ekaitz Zarraga
c729ddc48d
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-07-28 09:57:08 +03:00
Efraim Flashner
4bccdce103
gnu: gcc-mesboot: Adjust for changes in gcc-mesboot1.
* gnu/packages/commencement.scm (gcc-mesboot)[inputs]: Replace gmp, mpfr
and mpc sources with the ones used later in the bootstrap.  Add the
no-longer inherited 'unpack-gmp&co phase.  Replace the
'set-cplus-include-path phase instead of the 'setenv phase and make the
changes less dramatic.

Change-Id: I89ec54cae4f48ea5f1b2c894c50a6065a56e5d33
2025-07-28 09:57:07 +03:00
Efraim Flashner
1db59d173f
gnu: gcc-mesboot1: Adjust setting include paths.
* gnu/packages/commencement.scm (gcc-mesboot1)[arguments]: Don't replace
the 'setenv phase, add a 'set-cplus-include-path phase to set the
CPLUS_INCLUDE_PATH.

Change-Id: I58434bca416c07b43e147b598930ad4ea8382802
2025-07-28 09:57:07 +03:00
Efraim Flashner
513d35d788
gnu: gcc-mesboot1: Fix native-search-paths.
* gnu/packages/commencement.scm (gcc-mesboot1)[native-search-paths]:
Don't inherit from gcc-core-mesboot1.  Add CPLUS_INCLUDE_PATH.

Change-Id: I027e0722d6c63bd2b6222849f6bb82907e593da7
2025-07-28 09:57:07 +03:00
Efraim Flashner
e8a32c36db
gnu: gcc-core-mesboot1: Adjust for dependency changes.
* gnu/packages/commencement.scm (gcc-core-mesboot1)[inputs]: Replace
gmp-source, mpfr-source and mpc-source with gmp, mpfr and mpc.
[arguments]: Remove the 'unpack-gmp&co and 'setenv phases.

Change-Id: Ie42824696501470a6d1bf3940dc9ed88f2b18131
2025-07-28 09:57:07 +03:00
Ekaitz Zarraga
0ecc96f355
gnu: mpc-boot: Update and build package.
* gnu/packages/commencement.scm (mpc-boot): Update to 1.2.1.  Replace
with a full package.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I827adfbcd3eb8d98b52da2931f3e435bfaec5096
2025-07-28 09:57:07 +03:00
Ekaitz Zarraga
325f8f03bc
gnu: mpfr-boot: Update and build package.
* gnu/packages/commencement.scm (mpfr-boot): Update to 4.1.0.  Replace
with a full package.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I472d3e7d037824c8588f951b51035eef06730ca6
2025-07-28 09:57:07 +03:00
Ekaitz Zarraga
38f3a41df4
gnu: gmp-boot: Update and build package.
* gnu/packages/commencement.scm (gmp-boot): Update to 5.1.3.  Replace
with a full package.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I6dcabd1f2b311063829fb680007b2ac1ba82be34
2025-07-28 09:57:07 +03:00
Ekaitz Zarraga
de0dfc506e
gnu: Add m4-boot.
* gnu/packages/commencement.scm (m4-boot): New variable.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Ic04b8b9ba7e273fe0607428b91d50e548f800aa1
2025-07-28 09:57:07 +03:00
Efraim Flashner
0ae13efb3b
gnu: Add %boot-tcc-musl-inputs.
* gnu/packages/commencement.scm (%boot-tcc-musl-inputs): New variable.

Change-Id: I65673183f284808ec8337dbdfa50678f21c28cd8
2025-07-28 09:57:07 +03:00