Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 762226 - dev-lang/spidermonkey:78: 78.6.0 doesn't build with rust 1.48
Summary: dev-lang/spidermonkey:78: 78.6.0 doesn't build with rust 1.48
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-28 12:08 UTC by Anthony Ruhier
Modified: 2020-12-29 00:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,413.16 KB, text/x-log)
2020-12-28 12:08 UTC, Anthony Ruhier
Details

Note You need to log in before you can comment on or make changes to this bug.
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.