Switch default spidermonkey compiler from gcc to clang
Categories
(Core :: JavaScript Engine, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox83 | --- | fixed |
People
(Reporter: sfink, Assigned: sfink)
Details
Attachments
(2 files)
The spidermonkey builds should normally match the browser.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=5c4757c19782e5286013e9e40b32eca216f9ec26
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
One issue: /builds/worker/checkouts/gecko/js/src/jit/arm64/vixl/Logic-vixl.cpp:3607:16: error: implicit conversion from 'const int64_t' (aka 'const long') to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Werror,-Wimplicit-const-int-float-conversion]
I don't know what the intended behavior is. So I'll punt it to someone.
Assignee | ||
Comment 3•4 years ago
|
||
Thus quoth sstangl: "that code is intended to saturate the integer value to the maximum if it's not representable directly. The value as-is doesn't exist in f64 range, but it compares therefore against the lowest value that does. So that's correct as-is and saturates appropriately."
Also: "You could add a new constant that's the lowest f64 above or equal to i64_max"
Assignee | ||
Comment 4•4 years ago
|
||
I was a little confused, because I made a sample program and could not reproduce the warning. It looks like it's a difference between clang 9 and clang 11 (we must've upgraded recently? I know I've run mach bootstrap
pretty recently, yet still had clang 9).
I'll upload a patch to fix it as soon as I verify it locally.
Assignee | ||
Comment 5•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0bd465435b9f Fix warning with imprecise integer conversion to double on clang 11. r=lth
Comment 8•4 years ago
|
||
bugherder |
Pushed by sfink@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/de9d50aea943 Switch default spidermonkey compiler from gcc to clang r=jandem
Comment 10•4 years ago
|
||
bugherder |
Description
•