Closed
Bug 1480834
Opened 6 years ago
Closed 6 years ago
Build GeckoView for x86_64
Categories
(GeckoView :: General, enhancement, P3)
Tracking
(geckoview62 wontfix, firefox-esr60 wontfix, firefox62 wontfix, firefox63 wontfix, firefox64 fixed)
RESOLVED
FIXED
mozilla64
People
(Reporter: cpeterson, Assigned: jchen)
References
Details
Attachments
(9 files)
46 bytes,
text/x-phabricator-request
|
dminor
:
review+
|
Details | Review |
46 bytes,
text/x-phabricator-request
|
nalexander
:
review+
|
Details | Review |
46 bytes,
text/x-phabricator-request
|
glandium
:
review+
|
Details | Review |
46 bytes,
text/x-phabricator-request
|
glandium
:
review+
|
Details | Review |
46 bytes,
text/x-phabricator-request
|
glandium
:
review+
|
Details | Review |
46 bytes,
text/x-phabricator-request
|
Details | Review | |
46 bytes,
text/x-phabricator-request
|
nalexander
:
review+
|
Details | Review |
46 bytes,
text/x-phabricator-request
|
nalexander
:
review+
dustin
:
review+
jlorenzo
:
review+
|
Details | Review |
46 bytes,
text/x-phabricator-request
|
nalexander
:
review+
froydnj
:
review+
|
Details | Review |
The Google Play Store will require all apps that include native code to include 64-bit builds (ARM64 and x86_64) by August 2019:
https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html
TBD: Once we have x86_64 builds, should we test x86_64 instead of or in addition to x86? Do we have any telemetry showing how common x86_64 devices are compared to x86?
Comment 1•6 years ago
|
||
Looks like the SOCs have supported x86_64 since the beginning ~2008.
https://en.wikichip.org/wiki/intel/microarchitectures/bonnell
https://en.wikichip.org/wiki/intel/microarchitectures/saltwell
https://en.wikichip.org/wiki/intel/microarchitectures/silvermont
https://en.wikichip.org/wiki/intel/microarchitectures/airmont
Assignee | ||
Comment 2•6 years ago
|
||
Add GN config files and updated moz.build files for building WebRTC on
Android x86_64.
Assignee | ||
Comment 3•6 years ago
|
||
Add x86-64 as an option for Android builds in the build system.
Assignee | ||
Comment 4•6 years ago
|
||
Add necessary checks to make the linker build on x86-64.
Assignee | ||
Comment 5•6 years ago
|
||
On 64-bit Android, `pthread_cond_timedwait_monotonic_np` is only
available for API 28+. The issue is, even though the NDK header does not
define `pthread_cond_timedwait_monotonic_np` for API 27 and below, the
NDK library _does_ include the function (in order to support builds
targeting API 28+).
During our configure test, the compiler only emits a warning about
`pthread_cond_timedwait_monotonic_np` being undefined, but linking
succeeds because the function is present in the library. Because linking
succeeds, the test inadvertently passes. This patch adds a '-Werror'
flag to the compilation, so the warning turns into an error to make the
test fail.
Assignee | ||
Comment 6•6 years ago
|
||
Currently, when building for Android x86-64 on Linux x86-64, we drop the
'--target' flag, which causes the build to fail. This patch adds a check
for OS mismatch, so we keep the '--target' flag in this situation.
Comment 7•6 years ago
|
||
Comment on attachment 9004665 [details]
Bug 1480834 - 4. Specify -Werror for pthread_cond_timedwait_monotonic_np check; r=glandium
Mike Hommey [:glandium] has approved the revision.
Attachment #9004665 -
Flags: review+
Comment 8•6 years ago
|
||
Comment on attachment 9004666 [details]
Bug 1480834 - 5. Keep target flag when building for Android on Linux; r=glandium
Mike Hommey [:glandium] has approved the revision.
Attachment #9004666 -
Flags: review+
Updated•6 years ago
|
Attachment #9004664 -
Attachment description: Bug 1480834 - 3. Support x86-64 in linker; r?glandium → Bug 1480834 - 3. Fix linker compile errors under x86-64; r?glandium
Comment 9•6 years ago
|
||
Comment on attachment 9004664 [details]
Bug 1480834 - 3. Fix linker compile errors under x86-64; r=glandium
Mike Hommey [:glandium] has approved the revision.
Attachment #9004664 -
Flags: review+
Comment 10•6 years ago
|
||
Comment on attachment 9004662 [details]
Bug 1480834 - 1. Add WebRTC config for x86_64 on Android; r=dminor
Dan Minor [:dminor] has approved the revision.
Attachment #9004662 -
Flags: review+
Comment 11•6 years ago
|
||
Comment on attachment 9004663 [details]
Bug 1480834 - 2. Add x86-64 build support; r=nalexander
Nick Alexander :nalexander [he/him] has approved the revision.
Attachment #9004663 -
Flags: review+
Updated•6 years ago
|
Attachment #9004662 -
Attachment description: Bug 1480834 - 1. Add WebRTC config for x86_64 on Android; r?dminor → Bug 1480834 - 1. Add WebRTC config for x86_64 on Android; r=dminor
Updated•6 years ago
|
Attachment #9004663 -
Attachment description: Bug 1480834 - 2. Add x86-64 build support; r?nalexander → Bug 1480834 - 2. Add x86-64 build support; r=nalexander
Updated•6 years ago
|
Attachment #9004664 -
Attachment description: Bug 1480834 - 3. Fix linker compile errors under x86-64; r?glandium → Bug 1480834 - 3. Fix linker compile errors under x86-64; r=glandium
Updated•6 years ago
|
Attachment #9004665 -
Attachment description: Bug 1480834 - 4. Specify -Werror for pthread_cond_timedwait_monotonic_np check; r?glandium → Bug 1480834 - 4. Specify -Werror for pthread_cond_timedwait_monotonic_np check; r=glandium
Updated•6 years ago
|
Attachment #9004666 -
Attachment description: Bug 1480834 - 5. Keep target flag when building for Android on Linux; r?glandium → Bug 1480834 - 5. Keep target flag when building for Android on Linux; r=glandium
Assignee | ||
Comment 12•6 years ago
|
||
Assignee | ||
Comment 13•6 years ago
|
||
Add config files for building Android for x86-64.
Assignee | ||
Comment 14•6 years ago
|
||
Add tasks for building Android for x86-64.
Assignee | ||
Comment 15•6 years ago
|
||
Add x86-64 as a rust target so we can build Android for x86-64.
Comment 16•6 years ago
|
||
Comment on attachment 9008223 [details]
Bug 1480834 - 6. Add Android x86-64 configs; r=nalexander
Nick Alexander :nalexander [he/him] has approved the revision.
Attachment #9008223 -
Flags: review+
Comment 17•6 years ago
|
||
Comment on attachment 9008224 [details]
Bug 1480834 - 7. Add Android x86-64 tasks; r=nalexander r=dustin r=jlorenzo
Nick Alexander :nalexander [he/him] has approved the revision.
Attachment #9008224 -
Flags: review+
Comment 18•6 years ago
|
||
Comment on attachment 9008225 [details]
Bug 1480834 - 8. Add x86-64 as rust target; r=nalexander r=froydnj
Nick Alexander :nalexander [he/him] has approved the revision.
Attachment #9008225 -
Flags: review+
Comment 19•6 years ago
|
||
Comment on attachment 9008225 [details]
Bug 1480834 - 8. Add x86-64 as rust target; r=nalexander r=froydnj
Nathan Froyd [:froydnj] has approved the revision.
Attachment #9008225 -
Flags: review+
Comment 20•6 years ago
|
||
Comment on attachment 9008224 [details]
Bug 1480834 - 7. Add Android x86-64 tasks; r=nalexander r=dustin r=jlorenzo
Dustin J. Mitchell [:dustin] pronoun: he has approved the revision.
Attachment #9008224 -
Flags: review+
Comment 21•6 years ago
|
||
Comment on attachment 9008224 [details]
Bug 1480834 - 7. Add Android x86-64 tasks; r=nalexander r=dustin r=jlorenzo
Johan Lorenzo [:jlorenzo] has approved the revision.
Attachment #9008224 -
Flags: review+
Reporter | ||
Comment 22•6 years ago
|
||
Once we have x86-64 builds of GV, James recommends that we test x86-64 instead of x86 (or run only smoke tests on x86).
status-firefox62:
--- → wontfix
status-firefox63:
--- → affected
status-firefox64:
--- → affected
status-firefox-esr60:
--- → wontfix
status-geckoview62:
--- → wontfix
Updated•6 years ago
|
Attachment #9008223 -
Attachment description: Bug 1480834 - 6. Add Android x86-64 configs; r?nalexander r?dustin → Bug 1480834 - 6. Add Android x86-64 configs; r=nalexander
Updated•6 years ago
|
Attachment #9008224 -
Attachment description: Bug 1480834 - 7. Add Android x86-64 tasks; r?nalexander r?dustin → Bug 1480834 - 7. Add Android x86-64 tasks; r=nalexander r=dustin r=jlorenzo
Updated•6 years ago
|
Attachment #9008225 -
Attachment description: Bug 1480834 - 8. Add x86-64 as rust target; r?rillian → Bug 1480834 - 8. Add x86-64 as rust target; r=nalexander r=froydnj
Comment 23•6 years ago
|
||
Pushed by nchen@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/2eb3342c3ea4
0. Drop mips and update NDK platform to 16; r=jchen
https://hg.mozilla.org/integration/mozilla-inbound/rev/2d0a7ce39cfc
1. Add WebRTC config for x86_64 on Android; r=dminor
https://hg.mozilla.org/integration/mozilla-inbound/rev/b78b12273560
2. Add x86-64 build support; r=nalexander
https://hg.mozilla.org/integration/mozilla-inbound/rev/c12699660620
3. Fix linker compile errors under x86-64; r=glandium
https://hg.mozilla.org/integration/mozilla-inbound/rev/ced591ff6815
4. Specify -Werror for pthread_cond_timedwait_monotonic_np check; r=glandium
https://hg.mozilla.org/integration/mozilla-inbound/rev/704af02a849d
5. Keep target flag when building for Android on Linux; r=glandium
https://hg.mozilla.org/integration/mozilla-inbound/rev/bbceefcad976
6. Add Android x86-64 configs; r=nalexander
https://hg.mozilla.org/integration/mozilla-inbound/rev/1dd3bc1e9fd7
7. Add Android x86-64 tasks; r=nalexander r=dustin r=jlorenzo
https://hg.mozilla.org/integration/mozilla-inbound/rev/3eff52855cdb
8. Add x86-64 as rust target; r=nalexander r=froydnj
Comment 24•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2eb3342c3ea4
https://hg.mozilla.org/mozilla-central/rev/2d0a7ce39cfc
https://hg.mozilla.org/mozilla-central/rev/b78b12273560
https://hg.mozilla.org/mozilla-central/rev/c12699660620
https://hg.mozilla.org/mozilla-central/rev/ced591ff6815
https://hg.mozilla.org/mozilla-central/rev/704af02a849d
https://hg.mozilla.org/mozilla-central/rev/bbceefcad976
https://hg.mozilla.org/mozilla-central/rev/1dd3bc1e9fd7
https://hg.mozilla.org/mozilla-central/rev/3eff52855cdb
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Reporter | ||
Comment 25•6 years ago
|
||
(In reply to Pulsebot from comment #23)
> https://hg.mozilla.org/integration/mozilla-inbound/rev/1dd3bc1e9fd7
> 7. Add Android x86-64 tasks; r=nalexander r=dustin r=jlorenzo
Johan, do you know why this new Android x86-64 build task is listed on Treeherder as "android-5-0-x86_64 opt" even though android.yml specifies `description: "Android 5.0 x86-64 Opt"`?
https://searchfox.org/mozilla-central/rev/bdc89dfd7869e418d788b28eb60ab8d94e708a15/taskcluster/ci/build/android.yml#582,589
Flags: needinfo?(jlorenzo)
Comment 26•6 years ago
|
||
I see the confusion! The description you pointed out is used by Taskcluster itself. See description field here: https://tools.taskcluster.net/groups/DJ_YBK4uQTq3HD2NdQlyVQ/tasks/I32BJ4JqTYW7BOkLLx_eAA/details.
Treeherder uses its own naming. You have a to make a PR like these ones: https://github.com/mozilla/treeherder/pull/2701 and https://github.com/mozilla/treeherder/pull/2737.
Flags: needinfo?(jlorenzo)
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Product: Firefox for Android → GeckoView
Updated•6 years ago
|
Target Milestone: Firefox 64 → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•