Compare commits

...

96 Commits

Author SHA1 Message Date
Efraim Flashner
684a8ddc2d fixup gmp-boot1
Change-Id: Ie26b1ff6ec96033fcfb1f4bd0a00eeaaeccda0ff
2025-07-29 11:17:18 +03:00
Efraim Flashner
8e5a09abec fixup gmp-boot
Change-Id: I0d38c62e98607fa5cdfa08b3e2c2fad67be927a4
2025-07-29 11:17:04 +03:00
Efraim Flashner
8b8fff4197 gnu: byacc-boot0: Update to 20241231.
* gnu/packages/commencement.scm (byacc-boot0): Update to 20241231.
[source]: Add snippet to remove generated files.

Change-Id: I5dc6979580ded324d9e38b3470e57277cc354467
2025-07-29 11:02:53 +03:00
Efraim Flashner
1a7b4156a9 gnu: byacc-mesboot: Update to 20241231.
* gnu/packages/commencement.scm (byacc-mesboot): Update to 20241231.

Change-Id: I6f119e761626f5effad15589e05bd807919ce22b
2025-07-29 11:02:08 +03:00
Efraim Flashner
e46b77b245 WIP: maybe add gcc-musl-boot0
Change-Id: I23378f4d2be678874b3e4a1c0e7c088644c4b208
2025-07-28 10:00:03 +03:00
Efraim Flashner
53a56b3404 WIP: maybe add gcc-mesboot-10.
Change-Id: I60f650c1d212fd831fae7d8a9fb20f2c1144fb05
2025-07-28 10:00:03 +03:00
Efraim Flashner
d45a61333d gnu: Add musl-boot-static.
* gnu/packages/commencement.scm (musl-boot-static): New variable.

Change-Id: Ia1b9758c5e525c6fd25ea00539357d2ec9fbd8cc
2025-07-28 10:00:03 +03:00
Efraim Flashner
7fbe3db97b gnu: Add mpc-boot1.
* gnu/packages/commencement.scm (mpc-boot1): New variable.

Change-Id: I1d002867fa99a78f853c15c4b554f9ab8fa31a77
2025-07-28 10:00:03 +03:00
Efraim Flashner
96277ff48d gnu: Add mpfr-boot1.
* gnu/packages/commencement.scm (mpfr-boot1): New variable.

Change-Id: Ibae291199d0a3c4307026be906754bda552fc667
2025-07-28 10:00:03 +03:00
Efraim Flashner
0a2c2e0ff0 gnu: Add gmp-boot1.
* gnu/packages/commencement.scm (gmp-boot1): New variable.

Change-Id: I09688324d35f3caa8ea07de588cd673a557d50f6
2025-07-28 10:00:03 +03:00
Efraim Flashner
8e99b501ae Revert "gnu: gcc-muslboot: Apply patches in the package source."
This reverts commit 2512d006e2d5201257cae5c3d47476110dacc882.

The package fails to unpack in the 'unpack phase
2025-07-28 10:00:03 +03:00
Efraim Flashner
52a42ef591 Revert "gnu: gcc-muslboot0: Apply patches in the package source."
This reverts commit 75ccc3586a93d9ee9f458b05eca9d3a08d6f09ab.

The source fails to unpack in the 'unpack phase
2025-07-28 10:00:02 +03:00
Efraim Flashner
744120d0b7 Revert "gnu: m4-boot0: Downgrade to 1.4.18."
This reverts commit 9cdb5e7f8fa0bcfc311db4b1274666ddfe271d46.

This version FTBFS on powerpc64le-linux.
2025-07-28 10:00:02 +03:00
Efraim Flashner
01d4439f04 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-07-28 10:00:02 +03:00
Efraim Flashner
3329719c46 fixup findutils-boot0: Adjust the skipped tests on riscv64-linux.
Change-Id: I01c5e8477bad0f82f9ba29894b81610263ced7a1
2025-07-28 10:00:02 +03:00
Efraim Flashner
7b48ad283d 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-07-28 10:00:02 +03:00
Efraim Flashner
e765d1e386 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-07-28 10:00:02 +03:00
Efraim Flashner
c31b4b3e14 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-07-28 10:00:02 +03:00
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
Ekaitz Zarraga
bcc53dd092 gnu: Add binutils-muslboot0.
* gnu/packages/commencement.scm (binutils-muslboot0): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I3c0f18f97b60f302620baccab895cebdb332e1c5
2025-07-28 09:57:07 +03:00
Efraim Flashner
ae3b592f82 gnu: Add oksh-muslboot0.
* gnu/packages/commencement.scm (oksh-muslboot0): New variable.

Change-Id: I37bf7ac4c3cac842c217c297f257e8143fb2eaf8
2025-07-28 09:57:06 +03:00
Ekaitz Zarraga
73ff860ec0 gnu: Add tcc-musl.
* gnu/packages/commencement.scm (tcc-musl): New variable.

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

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Id658d7cd7c7b7b4051bd8418f57797fbbe426117
2025-07-28 09:57:06 +03:00
Ekaitz Zarraga
951575b255 gnu: Add musl-boot0.
* gnu/packages/commencement.scm (musl-boot0): New variable.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Ifceb687164435c6a2d9a630a2923a3ef71df007a
2025-07-28 09:57:06 +03:00
Ekaitz Zarraga
56ca751bb8 gnu: tcc-boot: Update to 0.9.27.1139-8cd21e9.
* gnu/packages/commencement.scm (tcc-boot0)
[native-inputs]: Remove mes-boot.
[arguments]: Adjust the 'scripted-patch phase for changes in the code.
Adjust the 'configure phase to create a minimal config.h to enable
building.  Adjust the compile flags passed in the 'build phase.  Add the
'build-libtcc1.a and 'rebuild-libraries phases.  Replace the 'install
phase with a manual install phase.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I81f4105a8f925943cd49e842dd8ae32f2eba45e0
2025-07-28 09:57:06 +03:00
Efraim Flashner
28ad39903a gnu: tcc-boot: Support more architectures.
* gnu/packages/commencement.scm (tcc-boot0)[arguments]: Adjust the
'configure phase to specify the build target.  Adjust the 'build and
'install phases to not pass architecture specific flags.

Change-Id: I3aa0ce006922a98a0070c81b65dc747736020e21
2025-07-28 09:57:06 +03:00
Efraim Flashner
76e8b718ff gnu: tcc-boot0: Specify the build target.
* gnu/packages/commencement.scm (tcc-boot0)[arguments]: Adjust the
'configure phase to specify the build target.

Change-Id: Ic418a631ed48873771217207d0088573fe2a151a
2025-07-28 09:57:06 +03:00
Efraim Flashner
16e547791a gnu: gcc-mesboot1-wrapper: Correctly target more systems.
* gnu/packages/commencement.scm (gcc-mesboot1-wrapper)[arguments]:
Adjust the 'build phase to correctly target more architectures.

Change-Id: I26ed5d329d7b3c80d74edd27acf4f2865928db7b
2025-07-28 09:57:06 +03:00
Efraim Flashner
4ddb3c62cb gnu: mes-boot: Enable support for armhf-linux and aarch64-linux.
* gnu/packages/commencement.scm (mes-boot)[supported-systems]: Add
armhf-linux, aarch64-linux.

Change-Id: I65da745e6db050416356613c67348fc3bfeee23e
2025-07-28 09:57:06 +03:00
Efraim Flashner
03f3150336 gnu: gcc-mesboot: Use commencement-build-target.
* gnu/packages/commencement.scm (gcc-mesboot)[arguments]: Adjust the
configure-flags and 'setenv phase to use commencement-build-target.

Change-Id: I7f864963dd5c08b878dda29188741707b3016edd
2025-07-28 09:57:05 +03:00
Efraim Flashner
93e218b83c gnu: glibc-headers-mesboot: Use commencement-build-target.
* gnu/packages/commencement.scm (glibc-headers-mesboot)[arguments]:
Adjust the configure-flags to use commencement-build-target.

Change-Id: Icc4a05f3f5f448a5cb657319ae47b3c3d4f347ca
2025-07-28 09:57:05 +03:00
Efraim Flashner
a3c1b0fafe gnu: gcc-core-mesboot1: Use commencement-build-target.
* gnu/packages/commencement.scm (gcc-core-mesboot1)[arguments]: Adjust
the configure-flags, make-flags and 'setenv phase to use
commencement-build-target.

Change-Id: I6dc04a4aacde08a83f9f5dac3af9c0fabc69d2a7
2025-07-28 09:57:05 +03:00
Efraim Flashner
a36659dd24 gnu: binutils-mesboot1: Use commencement-build-target.
* gnu/packages/commencement.scm (binutils-mesboot1)[arguments]: Adjust
the configure-flags to use commencement-build-target.

Change-Id: I950f3f43a823965833d04b0475adf3f4f2967711
2025-07-28 09:57:05 +03:00
Efraim Flashner
c4452c72f5 gnu: gcc-mesboot0: Use commencement-build-target.
* gnu/packages/commencement.scm (gcc-mesboot0)[arguments]: Adjust the
configure-flags and 'install2 phase to use commencement-build-target.

Change-Id: Icbd301bb6e1bb003940c1a9fef7d02fdc725a283
2025-07-28 09:57:05 +03:00
Efraim Flashner
bbe9f013ee gnu: glibc-mesboot0: Use commencement-build-target.
* gnu/packages/commencement.scm (glibc-mesboot0)[arguments]: Adjust the
configure-flags to use commencement-build-target.

Change-Id: Icc90fbc7669e5bd59e34d498d1a4f561af748cba
2025-07-28 09:57:05 +03:00
Efraim Flashner
be6ce60845 gnu: gcc-core-mesboot0: Use commencement-build-target.
* gnu/packages/commencement.scm (gcc-core-mesboot0)[arguments]: Adjust
the configure-flags and build phase to use commencement-build-target.
[native-search-paths]: Use commencement-build-target.

Change-Id: Ic147d914f45e1a5dd61fd93223792859e51264cb
2025-07-28 09:57:05 +03:00
Efraim Flashner
5ce07b9bd0 gnu: binutils-mesboot0: Use commencement-build-target.
* gnu/packages/commencement.scm (binutils-mesboot0)[arguments]: Adjust
the configure-flags to use commencement-build-target.

Change-Id: I18ed9a0dfebc9c90eb8cab2aeda3210a0b9508c1
2025-07-28 09:57:05 +03:00
Efraim Flashner
73046c0e5c gnu: patch-mesboot: Enable building on all systems.
* gnu/packages/commencement.scm (patch-mesboot)[supported-systems]:
Remove field.

Change-Id: I0bd853e9cabef671bff4b6a3d79621126fff39b9
2025-07-28 09:57:05 +03:00
Efraim Flashner
9200699a37 gnu: gnu-make-mesboot0: Update to 3.82.
* gnu/packages/commencement.scm (gnu-make-mesboot0): Update to 3.82.
[supported-systems]: Remove field.
[arguments]: Adjust configure-flags to use commencement-build-target.

Change-Id: I04d65008c891d451d640b222f84cef4dbb2b79c2
2025-07-28 09:57:05 +03:00
Efraim Flashner
6e7e61fef0 gnu: gzip-mesboot: Allow building on all systems.
* gnu/packages/commencement.scm (gzip-mesboot) [supported-systems]:
Remove field.

Change-Id: I3648113e44df1052e0a6581cd414284f7de4e71e
2025-07-28 09:57:04 +03:00
Efraim Flashner
1659932a8f gnu: mes-boot: Use commencement-build-target.
* gnu/packages/commencement.scm (mes-boot)[arguments]: Adjust 'configure
phase to use commencement-build-target.

Change-Id: Iee906690041f6fe3d015bfa594d64e330cd31be8
2025-07-28 09:57:04 +03:00
Efraim Flashner
03974494cc gnu: Add commencement-build-target.
* gnu/packages/commencement.scm (commencement-build-target): New
procedure.

Change-Id: Ie479ccd0afd659e843b45cb5cf22717f34ddff5c
2025-07-28 09:57:04 +03:00
Efraim Flashner
7850b68c4b gnu: mes-boot: Extend build timeout.
* gnu/packages/commencement.scm (mes-boot)[properties]: New field.

Change-Id: I5086114ff6d06687a167c3cdce0b8cc1d139c80b
2025-07-28 09:57:04 +03:00
Efraim Flashner
54d4135834 gnu: stage0-posix: Update to 1.7.0.
* gnu/packages/commencement.scm (stage0-posix): Update to 1.7.0.
[description]: Update to follow upstream's changes.

Change-Id: I3a9d9cdb494188b88f62becf00809c8f899208bd
2025-07-28 09:57:04 +03:00
Efraim Flashner
443798303c gnu: mes-boot: Update to 0.27.
* gnu/packages/commencement.scm (mes-boot): Update to 0.27.

Change-Id: I1fc91fe60fb421c688378223210ad6dba30faabf
2025-07-28 09:57:04 +03:00
Ekaitz Zarraga
bdac013e9e gnu: tcc-boot0: Update to 0.9.26-1157-gdd46e018.
* gnu/packages/commencement.scm (tcc-boot0): Update to
0.9.26-1157-gdd46e018.

Change-Id: Ie95cdafc567265b8924f982b6e4b3b8959777b5f
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-07-28 09:57:04 +03:00
Ekaitz Zarraga
339e480f93 gnu: mes-boot: Update to 0.26.1.
* gnu/packages/commencement.scm (mes-boot): Update to 0.26.1.

Change-Id: I59617e202bdbea79012df9b7174bd001869cc04a
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-07-28 09:57:04 +03:00
4 changed files with 12598 additions and 263 deletions

View File

@@ -1365,6 +1365,8 @@ dist_patch_DATA = \
%D%/packages/patches/gcc-asan-missing-include.patch \
%D%/packages/patches/gcc-boot-2.95.3.patch \
%D%/packages/patches/gcc-boot-4.6.4.patch \
%D%/packages/patches/gcc-boot-4.6.4-riscv64-support.patch \
%D%/packages/patches/gcc-boot-4.6.4-riscv64-libstdc++-support.patch \
%D%/packages/patches/gcc-cross-environment-variables.patch \
%D%/packages/patches/gcc-cross-gxx-include-dir.patch \
%D%/packages/patches/gcc-fix-texi2pod.patch \

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,31 @@
This is part 2 of the diff between Ekaitz's branch and upstream's releases/gcc-4.6.4 branch.
It only contains the libstdc++ diff.
diff --git a/libstdc++-v3/config/os/generic/os_defines.h b/libstdc++-v3/config/os/generic/os_defines.h
index 3199bf30bb3..b8d7c16361e 100644
--- a/libstdc++-v3/config/os/generic/os_defines.h
+++ b/libstdc++-v3/config/os/generic/os_defines.h
@@ -33,4 +33,9 @@
// System-specific #define, typedefs, corrections, etc, go here. This
// file will come before all others.
+// Disable the weak reference logic in gthr.h for os/generic because it
+// is broken on every platform unless there is implementation specific
+// workaround in gthr-posix.h and at link-time for static linking.
+#define _GLIBCXX_GTHREAD_USE_WEAK 0
+
#endif
diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host
index e29404c026f..5bbeb7f3763 100644
--- a/libstdc++-v3/configure.host
+++ b/libstdc++-v3/configure.host
@@ -236,6 +236,9 @@ case "${host_os}" in
freebsd*)
os_include_dir="os/bsd/freebsd"
;;
+ linux-musl*)
+ os_include_dir="os/generic"
+ ;;
gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
if [ "$uclibc" = "yes" ]; then
os_include_dir="os/uclibc"

File diff suppressed because it is too large Load Diff