| Summary: | Rust 1.28.0-1.mga6 segfaults when compiling encoding_c (and thus firefox) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Rémi Verschelde <rverschelde> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | Normal | CC: | sysadmin-bugs |
| Version: | 6 | Keywords: | advisory, has_procedure, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA6-64-OK | ||
| Source RPM: | rust-1.28.0-1.mga6 | CVE: | |
| Status comment: | |||
|
Description
Rémi Verschelde
2018-09-15 00:59:08 CEST
rust-1.28.0-1.1.mga6 fixes this issue thanks to this patch by Josh Stone: http://svnweb.mageia.org/packages/updates/6/rust/current/SOURCES/rust-1.28.0-debuginfo-llvm3.9-compat.patch?view=markup Cauldron is unaffected (recent enough LLVM). I'm also pushing updates to rust-packaging and rust-srpm-macros for convenience, they're not related to this bugfix, but it keeps us in sync with Cauldron and upstream in case we would decide to package some rust crates and applications in Mageia 6. Advisory: ========= Updated rust packages fix crash creating debuginfo metadata Mageia 6's rustc compiler is built against the system-wide LLVM 3.9.1, but rustc 1.28.0 has an incompatibility with this LLVM version, which leads to a segmentation fault when compiling certain crates (e.g. encoding_c). This update fixes it by using an alternative call compatible with LLVM 3.9.1. Updates are also provided to rust-packaging and rust-srpm-macros for Mageia packagers' convenience. References: - https://bugs.mageia.org/show_bug.cgi?id=23574 RPMs in core/updates_testing: ============================= cargo-1.28.0-1.1.mga6 cargo-doc-1.28.0-1.1.mga6 rust-1.28.0-1.1.mga6 rust-analysis-1.28.0-1.1.mga6 rust-debugger-common-1.28.0-1.1.mga6 rust-doc-1.28.0-1.1.mga6 rust-gdb-1.28.0-1.1.mga6 rust-lldb-1.28.0-1.1.mga6 rust-src-1.28.0-1.1.mga6 rust-std-static-1.28.0-1.1.mga6 rls-preview-0.128.0-1.1.mga6 rustfmt-preview-0.8.2-1.1.mga6 python3-rustcfg-0.0.2-1.mga6 python3-rustcfg-tests-0.0.2-1.mga6 rust-packaging-6-1.mga6 python3-rust2rpm-6-1.mga6 rust-srpm-macros-6-1.mga6 SRPMs in core/updates_testing: ============================== - rust-1.28.0-1.1.mga6 - python-rustcfg-0.0.2-1.mga6 - rust-packaging-6-1.mga6 - rust-srpm-macros-6-1.mga6 Testing procedure: ================== Bug 22882 comment 1 Keywords:
(none) =>
has_procedure Tested successfully on Mageia 6 x86_64, building ripgrep 0.10.0 as well as encoding_c (which used to trigger the crash). Will attempt to build firefox 60.2.0 tomorrow, if it works/doesn't fail on rust code, this should be good to validate. Whiteboard:
(none) =>
MGA6-64-OK Firefox built properly against this fixed rust (failed further down the road but due to a too old hunspell library, unrelated to rust). Validating, advisory uploaded. Keywords:
(none) =>
advisory, validated_update An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2018-0151.html Resolution:
(none) =>
FIXED |