Emit a configure error if rustc version >= 1.33 and --enable-rust-simd used
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox-esr60 fixed, firefox65 fixed, firefox66 fixed, firefox67 fixed)
People
(Reporter: hsivonen, Assigned: hsivonen)
References
Details
Attachments
(2 files)
(deleted),
text/x-phabricator-request
|
lizzard
:
approval-mozilla-beta+
RyanVM
:
approval-mozilla-release+
|
Details |
(deleted),
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-esr60+
|
Details |
Mike Hommey [:glandium] wrote in bug 1521734 comment 15:
That said, before that, we should make --enable-rust-simd error out if building with rust >= 1.33, and uplift that to all branches, including esr, because wasting all this time to fail during the build is not going to help anybody.
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
(ESR backport of patch)
Assignee | ||
Comment 4•6 years ago
|
||
And this breaks artifact build:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=231212034&repo=autoland&lineNumber=775
Comment 5•6 years ago
|
||
A reasonable thing to do is to change the check to if rustc_info and rustc_info.version...
; and file a followup to make this whole thing dependent on compile_environment, like e.g. --with-system-libvpx.
Assignee | ||
Comment 6•6 years ago
|
||
Let's see if this try run ends up running artifact builds, too:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=8e3a9d415a9c083a667a873e53c51fa7e205403a
Comment 7•6 years ago
|
||
Backed out for artifact build bustage
backout: https://hg.mozilla.org/integration/autoland/rev/a1a345331f32ecb54392e116a3b7553f9de8f1d2
failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=231210773&repo=autoland&lineNumber=858
Assignee | ||
Comment 9•6 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #5)
file a followup to make this whole thing dependent on compile_environment, like e.g. --with-system-libvpx.
Filed as bug 1531691.
Assignee | ||
Comment 10•6 years ago
|
||
Comment on attachment 9047610 [details]
Bug 1531655 - Emit a configure error if rustc version >= 1.33 and --enable-rust-simd used.
Beta/Release Uplift Approval Request
- Feature/Bug causing the regression: None
- User impact if declined: People who build Firefox from source using Rust 1.33 without the fix for bug 1521249 will be confused. This person could be the end user in the case of packaging systems that build binaries on the end user's system.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This is a build system-only early error in a case where the build would fail anyway, and the patch does not fail on treeherder.
- String changes made/needed: None
Assignee | ||
Comment 11•6 years ago
|
||
Comment on attachment 9047614 [details]
Bug 1531655 - Emit a configure error if rustc version >= 1.33 and --enable-rust-simd used.
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: Rust 1.33 removed compiler internals that the simd crate (enabled by --enable-rust-simd) depended on. Since the replacement, the packed_simd crate, does not build with the Rust version that Mozilla's build infra pins for ESR60, the fix for bug 1521249 can't land on ESR. However, downstream packagers who package ESR but roll Rust versions forward need to be pointed to bug 1521249 so that they can apply the ESR backport of packed_simd usage if they build with Rust 1.33 or higher and don't want to regress user-facing performance.
- User impact if declined: People who build Firefox from source using Rust 1.33 without the fix for bug 1521249 will be confused. This person could be the end user in the case of packaging systems that build binaries on the end user's system.
- Fix Landed on Version: 67
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This is a build system-only early error in a case where the build would fail anyway, and the patch does not fail on treeherder.
- String or UUID changes made by this patch: None
Comment 12•6 years ago
|
||
bugherder |
Comment on attachment 9047610 [details]
Bug 1531655 - Emit a configure error if rustc version >= 1.33 and --enable-rust-simd used.
OK for uplift for beta 13.
Comment 14•6 years ago
|
||
bugherder uplift |
Comment 15•6 years ago
|
||
Comment on attachment 9047610 [details]
Bug 1531655 - Emit a configure error if rustc version >= 1.33 and --enable-rust-simd used.
Doesn't affect the builds we ship, just makes builds fail earlier than they otherwise would have for users building with Rust 1.33. Approved for mozilla-release and esr60.
Updated•6 years ago
|
Comment 16•6 years ago
|
||
bugherder uplift |
Comment 17•6 years ago
|
||
bugherder uplift |
Description
•