Граф коммитов

9026 Коммитов

Автор SHA1 Сообщение Дата
David Major 199714bdbe Bug 1639318 - Stick to clang-9 levels of CFG on arm64 r=froydnj
The expanded checks in clang 10 made arm64 builds hit CFG crashes on nsXPTCStubBase vtables on startup.

It's not clear why this doesn't happen on x86 builds. Given our current level of support for arm64, I can't really justify investigating this, although I suspect that fixing the underlying issue would be pretty much bug 1483885.

As a get-unblocked stopgap, `-guard:cf,nochecks` in clang 10 gives the same behavior as `-guard:cf` in clang 9.

Differential Revision: https://phabricator.services.mozilla.com/D76216
2020-05-21 02:11:23 +00:00
Chris AtLee 62f699319d Bug 1637381: Use zstd for clang toolchains r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D74930
2020-05-21 13:31:55 +00:00
Rob Lemley 5304de01a2 Bug 1639618 - Use correct find_symbolizer_linux patch when building clang-7. r=froydnj
The "clang-9" variant of the patch is no longer present. For clang-7, the patch
file to use is now "find_symbolizer_linux.patch".

Differential Revision: https://phabricator.services.mozilla.com/D76176
2020-05-20 16:56:35 +00:00
Razvan Maries 305c356967 Backed out changeset 415534347ba0 (bug 1636574) for build bustages. CLOSED TREE 2020-05-20 19:09:46 +03:00
Ricky Stewart 50eff9d473 Bug 1636574 - Allow setting `PYTHON3` in mozconfig r=glandium
Configuration values defined above `mozconfig_options` in `init.configure` are those that can't be configured in `mozconfig`. As far as I can tell there is nothing wrong *in principle* with setting `PYTHON3` in `mozconfig`, so here we just bump `mozconfig_options` above `PYTHON3` configuration.

Side note, diagnosing this failure took a *long* time. The error message that this produced ("unknown option `PYTHON3`") is useless and the underlying algos being extremely mutable, I ended up having to spend a lot of time in the debugger and monitor all the underlying changes to a bunch of mutable data structures to determine where `PYTHON3` was getting lost. A better error message would be good here but I don't know how I would begin adding it.

Differential Revision: https://phabricator.services.mozilla.com/D75635
2020-05-20 15:39:29 +00:00
Ricky Stewart a24b65434d Bug 1638995 - Run `mach valgrind-test` with Python 3 r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D76057
2020-05-20 05:31:58 +00:00
Corentin Arnould 1f8a5ee33b Bug 1638830 - Remove `MOZ_WEBRTC_HARDWARE_AEC_NS` and its related code r=padenot
--enable-hardware-aec-ns option does nothing so it is deleted too.
removed `hardware_aec_ns` from gyp vars since it is never used

Differential Revision: https://phabricator.services.mozilla.com/D75798
2020-05-20 13:22:40 +00:00
Razvan Maries 40dbaf2901 Backed out changeset c17af0632260 (bug 1616692) as per Eric's request. CLOSED TREE 2020-05-20 08:29:18 +03:00
David Major 5157a6b486 Bug 1616692 - Update to clang 10.0.0 r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D74768
2020-05-20 07:39:23 +03:00
Dorel Luca 0a4406d5ef Backed out changeset 80ba3f3cfaf9 (bug 1616692) at dev's request. CLOSED TREE 2020-05-20 03:27:33 +03:00
Rob Lemley bd812fce54 Bug 1631197 - Make mach valgrind-test work for Thunderbird builds. r=froydnj
Create a new MachCommandCondition, "is_firefox_or_thunderbird" which is then used
to allow mach valgrind-test work for Thunderbird builds.

Differential Revision: https://phabricator.services.mozilla.com/D73153
2020-05-19 00:10:06 +00:00
Thomas Duellmann 5123bc5ab2 Bug 1638576 - Correct spelling of "deprecated" (follow-up to bug 1611160). r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D75714
2020-05-17 20:20:38 +00:00
Emilio Cobos Álvarez 29382a0fc9 Bug 1638401 - Make liblowercase also wrap fxstatat. r=froydnj
This is needed to get a win cross build on my machine.

Differential Revision: https://phabricator.services.mozilla.com/D75589
2020-05-15 17:10:34 +00:00
David Major 38729b41a2 Bug 1638244 - Keep clang-7 toolchain on the old version of the find_symbolizer_linux patch r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D75506
2020-05-15 12:17:06 +00:00
Mike Hommey 160dc36a14 Bug 1638195 - Remove python configure knowledge of old configure arguments that were removed. r=nalexander
--enable-cookies, removed in bug 1623593.
  --enable-directshow, removed in bug 1370192.
  --enable-feeds, removed in bug 1514348.
  --enable-gconf, removed in bug 1433685.
  --enable-libjpeg-turbo, removed in bug 1515852.
  --enable-llvm-hacks, removed in bug 1484872.
  --enable-nfc, removed in bug 1310859.
  --enable-startup-notification, removed in bug 726479.
  --enable-synth-pico, removed in bug 1331696.
  --with-doc-include-dirs, --with-doc-input-dirs, --with-doc-output-dir,
  removed in bug 1435424
  --with-system-bz2, removed in bug 1418425.
  --with-unify-dist, removed in bug 1339182.

Differential Revision: https://phabricator.services.mozilla.com/D75464
2020-05-15 03:56:16 +00:00
Mike Hommey 28de21d935 Bug 1638193 - Remove build system support for iOS. r=nalexander
iOS support for Gecko has not been tested in years and is most probably
out of date. The build system part of it, specifically the checks in
build/autoconf/ios.m4, are not trivial to port to python configure, and
they prevent other things from moving to python configure (because some
of them change value when MOZ_IOS is set).

The code is left alone, although it could probably be stripped off as
well, but I'll leave that as an exercise for someone else.

Differential Revision: https://phabricator.services.mozilla.com/D75463
2020-05-15 03:56:16 +00:00
Sebastian Streich 479a4cb3a1 Bug 1636148 - Disable Building Principal->GetURI r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D74249
2020-05-14 19:42:59 +00:00
Edwin Takahashi ffa6cb8cbe Bug 1608837 - add necessary files to taskgraph sparse-profile for web-platform-tests chunking r=ahal
Changes:

  - add web-platform-tests files to the sparse-profile to support test chunking.

Differential Revision: https://phabricator.services.mozilla.com/D70752
2020-05-08 21:28:08 +00:00
Ricky Stewart cbd2ddf64f Bug 1638036 - Delete reference to PY3 in configure r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D75346
2020-05-14 20:08:40 +00:00
Nathan Froyd 4b28d7c785 Bug 1637957 - ensure consistent output when checking for linker kind; r=firefox-build-system-reviewers,rstewart
If we don't do this, configure will happily think the linker kind is
"unknown", which then causes problems downstream.

Differential Revision: https://phabricator.services.mozilla.com/D75300
2020-05-14 17:50:14 +00:00
David Major 64f56df070 Bug 1616692 - Update to clang 10.0.0 r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D74768
2020-05-14 13:42:38 +00:00
David Major bd18433165 Bug 1614375: bustage fix, add a couple more suppressions for straggler failures 2020-05-12 14:50:34 -04:00
Tarek Ziadé 080870795e Bug 1635136 - add a --push-to-try option r=aerickson
This patch is adding an option to push a perftest run in the CI.

It's based on :
- sparse profiles
- push_to_try
- options passed through try_task_config.json

Differential Revision: https://phabricator.services.mozilla.com/D74115
2020-05-12 21:19:48 +00:00
Mitchell Hentges 16d345e402 Bug 1636251: vendor sentry python package r=rstewart
urllib3 is needed by Sentry for its HTTP communication.

Differential Revision: https://phabricator.services.mozilla.com/D74737
2020-05-12 20:07:45 +00:00
David Major 26568e980b Bug 1635933 - Temporarily disable new pass manager on ubsan clang-10 r=froydnj
ubsan's generated code trips an optimization corner case in clang 10. This is a short-term workaround. In the best case, llvm.org/pr45835 will land a fix soon, and we can merge that for our clang-10 update and not even land this patch. However, in case we're living in anything other than the best case world, I don't want to block on that happening.

Differential Revision: https://phabricator.services.mozilla.com/D74727
2020-05-12 18:01:48 +00:00
Razvan Maries 6740f8e47d Backed out 2 changesets (bug 1616692, bug 1635933) for reftests perma failures. CLOSED TREE
Backed out changeset 7340fb8c2297 (bug 1616692)
Backed out changeset 5695aa933c38 (bug 1635933)
2020-05-12 20:59:06 +03:00
David Major 50334d3714 Bug 1616692 - Update to clang 10.0.0 r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D74768
2020-05-12 14:02:30 +00:00
David Major bb0b9487b9 Bug 1635933 - Temporarily disable new pass manager on ubsan clang-10 r=froydnj
ubsan's generated code trips an optimization corner case in clang 10. This is a short-term workaround. In the best case, llvm.org/pr45835 will land a fix soon, and we can merge that for our clang-10 update and not even land this patch. However, in case we're living in anything other than the best case world, I don't want to block on that happening.

Differential Revision: https://phabricator.services.mozilla.com/D74727
2020-05-12 14:02:30 +00:00
Dorel Luca c269f23ce0 Backed out 2 changesets (bug 1636148) for Build bustage on android in gecko/widget/android/nsWindow.cpp. CLOSED TREE
Backed out changeset fca4a9808bd9 (bug 1636148)
Backed out changeset 6fda7ca2484d (bug 1636148)
2020-05-12 17:01:59 +03:00
Sebastian Streich ccd7500298 Bug 1636148 - Disable Building Principal->GetURI r=ckerschb
Depends on D74248

Differential Revision: https://phabricator.services.mozilla.com/D74249
2020-05-12 12:50:03 +00:00
Sylvestre Ledru e2db40c369 Bug 1636499 - tier build doc - improve the wording (thanks david)
Differential Revision: https://phabricator.services.mozilla.com/D74441
2020-05-08 17:36:49 +00:00
David Major 5fff0f03db Bug 1614375 - UBSan pointer-overflow suppressions for clang-10 r=tsmith
Differential Revision: https://phabricator.services.mozilla.com/D63690
2020-05-08 21:46:08 +00:00
Jean-Yves Avenard 26d1508deb Bug 1634253 - P8. Remove use of MessageLoop in Canvas. r=mattwoodrow
MessagePool brings no benefit over the traditional nsIThread.

Additonally, replace some incorrect use of RefPtr for xpcom objects.

Differential Revision: https://phabricator.services.mozilla.com/D73827
2020-05-08 20:20:39 +00:00
Jean-Yves Avenard 912e294406 Bug 1634253 - P6. Remove MessageLoop use from gfx. r=kats,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D73825
2020-05-08 20:20:44 +00:00
Narcis Beleuzu 58a833221c Backed out 9 changesets (bug 1634253) for bc failures on browser_bug295977_autoscroll_overflow.js . CLOSED TREE
Backed out changeset d41b75c1f7ec (bug 1634253)
Backed out changeset 5f8a1ee17b81 (bug 1634253)
Backed out changeset 43eda078b405 (bug 1634253)
Backed out changeset e98212a74709 (bug 1634253)
Backed out changeset 855e222ceb14 (bug 1634253)
Backed out changeset 9f01acdf4367 (bug 1634253)
Backed out changeset ea62cb1ec472 (bug 1634253)
Backed out changeset fa3e7588e7d6 (bug 1634253)
Backed out changeset 139e7035e736 (bug 1634253)
2020-05-08 23:09:31 +03:00
Ricky Stewart 9f954bebdb Bug 1634646 - When running Firefox for pgo, use text mode for log output r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D74310
2020-05-08 17:08:45 +00:00
Sylvestre Ledru 3f6e5b5d16 Bug 1636499 - tier build doc - polish the doc after import r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D74429
2020-05-08 17:22:40 +00:00
Sylvestre Ledru a2e9cfd308 Bug 1636499 - tier build doc - import the mdn page r=froydnj
https://developer.mozilla.org/docs/Mozilla/Supported_build_configurations

Depends on D74422

Differential Revision: https://phabricator.services.mozilla.com/D74427
2020-05-08 17:04:51 +00:00
Sylvestre Ledru 8455797365 Bug 1636499 - Remove a (very) outdated page r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D74422
2020-05-08 16:48:28 +00:00
Jean-Yves Avenard 2facca62f0 Bug 1634253 - P8. Remove use of MessageLoop in Canvas. r=mattwoodrow
MessagePool brings no benefit over the traditional nsIThread.

Additonally, replace some incorrect use of RefPtr for xpcom objects.

Differential Revision: https://phabricator.services.mozilla.com/D73827
2020-05-08 11:44:59 +00:00
Jean-Yves Avenard f304da03ac Bug 1634253 - P6. Remove MessageLoop use from gfx. r=kats,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D73825
2020-05-07 08:04:53 +00:00
Tom Prince f6ce67ee8a Bug 1635852: Include minidump_stackwalk files in taskgraph sparse-profile; r=glandium
Without this, taskgraph calculates the digest based on just the files in these
directories that are in the sparse profile (I suspect this is just the
moz.build files), and will rebuild it when those files change. This changes
ensures that all files in those directories are used to calculate the digest.

Additionally, this will cause the same digest to be generted by developers
locally, since the files *are* present in the non-sparse checkout that most
developers have.

Differential Revision: https://phabricator.services.mozilla.com/D74113
2020-05-07 22:20:52 +00:00
Geoff Brown 874c22d7df Bug 1565286 - Ensure Android lastTestSeen displays whether the test was in-progress or finished; r=jmaher
Extends the desktop changes made in bug 1475141 to Android, to avoid confusion when the
browser hangs between tests, or during shutdown.

Differential Revision: https://phabricator.services.mozilla.com/D74284
2020-05-07 20:01:56 +00:00
Nathan Froyd 63ad6129d4 Bug 1619339 - explicitly set the soft ulimit for open files from mach; r=glandium
We do this to avoid unnecessarily penalizing subprocess invocations from
within mach (and all child processes) on some Linux setups.

Differential Revision: https://phabricator.services.mozilla.com/D66786
2020-05-07 15:08:43 +00:00
Ricky Stewart 1395fb03f0 Bug 1634737 - GeneratedFile() template should yell at you if you try to set py2=True r=glandium
As of bug 1621451 this argument was ignored, but it just silently runs your code with `python3` if you pass it anyway. Ensure this doesn't happen any more, and protect against any other unexpected arguments as well.

Differential Revision: https://phabricator.services.mozilla.com/D73485
2020-05-05 15:53:37 +00:00
Ricky Stewart ab55fb68d1 Bug 1634535 - Move ply to third_party/python r=glandium
The license used to be LGPL so the code lived in other-licenses, but it was changed to BSD eleven years ago. Let's move it over to third_party/python/ply where it belongs.

    ./mach vendor python ply==3.10

`diff -r` between the original `ply` directory and the new one only comes up with the new file `third_party/python/ply/CHANGES` which isn't relevant to the functionality of the code, so this should be a no-op all told.

Differential Revision: https://phabricator.services.mozilla.com/D73341
2020-05-05 16:02:02 +00:00
Dorel Luca 44ff2c403c Backed out changeset 76c9b2477a52 (bug 1619339) for Gecko Decision task failure. CLOSED TREE 2020-05-07 15:48:52 +03:00
Nathan Froyd 28bfcacda0 Bug 1619339 - explicitly set the soft ulimit for open files from mach; r=glandium
We do this to avoid unnecessarily penalizing subprocess invocations from
within mach (and all child processes) on some Linux setups.

Differential Revision: https://phabricator.services.mozilla.com/D66786
2020-05-07 00:41:18 +00:00
Dorel Luca 9340fa2b2d Backed out 11 changesets (bug 1635001, bug 1634253) for Browser-chrome failures in browser_bug295977_autoscroll_overflow.js
Backed out changeset c3c27cb46db6 (bug 1635001)
Backed out changeset 6cea251e5910 (bug 1635001)
Backed out changeset 3cb0a05be7fc (bug 1635001)
Backed out changeset 1cbb2866a3ad (bug 1634253)
Backed out changeset 53fd00dcf95c (bug 1634253)
Backed out changeset e3acd9db7065 (bug 1634253)
Backed out changeset 5c0b7aa99406 (bug 1634253)
Backed out changeset dc7e17f772be (bug 1634253)
Backed out changeset 6e47af64396a (bug 1634253)
Backed out changeset 8865de9ae0ef (bug 1634253)
Backed out changeset 6fac93b596c2 (bug 1634253)
2020-05-07 11:00:04 +03:00
Jean-Yves Avenard 41502d2149 Bug 1634253 - P8. Remove use of MessageLoop in Canvas. r=mattwoodrow
MessagePool brings no benefit over the traditional nsIThread.

Additonally, replace some incorrect use of RefPtr for xpcom objects.

Differential Revision: https://phabricator.services.mozilla.com/D73827
2020-05-07 05:03:57 +00:00