From 0ba12e837c31d4c5bcaeacb3eed946e0f08e76be Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 22 Oct 2024 09:03:38 +0200 Subject: [PATCH] bootstrap tests: disable compiler-rt optimizing MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit it cannot work since there are no bundled LLVM (and thus no bundled compiler-rt) sources available. during the regular build this is handled by our config, but bootstrap tests don't use that.. Signed-off-by: Fabian Grünbichler Gbp-Pq: Topic build Gbp-Pq: Name bootstrap-tests-disable-compiler-rt-optimizing.patch --- src/bootstrap/src/core/config/config.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/config/config.rs index 0587408e98..d77da9631d 100644 --- a/src/bootstrap/src/core/config/config.rs +++ b/src/bootstrap/src/core/config/config.rs @@ -1454,6 +1454,8 @@ impl Config { let build = toml.build.get_or_insert_with(Default::default); build.rustc = build.rustc.take().or(std::env::var_os("RUSTC").map(|p| p.into())); build.cargo = build.cargo.take().or(std::env::var_os("CARGO").map(|p| p.into())); + // Debian: don't optimize compiler-rt, the bundled sources are not available.. + build.optimized_compiler_builtins = Some(false); } if let Some(include) = &toml.profile { -- 2.30.2