Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 762226

Summary: dev-lang/spidermonkey:78: 78.6.0 doesn't build with rust 1.48
Product: Gentoo Linux Reporter: Anthony Ruhier <aruhier>
Component: Current packagesAssignee: 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

Description Anthony Ruhier 2020-12-28 12:08:30 UTC
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/`.
Comment 1 Anthony Ruhier 2020-12-28 13:28:33 UTC
I tested with rust 1.47, and same thing.
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2020-12-28 23:56:17 UTC
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 ...'.
Comment 3 Anthony Ruhier 2020-12-29 00:06:06 UTC
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.