Summary: | dev-lang/spidermonkey:78: 78.6.0 doesn't build with rust 1.48 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anthony Ruhier <aruhier> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log |
I tested with rust 1.47, and same thing. I cannot reproduce, spidermonkeys-78.6.0 builds without any problems for me against rust-1.48. Keep in mind we apply same patch set we apply to firefox:78esr and your build log shows '38-bmo-1667736-Update-packed_simd-to-compile-on-Rust-1..patch ...'. It's really weird, but it's due to a rustflag I set: `RUSTFLAGS="-Ctarget-cpu=native"`. Unset it for spidermonkey fixes the issue. I'm closing the bug, sorry for the wrong report. |
Created attachment 680050 [details] Build log It has been fixed on Firefox ESR, but Spidermonkey 78.6.0 fails with rust 1.48. There is a patch in Firefox ESR to change the dependencies from packed_simd to v0.3.4, but Spidermonkey also uses packed_simd v0.3.3 in `third_party/rust/rand/`.