[arch-commits] Commit in rust/trunk (config.toml)
Johannes Löthberg
demize at archlinux.org
Sat Sep 28 18:30:59 UTC 2019
Date: Saturday, September 28, 2019 @ 18:30:58
Author: demize
Revision: 363513
Set codegen-units-std=1 to prevent LLVM crashes during cross-language LTO
Modified:
rust/trunk/config.toml
-------------+
config.toml | 6 ++++++
1 file changed, 6 insertions(+)
Modified: config.toml
===================================================================
--- config.toml 2019-09-28 14:25:21 UTC (rev 363512)
+++ config.toml 2019-09-28 18:30:58 UTC (rev 363513)
@@ -15,6 +15,12 @@
prefix = "/usr"
[rust]
+# LLVM crashes when passing an object through ThinLTO twice. This is triggered when using rust
+# code in cross-language LTO if libstd was built using ThinLTO.
+# http://blog.llvm.org/2019/09/closing-gap-cross-language-lto-between.html
+# https://github.com/rust-lang/rust/issues/54872
+codegen-units-std = 1
+
debuginfo-level = 2
channel = "stable"
More information about the arch-commits
mailing list