minimal-bootstrap.musl11: Fix build with newer tcc

This commit is contained in:
dish
2025-12-10 23:22:30 -05:00
parent f401ff6003
commit 6bcba60b3d
4 changed files with 8 additions and 13 deletions
@@ -75,7 +75,7 @@ lib.makeScope
gawk-mes = callPackage ./gawk/mes.nix {
bash = bash_2_05;
tinycc = tinycc-mes;
tinycc = tinycc-bootstrappable;
gnused = gnused-mes;
};
@@ -123,7 +123,7 @@ lib.makeScope
tinycc = tinycc-mes;
};
gnumake = callPackage ./gnumake { tinycc = tinycc-mes; };
gnumake = callPackage ./gnumake { tinycc = tinycc-bootstrappable; };
gnumake-musl = callPackage ./gnumake/musl.nix {
bash = bash_2_05;
@@ -141,7 +141,7 @@ lib.makeScope
};
gnused-mes = callPackage ./gnused/mes.nix {
bash = bash_2_05;
tinycc = tinycc-mes;
tinycc = tinycc-bootstrappable;
};
gnutar = callPackage ./gnutar/mes.nix {
@@ -165,13 +165,13 @@ lib.makeScope
gzip = callPackage ./gzip {
bash = bash_2_05;
tinycc = tinycc-mes;
tinycc = tinycc-bootstrappable;
gnused = gnused-mes;
};
heirloom = callPackage ./heirloom {
bash = bash_2_05;
tinycc = tinycc-mes;
tinycc = tinycc-bootstrappable;
};
heirloom-devtools = callPackage ./heirloom-devtools { tinycc = tinycc-mes; };
@@ -54,12 +54,8 @@ let
url = "${liveBootstrap}/patches/sigsetjmp.patch";
hash = "sha256-wd2Aev1zPJXy3q933aiup5p1IMKzVJBquAyl3gbK4PU=";
})
# FIXME: this patch causes the build to fail
# (fetchurl {
# url = "${liveBootstrap}/patches/stdio_flush_on_exit.patch";
# hash = "sha256-/z5ze3h3QTysay8nRvyvwPv3pmTcKptdkBIaMCoeLDg=";
# })
# HACK: always flush stdio immediately
# Do not remove atm, gcc 4.6 does not build without this patch applied.
./always-flush.patch
(fetchurl {
url = "${liveBootstrap}/patches/va_list.patch";
@@ -14,11 +14,11 @@
}:
let
inherit (import ./common.nix { inherit lib; }) pname meta;
version = "1.2.4";
version = "1.2.5";
src = fetchurl {
url = "https://musl.libc.org/releases/musl-${version}.tar.gz";
hash = "sha256-ejXq4z1TcqfA2hGI3nmHJvaIJVE7euPr6XqqpSEU8Dk=";
hash = "sha256-qaEYu+hNh2TaDqDSizqz+uhHf8fkCF2QECuFlvx8deQ=";
};
in
bash.runCommand "${pname}-${version}"
@@ -1,7 +1,6 @@
{
lib,
fetchurl,
callPackage,
bash,
tinycc-bootstrappable,
musl,