Spidermonkey build support for Linux m68k broken
Categories
(Firefox Build System :: General: Unsupported Platforms, defect, P5)
Tracking
(firefox79 fixed)
| Tracking | Status | |
|---|---|---|
| firefox79 | --- | fixed |
People
(Reporter: glaubitz, Assigned: glaubitz)
References
Details
Attachments
(15 files, 44 obsolete files)
|
1004 bytes,
patch
|
lth
:
review+
|
Details | Diff | Splinter Review |
|
2.03 KB,
patch
|
Details | Diff | Splinter Review | |
|
3.42 KB,
patch
|
Details | Diff | Splinter Review | |
|
777 bytes,
patch
|
Details | Diff | Splinter Review | |
|
1.66 KB,
patch
|
Details | Diff | Splinter Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review |
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Comment 1•8 years ago
|
||
| Assignee | ||
Comment 2•8 years ago
|
||
| Assignee | ||
Comment 3•8 years ago
|
||
| Assignee | ||
Comment 4•8 years ago
|
||
| Assignee | ||
Comment 5•8 years ago
|
||
| Assignee | ||
Comment 6•8 years ago
|
||
| Assignee | ||
Comment 7•8 years ago
|
||
| Assignee | ||
Comment 8•8 years ago
|
||
| Assignee | ||
Comment 9•8 years ago
|
||
| Assignee | ||
Comment 10•8 years ago
|
||
| Assignee | ||
Comment 11•8 years ago
|
||
| Assignee | ||
Comment 12•8 years ago
|
||
| Assignee | ||
Comment 13•8 years ago
|
||
| Assignee | ||
Comment 14•8 years ago
|
||
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Comment 15•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Comment 16•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Comment 17•8 years ago
|
||
Updated•8 years ago
|
| Assignee | ||
Comment 18•8 years ago
|
||
| Assignee | ||
Comment 19•8 years ago
|
||
| Assignee | ||
Comment 20•8 years ago
|
||
Updated•8 years ago
|
| Assignee | ||
Comment 21•8 years ago
|
||
Updated•8 years ago
|
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Comment 34•8 years ago
|
||
| mozreview-review | ||
Comment 35•8 years ago
|
||
| mozreview-review | ||
Comment 36•8 years ago
|
||
| mozreview-review | ||
Comment 37•8 years ago
|
||
Comment 38•8 years ago
|
||
| mozreview-review | ||
Comment 39•8 years ago
|
||
| mozreview-review | ||
Updated•8 years ago
|
Comment 40•8 years ago
|
||
| Assignee | ||
Comment 41•8 years ago
|
||
| Assignee | ||
Comment 42•8 years ago
|
||
Comment 43•8 years ago
|
||
| Assignee | ||
Comment 44•8 years ago
|
||
Comment 45•8 years ago
|
||
Comment 46•8 years ago
|
||
Comment 47•8 years ago
|
||
| Assignee | ||
Comment 48•8 years ago
|
||
| Assignee | ||
Comment 49•8 years ago
|
||
| Assignee | ||
Comment 50•8 years ago
|
||
Comment 51•8 years ago
|
||
Comment 52•8 years ago
|
||
| mozreview-review | ||
Comment 53•8 years ago
|
||
| mozreview-review | ||
| Assignee | ||
Comment 54•8 years ago
|
||
Comment 55•8 years ago
|
||
| mozreview-review | ||
| Assignee | ||
Comment 56•8 years ago
|
||
| Assignee | ||
Comment 57•8 years ago
|
||
| Assignee | ||
Comment 58•8 years ago
|
||
| Assignee | ||
Comment 59•8 years ago
|
||
| Assignee | ||
Comment 60•8 years ago
|
||
Comment 61•8 years ago
|
||
| Assignee | ||
Comment 62•8 years ago
|
||
Updated•8 years ago
|
Comment 63•8 years ago
|
||
| mozreview-review | ||
Comment 64•8 years ago
|
||
| Assignee | ||
Comment 65•8 years ago
|
||
Comment 66•8 years ago
|
||
| Assignee | ||
Comment 67•8 years ago
|
||
Comment 68•8 years ago
|
||
| mozreview-review | ||
Comment 69•8 years ago
|
||
| mozreview-review | ||
| Assignee | ||
Comment 70•8 years ago
|
||
Comment 71•8 years ago
|
||
Comment 72•8 years ago
|
||
| mozreview-review | ||
Comment 73•8 years ago
|
||
| mozreview-review | ||
Updated•8 years ago
|
Updated•8 years ago
|
| Assignee | ||
Comment 74•8 years ago
|
||
| Assignee | ||
Comment 75•8 years ago
|
||
| Assignee | ||
Comment 76•8 years ago
|
||
| Assignee | ||
Comment 77•8 years ago
|
||
| Assignee | ||
Comment 78•8 years ago
|
||
| Assignee | ||
Comment 79•8 years ago
|
||
| Assignee | ||
Comment 80•8 years ago
|
||
| Assignee | ||
Comment 81•8 years ago
|
||
| Assignee | ||
Comment 82•8 years ago
|
||
| Assignee | ||
Comment 83•8 years ago
|
||
| Assignee | ||
Comment 84•8 years ago
|
||
| Assignee | ||
Comment 85•8 years ago
|
||
| Assignee | ||
Comment 86•8 years ago
|
||
| Assignee | ||
Comment 87•8 years ago
|
||
| Assignee | ||
Comment 88•8 years ago
|
||
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Updated•8 years ago
|
| Assignee | ||
Comment 89•8 years ago
|
||
| Assignee | ||
Updated•8 years ago
|
Comment 90•8 years ago
|
||
| Assignee | ||
Comment 91•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Comment 92•8 years ago
|
||
Updated•8 years ago
|
Comment 93•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
| Assignee | ||
Comment 94•8 years ago
|
||
| Assignee | ||
Updated•8 years ago
|
Comment 95•8 years ago
|
||
Updated•8 years ago
|
| Assignee | ||
Comment 96•8 years ago
|
||
Comment 97•8 years ago
|
||
Comment 98•8 years ago
|
||
Comment 99•8 years ago
|
||
Comment 100•8 years ago
|
||
Updated•8 years ago
|
Comment 101•8 years ago
|
||
Comment 102•8 years ago
|
||
Comment 103•8 years ago
|
||
| Assignee | ||
Comment 104•8 years ago
|
||
Comment 105•8 years ago
|
||
| Assignee | ||
Comment 106•8 years ago
|
||
Comment 107•8 years ago
|
||
Comment 108•8 years ago
|
||
Comment 109•8 years ago
|
||
Comment 110•8 years ago
|
||
Comment 111•8 years ago
|
||
Comment 112•8 years ago
|
||
| Assignee | ||
Comment 113•8 years ago
|
||
| Assignee | ||
Comment 114•8 years ago
|
||
| Assignee | ||
Comment 115•8 years ago
|
||
Comment 116•8 years ago
|
||
Comment 117•8 years ago
|
||
Comment 118•8 years ago
|
||
Comment 119•8 years ago
|
||
Comment 120•8 years ago
|
||
| Comment hidden (off-topic) |
| Assignee | ||
Comment 122•8 years ago
|
||
| Assignee | ||
Comment 123•8 years ago
|
||
| Assignee | ||
Comment 124•8 years ago
|
||
Comment 125•8 years ago
|
||
| Assignee | ||
Comment 126•8 years ago
|
||
| Assignee | ||
Comment 127•8 years ago
|
||
Comment 128•8 years ago
|
||
| Assignee | ||
Comment 129•8 years ago
|
||
| Assignee | ||
Comment 130•8 years ago
|
||
Comment 131•8 years ago
|
||
Comment 132•8 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
| Assignee | ||
Comment 133•7 years ago
|
||
Comment 134•7 years ago
|
||
| Assignee | ||
Comment 135•7 years ago
|
||
Updated•6 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 136•5 years ago
|
||
| Assignee | ||
Comment 137•5 years ago
|
||
| Assignee | ||
Comment 138•5 years ago
|
||
| Assignee | ||
Comment 139•5 years ago
|
||
| Assignee | ||
Comment 140•5 years ago
|
||
| Assignee | ||
Comment 141•5 years ago
|
||
| Assignee | ||
Comment 142•5 years ago
|
||
Comment 143•5 years ago
|
||
| Assignee | ||
Comment 144•5 years ago
|
||
| Assignee | ||
Comment 145•5 years ago
|
||
Ah, I didn't know there was a Phabricator instance now. Thanks for the heads-up!
Comment 146•5 years ago
|
||
| Assignee | ||
Comment 147•5 years ago
|
||
| Assignee | ||
Comment 148•5 years ago
|
||
| Assignee | ||
Comment 149•5 years ago
|
||
| Assignee | ||
Comment 150•5 years ago
|
||
| Assignee | ||
Comment 151•5 years ago
|
||
| Assignee | ||
Comment 152•5 years ago
|
||
| Assignee | ||
Comment 153•5 years ago
|
||
Currently, MOZ_ALIGNED_DECL uses the order (_type, _align) for its
parameters. However, this order makes the code less readable when
_type is a larger object like a struct because the value for _align
would be at the end of the struct definition. By swapping the order
of _type and _align, the alignment value will always be next to
the type name, regardless how far the definition of _type extends.
| Assignee | ||
Comment 154•5 years ago
|
||
Define RETURN_INSTR for m68k in TestPoisonArea, i.e. the m68k assembly opcodes for "rts ; rts".
| Assignee | ||
Comment 155•5 years ago
|
||
Previously, the tests assumed that the alignment of int and long equals
their size. This commit fixes the tests for targets like m68k that have
sizeof(int) == 4 and alignof(int) == 2. A static helper function sizemax
was introduced as the offset of the second element in Pair<int,long>
might be either determined by its alignment requirement or the size of
the preceding int element and we use the helper function to pick the
larger of the two values.
| Assignee | ||
Comment 156•5 years ago
|
||
This allows the build on m68k to use the atomic operations provided by GCC.
| Assignee | ||
Comment 157•5 years ago
|
||
Adds the basic definitions for m68k to mozbuild, allowing to build Spidermonkey.
| Assignee | ||
Comment 158•5 years ago
|
||
All added to Phabricator. Thanks!
Once this is merged, I'll follow up with the necessary changes for riscv64.
| Assignee | ||
Comment 159•5 years ago
|
||
FWIW, we're currently also working on Rust support for m68k. So we even might be able to build the whole of Firefox at some point :).
Comment 160•5 years ago
|
||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 161•5 years ago
|
||
(In reply to John Paul Adrian Glaubitz from comment #159)
FWIW, we're currently also working on Rust support for m68k. So we even might be able to build the whole of Firefox at some point :).
I'll have to see how it runs on my 68040 Amiga A4000T.... of course 16MB ram is a problem. ;-)
| Assignee | ||
Comment 162•5 years ago
|
||
(In reply to Randell Jesup [:jesup] (needinfo me) from comment #161)
(In reply to John Paul Adrian Glaubitz from comment #159)
FWIW, we're currently also working on Rust support for m68k. So we even might be able to build the whole of Firefox at some point :).
I'll have to see how it runs on my 68040 Amiga A4000T.... of course 16MB ram is a problem. ;-)
There are modern accelerators that will provide a lot more power such as the Apollo Vampire and the Amiga allows RAM upgrades with cards like the BigRAMPlus up to 1 GB of RAM (or maybe more with the Vampire).
In case you're interested, the m68k LLVM backend is currently work in progress, see: https://www.bountysource.com/issues/90829856-llvm-complete-the-m68000-backend-so-it-can-be-merged-upstream
| Assignee | ||
Comment 163•5 years ago
|
||
This is unfortunately still blocked by the last patch review by jwalden:
Any suggestion what I can to move this forward?
I would like to get these changes merged so I can follow up with the improvements for riscv64 and other architectures.
| Assignee | ||
Comment 164•5 years ago
|
||
Ok, it has been accepted now. Let's see when my changes get merged :).
| Assignee | ||
Comment 165•5 years ago
|
||
Adds the basic definitions for m68k to mozbuild, allowing to build Spidermonkey.
| Assignee | ||
Comment 166•5 years ago
|
||
This allows the build on m68k to use the atomic operations provided by GCC.
Depends on D77285
| Assignee | ||
Comment 167•5 years ago
|
||
Currently, MOZ_ALIGNED_DECL uses the order (_type, _align) for its
parameters. However, this order makes the code less readable when
_type is a larger object like a struct because the value for _align
would be at the end of the struct definition. By swapping the order
of _type and _align, the alignment value will always be next to
the type name, regardless how far the definition of _type extends.
Depends on D77287
| Assignee | ||
Comment 168•5 years ago
|
||
Previously, the tests assumed that the alignment of int and long equals
their size. This commit fixes the tests for targets like m68k that have
sizeof(int) == 4 and alignof(int) == 2. A static helper function sizemax
was introduced as the offset of the second element in Pair<int,long>
might be either determined by its alignment requirement or the size of
the preceding int element and we use the helper function to pick the
larger of the two values.
Depends on D77288
| Assignee | ||
Comment 169•5 years ago
|
||
Define RETURN_INSTR for m68k in TestPoisonArea, i.e. the m68k assembly
opcodes for "rts ; rts".
Depends on D77289
Comment 170•5 years ago
|
||
Comment 171•5 years ago
|
||
Backed out 5 changesets (bug 1325771) for Spidermonkey failures and build bustage in build/src/mfbt/tests/TestCompactPair.cpp. CLOSED TREE
Log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=304925017&repo=autoland&lineNumber=5167
Push with failures:
https://treeherder.mozilla.org/#/jobs?repo=autoland&group_state=expanded&revision=ace40545b46c2c994e05a51ec466e3cb81a97d0c
Backout:
https://hg.mozilla.org/integration/autoland/rev/c593e06b6cf405c5056e20337f2c3acb9883f428
| Assignee | ||
Comment 172•5 years ago
|
||
Thanks, I fix that error. Looks like size_t just needs the std:: namespace specifier. Not sure why this slipped through.
| Assignee | ||
Comment 173•5 years ago
|
||
Fixed. Builds fine now.
But it looks like moz-phab reset the reviewed flags for all patches :(.
Comment 174•5 years ago
|
||
Comment 175•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/47230cc3258d
https://hg.mozilla.org/mozilla-central/rev/1792304075b3
https://hg.mozilla.org/mozilla-central/rev/98d02ae1933f
| Assignee | ||
Comment 176•5 years ago
|
||
Thanks for pushing my changes.
Unfortunately, two of the changes are missing:
https://phabricator.services.mozilla.com/D77290
https://phabricator.services.mozilla.com/D77289
Any idea why these are not in despite being set as accepted?
| Assignee | ||
Comment 177•5 years ago
|
||
D77289 has been accepted again. Can someone merged D77289 and D77290 now?
Do I need to reopen the bug report?
Comment 179•5 years ago
|
||
Comment 180•5 years ago
|
||
| bugherder | ||
Updated•5 years ago
|
Description
•