Commit Graph

8706 Commits

Author SHA1 Message Date
Calixte Denizet
c82c13e1a9 Bug 1603436 - Rename clang patch (critical_section_on_gcov_flush.patch) to make easier the switch to LLVM 10 r=dmajor
Cherry-picked from: 02ce9d8ef5.

Differential Revision: https://phabricator.services.mozilla.com/D56945

--HG--
rename : build/build-clang/critical_section_on_gcov_flush.patch => build/build-clang/critical_section_on_gcov_flush-rG02ce9d8ef5a8.patch
extra : moz-landing-system : lando
2019-12-12 22:13:04 +00:00
Tyson Smith
f28f9e82c6 Bug 1602845 - Enable 'return' UBSan check. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D56626

--HG--
extra : moz-landing-system : lando
2019-12-15 05:13:34 +00:00
Chris Peterson
8fd7f11cb8 Bug 1583717 - Enable clang's -Wempty-init-stmt warnings. r=glandium
-Wempty-init-stmt is a new clang diagnostic that diagnoses empty C++17 init-statements of if, switch, and range-based for statements:

void test() {
  if(; // <- warning: init-statement of 'if' is a null statement
    true)
  ;

  switch (; // <- warning: init-statement of 'switch' is a null statement
    x) {
    ...
  }

  for (; // <- warning: init-statement of 'range-based for' is a null statement
    int y : S())
  ;
}

Differential Revision: https://phabricator.services.mozilla.com/D54866

--HG--
extra : moz-landing-system : lando
2019-12-12 02:18:37 +00:00
Noemi Erli
24e02f049b Backed out 3 changesets (bug 1528374) per tomprice's request for breaking macOS signing jobs CLOSED TREE
Backed out changeset 5a6fa3b5123b (bug 1528374)
Backed out changeset 32f3b1b3fe3b (bug 1528374)
Backed out changeset a412a319534c (bug 1528374)
2019-12-13 06:48:05 +02:00
Chris Manchester
3138b4cffd Bug 1528374 - Add macOS pgo builds to the taskgraph. r=firefox-build-system-reviewers,mshal,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D20409

--HG--
extra : moz-landing-system : lando
2019-12-12 19:31:17 +00:00
Tom Prince
9e2fc7ebbc Bug 1596775: Import scripts for downloading macOS system symbols; r=marco
Import the code from
https://github.com/marco-c/breakpad-mac-update-symbols/
and
https://github.com/marco-c/breakpad-scrape-system-symbols

Differential Revision: https://phabricator.services.mozilla.com/D55321

--HG--
extra : moz-landing-system : lando
2019-12-12 02:05:21 +00:00
Cosmin Sabou
1b479d118b Backed out changeset f5d00d265686 (bug 1566288) for causing build bustages.
--HG--
extra : amend_source : 4151f2dfb2775bbf1fa3255d47849a818eed5b6c
2019-12-12 20:57:57 +02:00
shravanrn@gmail.com
c32b58ae0e Bug 1566288 - Port libGraphite usage in libThebes to use the RLBox API. r=froydnj,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D39593

--HG--
extra : moz-landing-system : lando
2019-12-12 02:48:11 +00:00
Tom Ritter
9a59ac123c Bug 1590624 - Update the mingw-clang compiler to clang 9 r=dmajor
We can remove our backported objcopy patches, we'll need to update
llvm-mingw for toolchain fixes, and we need to add binutils to compile
this newer version of clang because the system binutils is too old.

Differential Revision: https://phabricator.services.mozilla.com/D50152

--HG--
rename : build/build-clang/clang-8-mingw.json => build/build-clang/clang-9-mingw.json
rename : taskcluster/scripts/misc/build-clang-8-mingw.sh => taskcluster/scripts/misc/build-clang-mingw.sh
extra : moz-landing-system : lando
2019-12-12 07:43:53 +00:00
Andreea Pavel
a533b175dd Backed out 4 changesets (bug 1590624) for breaking gecko decision task on a CLOSED TREE
Backed out changeset 2ac8dd1d709d (bug 1590624)
Backed out changeset 8432398c212a (bug 1590624)
Backed out changeset 2b28154aacdb (bug 1590624)
Backed out changeset d305e4160ee4 (bug 1590624)

--HG--
rename : build/build-clang/clang-9-mingw.json => build/build-clang/clang-8-mingw.json
rename : taskcluster/scripts/misc/build-clang-mingw.sh => taskcluster/scripts/misc/build-clang-8-mingw.sh
2019-12-12 08:35:11 +02:00
Tom Ritter
7a2045b616 Bug 1590624 - Update the mingw-clang compiler to clang 9 r=dmajor
We can remove our backported objcopy patches, we'll need to update
llvm-mingw for toolchain fixes, and we need to add binutils to compile
this newer version of clang because the system binutils is too old.

Differential Revision: https://phabricator.services.mozilla.com/D50152

--HG--
rename : build/build-clang/clang-8-mingw.json => build/build-clang/clang-9-mingw.json
rename : taskcluster/scripts/misc/build-clang-8-mingw.sh => taskcluster/scripts/misc/build-clang-mingw.sh
extra : moz-landing-system : lando
2019-12-10 18:56:45 +00:00
Andrew Halberstadt
26e9db86f8 Bug 1583353 - [taskgraph] Implement test chunking in transforms r=gbrown
We've long handled chunks by defining the total number of chunks in our CI
configuration, and then passing that value down into the test harnesses at task
runtime (via the '--this-chunk' and '--total-chunks' parameters).  The test
harness then runs an algorithm to determine which tests should be run in "this"
chunk.

There are several problems with this approach, but by far the biggest is that
we can't use test information in our scheduling algorithms. The information
simply isn't available yet. This patch switches things around such that we
determine which tests go in which tasks during the taskgraph generation. This
means we have perfect information around which tasks are running which tests,
and if e.g a ccov or machine learning algorithm deems a particular test
important, we can make sure to *only* schedule the tasks that contain that
test.

I'm planning to enable this a couple suites at a time so we don't accidentally
stop running tests. This specifically only enables this mode for
'mochitest-media', 'mochitest-browser-chrome' and 'mochitest-devtools-chrome'.
I chose these suites because they are the ones that are already using the
'chunk_by_runtime' algorithm.

Differential Revision: https://phabricator.services.mozilla.com/D52729

--HG--
extra : moz-landing-system : lando
2019-12-11 21:10:48 +00:00
Māris Fogels
030fc0897c Bug 1590745 - Make the $PYTHON3 build var use a virtualenv r=mshal
Make the $PYTHON3 build var point to a full virtualenv bootstrapped with
the same libraries as the $PYTHON Python 2 build var. This allows us to
upgrade build tasks from $PYTHON to $PYTHON3.

This patch adds some debug logging and documentation to the Python
2 virtualenv so that it is easier to diagnose issues that may arise
from running two different Python interpreters in re-entrant
multiprocess routines.

Differential Revision: https://phabricator.services.mozilla.com/D50819

--HG--
extra : moz-landing-system : lando
2019-12-03 18:49:06 +00:00
David Major
e057c099b7 Bug 1543853 - Add StyleBench to PGO training r=firefox-build-system-reviewers,rstewart
Now that we have Rust PGO, training on this set can actually make a difference (and in fact may be needed in order to see a difference from Rust PGO at all).

Differential Revision: https://phabricator.services.mozilla.com/D56751

--HG--
extra : moz-landing-system : lando
2019-12-11 15:37:01 +00:00
David Major
08274e0b6d Bug 1603141 - Remove unused option --enable-cross-pgo r=froydnj
Nothing looks at the value of this option. We seem to have settled on the `--enable-profile-{generate,use}=cross` approach instead.

Differential Revision: https://phabricator.services.mozilla.com/D56588

--HG--
extra : moz-landing-system : lando
2019-12-11 16:21:04 +00:00
Calixte Denizet
f6c15104f5 Bug 1599436 - Backport LLVM patch to add a critical section in gcov_flush r=marco
In order to avoid crashes when we're dumping gcda files, we backport a llvm/compiler-rt patch which fix this issue in adding a critical section around flush.

Differential Revision: https://phabricator.services.mozilla.com/D56559

--HG--
extra : moz-landing-system : lando
2019-12-10 16:30:08 +00:00
David Major
d74698c1f9 Bug 1602568 - Enable Rust PGO on linux32 and Windows r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D56584

--HG--
extra : moz-landing-system : lando
2019-12-10 19:48:04 +00:00
Tom Ritter
f85cc45712 Bug 1511073 - Enable stack protector for MinGW build r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D56295

--HG--
extra : moz-landing-system : lando
2019-12-09 17:02:50 +00:00
Dorel Luca
e070fba60f Backed out changeset 870b38a3dc28 (bug 1602482) for as per dev's request. a=backout 2019-12-10 13:47:12 +02:00
Tyson Smith
30f2b5474f Bug 1602536 - Enable 'object-size' UBSan check r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D56472

--HG--
extra : moz-landing-system : lando
2019-12-09 22:07:12 +00:00
Mike Shal
e1d461164f Bug 1557788 - Rename MOZ_PGO_PROFILE_USE to TASKCLUSTER_PGO_PROFILE_USE; r=firefox-build-system-reviewers,chmanchester
MOZ_PGO_PROFILE_USE is used to enable certain features in the automation
mozconfigs for profile-use builds, including the MOZ_PROFILE_USE
configure option. They aren't easily combined into one flag due to the
extra settings that are enabled only in automation mozconfigs.

Renaming the former variable to TASKCLUSTER_PGO_PROFILE_USE makes it
slightly more obvious where it comes from and avoids confusion.

Differential Revision: https://phabricator.services.mozilla.com/D56117

--HG--
extra : moz-landing-system : lando
2019-12-09 18:03:57 +00:00
Mike Shal
1df5b4f9b4 Bug 1557788 - Remove pgomerge.py; r=firefox-build-system-reviewers,chmanchester
pgomerge.py was needed for Windows MSVC PGO builds. Now that we use
clang for these builds, it's no longer used.

Differential Revision: https://phabricator.services.mozilla.com/D56113

--HG--
extra : moz-landing-system : lando
2019-12-09 18:03:40 +00:00
Tom Ritter
0d1c6b5d7e Bug 1601701 - Add -lssp to the mingw-clang for FORTIFY_SOURCE support r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D56000

--HG--
extra : moz-landing-system : lando
2019-12-07 03:35:34 +00:00
Calixte Denizet
0232caa2b6 Bug 1602482 - Remove use of ___custom_llvm_gcov_flush r=marco
Because of conflicts between gcov_flush from gcc and the one from llvm, we renamed llvm one into ___custom_llvm_gcov_flush.
Since we switched to clang for ccov builds, this workaround is now useless.

Differential Revision: https://phabricator.services.mozilla.com/D56394

--HG--
extra : moz-landing-system : lando
2019-12-09 17:07:00 +00:00
Ricky Stewart
6999ee5c42 Bug 1601448 - The clang.tar.xz bootstrap artifact should contain the libclang_rt.builtins-wasm32.a archive r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D56019

--HG--
extra : moz-landing-system : lando
2019-12-09 16:59:49 +00:00
Ricky Stewart
9c9c545557 Bug 1601064 - In ./mach configure, infer the location of the bootstrapped lucetc/wasi-sysroot r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D55734

--HG--
extra : moz-landing-system : lando
2019-12-09 14:54:16 +00:00
David Major
b7af94f1d0 Bug 1602355 - Fix GCC LTO build break r=froydnj
GCC doesn't understand the `import-instr-limit` option.

Differential Revision: https://phabricator.services.mozilla.com/D56366

--HG--
extra : moz-landing-system : lando
2019-12-09 14:52:28 +00:00
Emilio Cobos Álvarez
85599f3f1b Bug 1602317 - Update cbindgen to 0.11.1. r=jrmuizel
This includes more bitflag operators, which means we can remove some slightly
ugly code.

Differential Revision: https://phabricator.services.mozilla.com/D56308

--HG--
extra : moz-landing-system : lando
2019-12-09 03:20:53 +00:00
Tarek Ziadé
879e6071ec Bug 1599424 - Convert vismet task output to a perfherder artifact r=sparky,rwood
Differential Revision: https://phabricator.services.mozilla.com/D55393

--HG--
extra : moz-landing-system : lando
2019-12-06 07:57:50 +00:00
Mike Hommey
efece1b05a Bug 1597901 - Fix some sources of non-determinism in clang. r=dmajor
Cherry-picked from 7e18aeba50.

Differential Revision: https://phabricator.services.mozilla.com/D55886

--HG--
extra : moz-landing-system : lando
2019-12-05 22:28:01 +00:00
Mike Shal
25308d30a2 Bug 1563403 - Use 3-tier PGO for local MOZ_PGO=1 builds; r=firefox-build-system-reviewers,dmajor,chmanchester
Local PGO builds now use 3-tier machinery under the hood. Instead of a
single object directory that gets cleaned in between the instrumented
and profile-use builds, now the instrumented build uses a separate
'${objdir}/instrumented' directory. This makes it easier to handle
within mach since we can drive the two builds with environment variables
and keep all build artifacts separate, without needing to do manual
cleanup in between.

Differential Revision: https://phabricator.services.mozilla.com/D50098

--HG--
extra : moz-landing-system : lando
2019-12-06 01:07:32 +00:00
Mike Shal
554a8c6462 Bug 1563403 - disable LTO on --enable-profile-generate; r=firefox-build-system-reviewers,chmanchester
In automation this is normally handled by mozconfigs, but we should
disable it automatically during the profile-generate stage for users if
they have LTO enabled in their mozconfig while doing a 3-tier PGO build.

Differential Revision: https://phabricator.services.mozilla.com/D50097

--HG--
extra : moz-landing-system : lando
2019-12-06 01:03:25 +00:00
Emilio Cobos Álvarez
4695746608 Bug 1601732 - Update in-tree dependencies to smallvec 1.0. r=glandium
We're vendoring it already so no reason not to. Only a couple dependencies left
after these to get rid of 0.6.

Differential Revision: https://phabricator.services.mozilla.com/D56044

--HG--
extra : moz-landing-system : lando
2019-12-05 23:30:59 +00:00
Ricky Stewart
5aa8a29e6a Bug 1601407 - Update gfx/graphite2/src/moz.build to additionally build a wasm sandboxed library r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D56024

--HG--
extra : moz-landing-system : lando
2019-12-05 18:56:39 +00:00
Chris Manchester
08f94ebcd3 Bug 1595218 - Update valgrind supressions for rustc 1.39. r=emilio
Depends on D53901

Differential Revision: https://phabricator.services.mozilla.com/D55909

--HG--
extra : moz-landing-system : lando
2019-12-05 17:15:28 +00:00
Chris Manchester
5a33be02e2 Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-12-05 04:53:11 +00:00
Axel Hecht
60e0566e34 Bug 1601249, update l10n-related build documentation, r=flod
This fixes quite a bit of historical baggage, and also goes
into a bit more details of what the l10n repacks actually do.

Differential Revision: https://phabricator.services.mozilla.com/D55807

--HG--
extra : moz-landing-system : lando
2019-12-05 13:44:22 +00:00
Mike Hommey
7f061cc7b1 Bug 1601150 - Update cargo workspace hack. r=chmanchester
Bug 1601233 made cranelift bump its syn dependency to 1.0, breaking the
workspace hack. Some of the features were also stale from presumably
other updates.

Differential Revision: https://phabricator.services.mozilla.com/D55897

--HG--
extra : moz-landing-system : lando
2019-12-05 04:32:15 +00:00
Razvan Maries
c9cf973dbf Backed out 3 changesets (bug 1595218) for build bustages. CLOSED TREE
Backed out changeset 499b0c27da4f (bug 1595218)
Backed out changeset f2f230a3028d (bug 1595218)
Backed out changeset 93ec75efbf41 (bug 1595218)
2019-12-05 02:53:04 +02:00
Chris Manchester
a85167cf6b Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-12-04 23:37:16 +00:00
Jesse Schwartzentruber
81870fa7c5 Bug 1482167 - Create --enable-fuzzing ASAN build job for Android x86-64 firefox. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D3027

--HG--
extra : moz-landing-system : lando
2019-12-04 21:44:06 +00:00
Emilio Cobos Álvarez
9e32088488 Bug 1600454 - Fix build with --disable-update-channel. r=glandium
Depends on D55363

Differential Revision: https://phabricator.services.mozilla.com/D55364

--HG--
extra : moz-landing-system : lando
2019-12-04 08:48:17 +00:00
Gurzau Raul
87ac4a3719 Backed out 3 changesets (bug 1595218) for Windows wrench failures.
Backed out changeset 9fdeeb697611 (bug 1595218)
Backed out changeset d7f9a4045360 (bug 1595218)
Backed out changeset 30bb03117312 (bug 1595218)
2019-12-04 05:49:06 +02:00
Ricky Stewart
7e35d31d8c Bug 1598642 - Fix error message when rustc/cargo are not installed r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D55738

--HG--
extra : moz-landing-system : lando
2019-12-03 22:39:17 +00:00
Chris Manchester
be8da63e8e Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-12-03 21:51:47 +00:00
Nathan Froyd
f47aaef62d Bug 1560664 - default to C++17 with optional gnu extensions; r=rstewart
This change does not fully enable C++17, as we still need standard
library support from some platforms.

Differential Revision: https://phabricator.services.mozilla.com/D54202

--HG--
extra : moz-landing-system : lando
2019-12-03 06:50:13 +00:00
Sebastian Hengst
a47186d18f Merge mozilla-central to autoland. CLOSED TREE 2019-12-03 19:33:56 +01:00
Sebastian Hengst
4d554f0a10 Backed out changeset 3034ec8681ac (bug 1590745) for breaking local macOS 10.15 builds (bug 1600720). a=backout 2019-12-03 19:06:29 +01:00
shindli
4562fd4c3b Backed out 3 changesets (bug 1595218) for causing wrench bustages on central CLOSED TREE a=backout
Backed out changeset 1808b1722f64 (bug 1595218)
Backed out changeset 46fe2af291cf (bug 1595218)
Backed out changeset 11c0576cf3d5 (bug 1595218)
2019-12-03 13:17:59 +02:00
Chris Manchester
9eb1bdb17b Bug 1595218 - Update rust target detection for rustc 1.39. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D53901

--HG--
extra : moz-landing-system : lando
2019-11-22 00:02:18 +00:00
Mihai Alexandru Michis
d12cf9f2ad Backed out changeset 9dea219937cd (bug 1560664) for causing valgrid bustages. CLOSED TREE
--HG--
extra : rebase_source : 60fba62a9241bec3aadc84260c2b9dacb89cf1ff
2019-12-02 16:59:55 +02:00
Nathan Froyd
945c7515d6 Bug 1560664 - default to C++17 with optional gnu extensions; r=rstewart
This change does not fully enable C++17, as we still need standard
library support from some platforms.

Differential Revision: https://phabricator.services.mozilla.com/D54202

--HG--
extra : moz-landing-system : lando
2019-11-26 21:19:53 +00:00
Nathan Froyd
a936a0c98f Bug 1599110 - fix bubblewrap version requirement; r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D54523

--HG--
extra : moz-landing-system : lando
2019-12-02 13:19:19 +00:00
Andi-Bogdan Postelnicu
7843370cdf Bug 1600033 - for clang-tidy force the output diagnostic as warnings from errors.r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D55135

--HG--
extra : moz-landing-system : lando
2019-11-28 21:15:01 +00:00
Nicholas Nethercote
3d06e16862 Bug 1599928 - Fix a tier-2 Python linting failure. r=erahm
It's complaining about `milestone` not being used.

Differential Revision: https://phabricator.services.mozilla.com/D55059

--HG--
extra : moz-landing-system : lando
2019-11-28 03:39:45 +00:00
Nicholas Nethercote
4f86a0f7ca Bug 1594595 - Enable PHC on early beta 72 builds. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D54665

--HG--
extra : moz-landing-system : lando
2019-11-27 22:46:33 +00:00
Geoff Brown
253aaf1570 Bug 1599587 - Adjust android mochitest/reftest logging; r=jmaher
Guard against flaky results from the remote is_file and reduce adb traffic
by waiting once for the log file to be created rather than checking for it
throughout the test run.
(Minor ride-along change to reftest.jsm resolves javascript error introduced
by bug 1575266.)

Differential Revision: https://phabricator.services.mozilla.com/D55026

--HG--
extra : moz-landing-system : lando
2019-11-27 21:33:38 +00:00
Mike Hommey
090c830f89 Bug 1598273 - Refresh config.guess and config.sub from upstream. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54244

--HG--
extra : moz-landing-system : lando
2019-11-26 13:30:41 +00:00
Geoff Brown
4286faeb7b Bug 1590354 - Remove checks for remote minidumps directory; r=jmaher
Whereas:
 - desktop tests don't make this check;
 - the check for directory existence has been troublesome and almost never useful;
 - bug classification of this condition has been troublesome;
 - if a startup crash actually did occur before crashreporter init, there would still be an indication in logcat and possibly a tombstone, and the "No test summary found" check would definitely be triggered;
Let's stop checking for minidumps directory creation.

Differential Revision: https://phabricator.services.mozilla.com/D54755

--HG--
extra : moz-landing-system : lando
2019-11-26 16:38:44 +00:00
Māris Fogels
75d85af992 Bug 1590745 - Make the $PYTHON3 build var use a virtualenv r=mshal
Make the $PYTHON3 build var point to a full virtualenv bootstrapped with
the same libraries as the $PYTHON Python 2 build var. This allows us to
upgrade build tasks from $PYTHON to $PYTHON3.

This patch adds some debug logging and documentation to the Python
2 virtualenv so that it is easier to diagnose issues that may arise
from running two different Python interpreters in re-entrant
multiprocess routines.

Differential Revision: https://phabricator.services.mozilla.com/D50819

--HG--
extra : moz-landing-system : lando
2019-11-25 20:23:03 +00:00
Sylvestre Ledru
8d2f0d1b1f Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D54686

--HG--
extra : moz-landing-system : lando
2019-11-26 14:35:02 +00:00
Philip Chimento
46313a101e Bug 1590907 - Make ENABLE_INTL_API and ENABLE_TYPED_OBJECTS into js-config macros. r=sfink,firefox-build-system-reviewers,mshal
Whether ENABLE_INTL_API and ENABLE_TYPED_OBJECTS are defined, affects
the behaviour of JS_FOR_PROTOTYPES for the prototypes of Intl and
TypedObject. Therefore, these macros have to be available to embedders.
Rename them to JS_HAS_INTL_API and JS_HAS_TYPED_OBJECTS (in line with
the existing JS_HAS_CTYPES) everywhere they are used, and add them to
js-config.h.in.

Differential Revision: https://phabricator.services.mozilla.com/D52461

--HG--
extra : moz-landing-system : lando
2019-11-26 07:25:35 +00:00
Brindusan Cristian
3e0cb96b6e Backed out 7 changesets (bug 1590907) for build bustages at jsfriendapi.cpp. CLOSED TREE
Backed out changeset d6ac9325cb2c (bug 1590907)
Backed out changeset fc85ee5e144c (bug 1590907)
Backed out changeset 1b5b40dcaac4 (bug 1590907)
Backed out changeset 1b2d91f00be2 (bug 1590907)
Backed out changeset 67f939760329 (bug 1590907)
Backed out changeset 4d5818a72b46 (bug 1590907)
Backed out changeset 308b42f3a99c (bug 1590907)

--HG--
extra : rebase_source : 47578231d4749f023c3d206c479ee532dbf6fc6c
extra : histedit_source : 9e7427349342272e7fbe02fee29cb87cda45f75d
2019-11-26 05:23:11 +02:00
Philip Chimento
a710bbae5d Bug 1590907 - Make ENABLE_INTL_API and ENABLE_TYPED_OBJECTS into js-config macros. r=sfink,firefox-build-system-reviewers,mshal
Whether ENABLE_INTL_API and ENABLE_TYPED_OBJECTS are defined, affects
the behaviour of JS_FOR_PROTOTYPES for the prototypes of Intl and
TypedObject. Therefore, these macros have to be available to embedders.
Rename them to JS_HAS_INTL_API and JS_HAS_TYPED_OBJECTS (in line with
the existing JS_HAS_CTYPES) everywhere they are used, and add them to
js-config.h.in.

Differential Revision: https://phabricator.services.mozilla.com/D52461

--HG--
extra : moz-landing-system : lando
2019-11-26 02:02:23 +00:00
Axel Hecht
abdae0cda5 Bug 1599045, part 2 - merge compare-locales docs into build docs, r=flod
The "Localization" docs in tools/compare-locales are really mostly
build, so merging that content into the builds doc.

Removing Android parts, add Fluent there, noting DTD deprecation.

Moving the glossary to the actual l10n docs.

With proper top-level structure, show 2 levels of l10n and intl
on the front-matter page.

Differential Revision: https://phabricator.services.mozilla.com/D55126

--HG--
rename : tools/compare-locales/docs/glossary.rst => intl/l10n/docs/glossary.rst
extra : moz-landing-system : lando
2019-12-03 15:43:10 +00:00
Nathan Froyd
a36959414d Bug 1600771 - turn on --show-mismatched-frees=no for valgrind tests; r=jseward
Otherwise, Valgrind is liable to see false positives from mismatched
`new` where the `delete` has been inlined to `free` or vice versa.

Differential Revision: https://phabricator.services.mozilla.com/D55553

--HG--
extra : moz-landing-system : lando
2019-12-03 13:32:27 +00:00
Nathan Froyd
72b0fe8ee6 Bug 1536848 - raise the minimum gcc version to 7; r=dmajor
We need this for full C++17 support.

Differential Revision: https://phabricator.services.mozilla.com/D51451

--HG--
extra : moz-landing-system : lando
2019-11-21 20:53:27 +00:00
Mike Shal
47f5ff5520 Bug 1593465 - Upload minidumps from PGO-run task crashes; r=firefox-build-system-reviewers,chmanchester
The minidumps are stored in the temporary profile directory used by
profileserver.py. Before the temporary directory goes away, we use
mozcrash & minidump_stackwalk to process any crashreports and copy them
to the artifacts directory.

Differential Revision: https://phabricator.services.mozilla.com/D52394

--HG--
extra : moz-landing-system : lando
2019-11-21 18:44:10 +00:00
Andi-Bogdan Postelnicu
e8a21331ce Bug 1598069 - make compliant with future clang 10 our clang based static analysis. r=froydnj
With clang 10 and up `getTemporary` has been replaced with the more versatile `getSubExpr`.
The commit that added this behaviour is: b0561b3346

Differential Revision: https://phabricator.services.mozilla.com/D54101

--HG--
extra : moz-landing-system : lando
2019-11-21 14:07:44 +00:00
Māris Fogels
1d657c8499 Bug 1448349 - Warn about autoconf $PATH problems on win32 r=firefox-build-system-reviewers,chmanchester
Detect if Unix utilities on win32 are being picked up from a foreign
installation of MinGW, such as the tools packaged with Git for Windows.
If autoconf dies during `./mach configure` and foreign tools are found
in $PATH then warn the user that their $PATH may need to change to fix
the problem.

Differential Revision: https://phabricator.services.mozilla.com/D52960

--HG--
extra : moz-landing-system : lando
2019-11-21 00:20:56 +00:00
Ciure Andrei
66ae07e2a9 Backed out changeset 7dcc2fa474a8 (bug 1448349) for causing win2012 bustages CLOSED TREE 2019-11-20 03:39:39 +02:00
Māris Fogels
3d8ceef7af Bug 1448349 - Warn about autoconf $PATH problems on win32 r=firefox-build-system-reviewers,chmanchester
Detect if Unix utilities on win32 are being picked up from a foreign
installation of MinGW, such as the tools packaged with Git for Windows.
If autoconf dies during `./mach configure` and foreign tools are found
in $PATH then warn the user that their $PATH may need to change to fix
the problem.

Differential Revision: https://phabricator.services.mozilla.com/D52960

--HG--
extra : moz-landing-system : lando
2019-11-19 20:49:43 +00:00
Christian Holler
8d974e5d12 Bug 1590162 - Add TSan builds to TaskCluster. r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D50925

--HG--
extra : moz-landing-system : lando
2019-11-19 15:27:13 +00:00
David Major
3e0c2cec02 Bug 1596172 - Add perf-reftest-singletons to PGO training r=firefox-build-system-reviewers,mshal
This ought to overcome a regression from 1592981 as well as make this test suite less noisy about toolchain updates in the future.

While here, tidy up the PGO list: sort alphabetically, stop using a hardcoded test index for the Speedometer time extension, and stop using js-input/ for the virtual mappings since js-input/ is an actual directory in our repo.

Differential Revision: https://phabricator.services.mozilla.com/D52888

--HG--
extra : moz-landing-system : lando
2019-11-14 19:27:26 +00:00
Razvan Maries
5af92f5f8a Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-11-15 00:41:27 +02:00
Razvan Maries
4e42de3ec8 Merge mozilla-inbound to mozilla-central a=merge 2019-11-14 23:49:26 +02:00
Ricky Stewart
08c0c80063 Bug 1594552 - Add moz.configure bits to specify a compiler for converting C/C++ to wasm r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D52111

--HG--
extra : moz-landing-system : lando
2019-11-14 16:26:24 +00:00
Nathan Froyd
d3483bdef5 Bug 1579189 - raise the minimum clang version to 5; r=#build
We need this for "full" C++17 support (everything is supported, but some
C++17 features still have bugs) and this change also brings Linux into
parity with our Mac requirements.

MANUAL PUSH: build toolchains on inbound to avoid clogging autoland

Differential Revision: https://phabricator.services.mozilla.com/D51450
2019-11-14 11:16:38 -04:00
Makoto Kato
0327aea5ca Bug 1564097 - Set HOST_LINKER when host OS is Windows too. r=glandium
When running Cargo on Windows, `HOST_LINKER` is required by
`cargo-host-linker.bat`. So we should use windows.configure to set HOST_LINKER
when host OS is Windows and target OS isn't Windows.

Differential Revision: https://phabricator.services.mozilla.com/D37241

--HG--
extra : moz-landing-system : lando
2019-11-13 11:48:25 +00:00
Tyson Smith
ee4b443ded Bug 1595633 - Enable 'pointer-overflow' UBSan check. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52608

--HG--
extra : moz-landing-system : lando
2019-11-12 16:29:37 +00:00
Ricky Stewart
6b46a4c52e Bug 1593502 - Build system does not add -isysroot to the command-line flags for compiler invocations when the provided_compiler has additional flags r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D52414

--HG--
extra : moz-landing-system : lando
2019-11-12 00:28:17 +00:00
Ricky Stewart
7a000bc5ca Bug 1595906 - Allow opting out of hardening compile flags on a granular basis r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52756

--HG--
extra : moz-landing-system : lando
2019-11-14 17:13:28 +00:00
Tarek Ziadé
0768e82e1c Bug 1595836 - add support for ./mach python-test r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D52976

--HG--
extra : moz-landing-system : lando
2019-11-14 15:02:44 +00:00
Tyson Smith
5b02d71498 Bug 1594839 - Enable 'integer-divide-by-zero' UBSan check. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D52218

--HG--
extra : moz-landing-system : lando
2019-11-08 18:54:51 +00:00
Māris Fogels
8042b2dfd3 Bug 1594955 - Restore autoconf subprocess environ in old.configure r=glandium
Restore the env= argument to the subprocess.Popen() call that runs
autoconf in old.configure.  The argument appears to have been removed by
accident in changeset f47e966507eb.

Differential Revision: https://phabricator.services.mozilla.com/D52293

--HG--
extra : moz-landing-system : lando
2019-11-08 02:16:05 +00:00
Andi-Bogdan Postelnicu
22b4d86ced Bug 1593703 - disable clang based static-analysis for build-linux64-base-toolchains-clang/*. r=froydnj
With Bug 1579189 we are going to raise the minimum clang version to 5. But in clang 5
and clang 6 an issue has been introduced where the `Decl` nodes from the `AST` don't
contain all of the annotation attributes. The missing attributes can cause static
analysis failures. We are therefore going to disable the static analysis for the
base-toolchain clang builds as a workaround.

Differential Revision: https://phabricator.services.mozilla.com/D52025

--HG--
extra : moz-landing-system : lando
2019-11-06 18:29:09 +00:00
David Major
896094e44a Bug 1592981 - Use -import-instr-limit to mitigate size growth from ThinLTO r=froydnj
When we first enabled ThinLTO on our builds, we got great performance gains, but also large size increases due to aggressive inlining. There is an LLVM option called -import-instr-limit that limits the size of functions that may be imported (the threshold is subject to modification by PGO). Chromium found a good balance between speed and performance by using a value of 10. In initial testing, on Windows and Linux that value can save us many megabytes from libxul without noticeable speed regressions. For Mac, which doesn't yet have PGO, we have to use a higher limit to avoid over-restricting the optimizer which caused slowdowns on my try pushes.

Differential Revision: https://phabricator.services.mozilla.com/D51463

--HG--
extra : moz-landing-system : lando
2019-11-04 15:58:54 +00:00
Nihanth Subramanya
7f0b6eecd8 Bug 1584479 - Part 2: Update socialtracking test. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D51444

--HG--
extra : moz-landing-system : lando
2019-11-02 09:53:51 +00:00
Dorel Luca
b9074d53a1 Backed out 4 changesets (bug 1584479) for Browser-chrome failures in toolkit/components/antitracking/test/browser/browser_socialtracking.js
Backed out changeset b0d9877bd8b0 (bug 1584479)
Backed out changeset d2c56bd61b08 (bug 1584479)
Backed out changeset 0edb22786545 (bug 1584479)
Backed out changeset 7e03b392edb3 (bug 1584479)
2019-11-02 01:18:42 +02:00
Nihanth Subramanya
1429cf6a65 Bug 1584479 - Part 2: Update socialtracking test. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D51444

--HG--
extra : moz-landing-system : lando
2019-11-01 22:02:12 +00:00
Ricky Stewart
d5351b1c6b Bug 1589792 - Remove --disable-xcode-checks r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D51171

--HG--
extra : moz-landing-system : lando
2019-10-30 20:46:09 +00:00
Andi-Bogdan Postelnicu
5392090016 Bug 1589096 - add registerPPCallbacks to our version of clang-tidy due to a limitation in mozilla-must-override. r=sylvestre
In the future we should re-write this checker but for now this solution is acceptable.

Differential Revision: https://phabricator.services.mozilla.com/D51242

--HG--
extra : moz-landing-system : lando
2019-10-31 12:16:35 +00:00
Ciure Andrei
aea0b77b62 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-10-31 00:13:32 +02:00
Edwin Takahashi
128ef1e636 Bug 1212502 - Switch mozinfo to using the 'distro' package to get linux distribution info r=ahal,KWierso
Differential Revision: https://phabricator.services.mozilla.com/D49366

--HG--
extra : moz-landing-system : lando
2019-10-30 20:42:50 +00:00
Nathan Froyd
bea66696a3 Bug 1569728 - manually instantiate some basic_string members for libstdc++ compat; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D41370
2019-10-30 13:47:19 -04:00
Christian Holler
4c144ccda1 Bug 1592250 - Disable libFuzzer instrumentation in TSan builds. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D50922

--HG--
extra : moz-landing-system : lando
2019-10-29 14:03:40 +00:00
Emilio Cobos Álvarez
25cb66e7e8 Bug 1332689 - Remove clang 3.9 compat code for the clang-plugin. r=andi
We require 4.0 to build since bug 1394825.

Differential Revision: https://phabricator.services.mozilla.com/D50647

--HG--
extra : moz-landing-system : lando
2019-10-28 06:55:00 +00:00
Emilio Cobos Álvarez
bd45fba301 Bug 1332689 - Remove clang 3.8 compat code. r=andi
This is just drive-by, but it confused me. We require at least clang 4 to build
nowadays.

Differential Revision: https://phabricator.services.mozilla.com/D50646

--HG--
extra : moz-landing-system : lando
2019-10-28 06:54:43 +00:00
Emilio Cobos Álvarez
ddabf6673b Bug 1591493 - Clang plugin should work with distributed builds. r=andi
sccache-dist / icecream preprocess the file and then send it to a builder.

That means that the file contains #line directives or equivalents in order for
diagnostics and such to work correctly.

Unfortunately our clang-plugin build fails catastrophically if you include a
third-party header, as it doesn't account for them.

Use SourceManager::getPresumedLoc to get filenames, as it accounts for them,
unlike just getFilename.

Differential Revision: https://phabricator.services.mozilla.com/D50633

--HG--
extra : moz-landing-system : lando
2019-10-28 06:54:25 +00:00
Chris Manchester
194dff7015 Bug 1591262 - Apply additional patch to clang used for sccache-dist builds. r=firefox-build-system-reviewers,dmajor
This applies one of the patches we needed to build on windows to the clang
we're using for sccache-dist builds. The upstream issue is described in
https://bugs.llvm.org/show_bug.cgi?id=41817

Differential Revision: https://phabricator.services.mozilla.com/D50551

--HG--
extra : moz-landing-system : lando
2019-10-25 21:24:33 +00:00
Chris Manchester
f93b9722b0 Bug 1578493 - Update sccache-dist docs to cover Windows. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D49796

--HG--
extra : moz-landing-system : lando
2019-10-25 20:05:05 +00:00
Andreea Pavel
6c0393c694 Backed out changeset a6ce865567bb (bug 1578493) for lint failure on a CLOSED TREE 2019-10-25 23:01:09 +03:00
Chris Manchester
7c5af2010a Bug 1578493 - Update sccache-dist docs to cover Windows. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D49796

--HG--
extra : moz-landing-system : lando
2019-10-25 18:18:25 +00:00
Chris Manchester
870590b5fe Bug 1589783 - Require sccache 0.2.12 when used to build. r=nalexander
Depends on D49801

Differential Revision: https://phabricator.services.mozilla.com/D49802

--HG--
extra : moz-landing-system : lando
2019-10-22 16:41:02 +00:00
Cosmin Sabou
b9bc1ef9d6 Backed out 2 changesets (bug 1476339, bug 1590714) for breaking windows coverage builds and at marco's request.
Backed out changeset 0a3621d900c8 (bug 1590714)
Backed out changeset db0e1ce31ac3 (bug 1476339)

--HG--
extra : rebase_source : 2421340b6220f0858ee449a1f5bc26bf3316943b
2019-10-23 23:10:17 +03:00
Marco Castelluccio
2b99ab19ea Bug 1590714 - Remove unused 'mozbuild_state_path'. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D50203

--HG--
extra : moz-landing-system : lando
2019-10-23 19:37:41 +00:00
Marco Castelluccio
04a3124744 Bug 1476339 - Set coverage LDFLAGS as part of configure. r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D49830

--HG--
extra : moz-landing-system : lando
2019-10-22 22:55:45 +00:00
Jan-Erik Rediger
01214b105d Bug 1590323 - Give spreadsheet link a proper name r=firefox-build-system-reviewers,chmanchester
"here" is a bad click target, giving it a proper name helps everyone.

Depends on D50035

Differential Revision: https://phabricator.services.mozilla.com/D50036

--HG--
extra : moz-landing-system : lando
2019-10-22 20:16:45 +00:00
Jan-Erik Rediger
97216bc03d Bug 1590323 - Document additional macOS config for sccache-dist build r=firefox-build-system-reviewers,johannh,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D50035

--HG--
extra : moz-landing-system : lando
2019-10-22 20:35:10 +00:00
Dorel Luca
cf3d2dccbb Backed out changeset 098dacd3fabe (bug 1476339) for Linting failure in mozbuild/mozbuild/frontend/context.py. CLOSED TREE
--HG--
extra : amend_source : a805d5f03e8127b4248a5f95943e1f33f3b92608
2019-10-23 01:26:46 +03:00
Marco Castelluccio
cfdcf5a828 Bug 1476339 - Set coverage LDFLAGS as part of configure. r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D49830

--HG--
extra : moz-landing-system : lando
2019-10-22 21:00:34 +00:00
Dorel Luca
3d43b20c77 Backed out changeset ca117d13ca06 (bug 1212502) for Windows 2012 build bustage. CLOSED TREE 2019-10-22 20:53:27 +03:00
Wes Kocher
49fba76f39 Bug 1212502 - Switch mozinfo to using the 'distro' package to get linux distribution info r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D49366

--HG--
extra : moz-landing-system : lando
2019-10-22 17:33:13 +00:00
Chris Manchester
e69835925b Bug 1587913 - Fix rust target detection for rustc 1.38. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D48996

--HG--
extra : moz-landing-system : lando
2019-10-16 22:16:13 +00:00
Christian Holler
a157a20300 Bug 1587463 - Remove LSan/UBSan suppressions option from automation. r=ahal
Depends on D48786

Differential Revision: https://phabricator.services.mozilla.com/D48787

--HG--
extra : moz-landing-system : lando
2019-10-16 16:11:23 +00:00
Dorel Luca
b6eeb7d5d3 Backed out changeset 35d4451f348d (bug 1588458) as requested by the dev 2019-10-15 19:04:22 +03:00
Sylvestre Ledru
0f71aeba53 Bug 1588458 - Replace dxr by searchfox in the doc r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D49140

--HG--
extra : moz-landing-system : lando
2019-10-15 15:27:13 +00:00
David Major
103a1cbba6 Bug 1573211 - Update to clang 9.0.0 r=glandium
Updates all clang 8.0.1 to version 9.0.0, except for the mingw builds
which suffer from bug 1548624 and will be handled separately later.

Differential Revision: https://phabricator.services.mozilla.com/D44160

MANUAL PUSH: Rebuild clang toolchains without stalling autoland

--HG--
rename : build/build-clang/clang-8-android.json => build/build-clang/clang-android.json
rename : build/build-clang/clang-8-linux64-aarch64-cross.json => build/build-clang/clang-linux64-aarch64-cross.json
rename : build/build-clang/clang-8-linux64.json => build/build-clang/clang-linux64.json
rename : build/build-clang/clang-8-macosx64.json => build/build-clang/clang-macosx64.json
rename : taskcluster/scripts/misc/build-clang-8-linux-macosx-cross.sh => taskcluster/scripts/misc/build-clang-linux-macosx-cross.sh
2019-09-21 16:26:53 +02:00
Ricky Stewart
c010710916 Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=firefox-build-system-reviewers,mshal
(Same content as bad revision https://phabricator.services.mozilla.com/D48230, but with a very small change to config/external/icu/data/moz.build to fix the build breakage.)

Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=833f6a69fcac689488a640b43e8e0bdaa086a56c

Differential Revision: https://phabricator.services.mozilla.com/D48409

--HG--
extra : moz-landing-system : lando
2019-10-07 21:15:19 +00:00
Daniel Varga
052ef806b5 Backed out changeset 8d95f2c8867b (bug 1586358) for build bustage with FATAL ERROR PROCESSING MOZBUILD FILE. On a CLOSED TREE
--HG--
extra : rebase_source : 325fbad2455afc7f693087e75fa57dba79f4d86b
2019-10-07 20:22:08 +03:00
Ricky Stewart
940d91af38 Bug 1586358 - Replace existing instances of GENERATED_FILES with references to the GeneratedFile template r=nalexander
This patch doesn't remove all references to GENERATED_FILES, but does remove most of them, leaving only those which can't be trivially translated to the new template.

Try push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e4a25230c3992b9c5519ceb351fb37f6b2bf605e

Differential Revision: https://phabricator.services.mozilla.com/D48230

--HG--
extra : moz-landing-system : lando
2019-10-07 15:31:05 +00:00
Doug Thayer
534ac9e360 Bug 1550108 - Pull in secondary lz4 libraries r=glandium
I opted to go with what I perceived as the more expedient route
of leaving lz4 roughly where it is and just adding to that. The
biggest complication was xxhash, which is included elsewhere.
I'm not generally proficient with build-related things though so
my solution may be wrong and not just ugly.

Differential Revision: https://phabricator.services.mozilla.com/D30640

--HG--
rename : mfbt/lz4.c => mfbt/lz4/lz4.c
rename : mfbt/lz4.h => mfbt/lz4/lz4.h
extra : moz-landing-system : lando
2019-10-04 20:44:08 +00:00
Tom Ritter
a74bcb566f Bug 1585353 - Revert Bug 1440013 and remove the -mbig-obj flag for MinGW r=dmajor
mingw-gcc is no longer supported.

Differential Revision: https://phabricator.services.mozilla.com/D48073

--HG--
extra : moz-landing-system : lando
2019-10-04 18:23:15 +00:00
Chris Manchester
0498c437c9 Bug 1578493 - Updates to sccache-dist docs. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D47836

--HG--
extra : moz-landing-system : lando
2019-10-02 20:56:52 +00:00
Ed Lee
b34af2b581 Bug 1585672 - [mach] Skip modules whose __file__ attribute is None in the global ImportHook r=ahal
This also gets around a flake8 lint exception.

Differential Revision: https://phabricator.services.mozilla.com/D47946

--HG--
extra : moz-landing-system : lando
2019-10-02 17:54:11 +00:00
Andrew Halberstadt
07d6b341a6 Bug 1585146 - [mach] Move '--disable-tests' check to a pre_dispatch_handler, r=firefox-build-system-reviewers,mshal
This logic is very 'mozill-central' specific and should live outside of mach
core if possible. Luckily we already have a concept of a 'pre_dispatch_handler'
that is meant for exactly this type of use case.

Differential Revision: https://phabricator.services.mozilla.com/D47668

--HG--
extra : moz-landing-system : lando
2019-10-01 22:31:23 +00:00
Ricky Stewart
807b3a0bf2 Bug 1562996 - Add a GeneratedFile template to get rid of some of the boilerplate involved in interfacing with GENERATED_FILES. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D47019

--HG--
extra : moz-landing-system : lando
2019-10-01 18:10:16 +00:00
dimi
14959edf1f Bug 1580416 - P2. Add a testcase to test a match can be found when whitelisted URI is eTLD. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D47213

--HG--
extra : moz-landing-system : lando
2019-09-27 08:50:44 +00:00
Cosmin Sabou
14938bad3b Backed out 10 changesets (bug 1550108) for causing build bustages on StartupCache.cpp.
Backed out changeset cbadfa2bbd7e (bug 1550108)
Backed out changeset 2560f0ab6ebf (bug 1550108)
Backed out changeset 0a1fa8d8bb3c (bug 1550108)
Backed out changeset 62416909cf67 (bug 1550108)
Backed out changeset 60991713b1e2 (bug 1550108)
Backed out changeset f950e30afd90 (bug 1550108)
Backed out changeset e63d0a1fec38 (bug 1550108)
Backed out changeset 7a009d42e7e7 (bug 1550108)
Backed out changeset 395affa4c205 (bug 1550108)
Backed out changeset 0fd41e9dbd2a (bug 1550108)

--HG--
rename : mfbt/lz4/lz4.c => mfbt/lz4.c
rename : mfbt/lz4/lz4.h => mfbt/lz4.h
2019-09-29 01:14:31 +03:00
Doug Thayer
fdbddfa996 Bug 1550108 - Pull in secondary lz4 libraries r=glandium
I opted to go with what I perceived as the more expedient route
of leaving lz4 roughly where it is and just adding to that. The
biggest complication was xxhash, which is included elsewhere.
I'm not generally proficient with build-related things though so
my solution may be wrong and not just ugly.

Differential Revision: https://phabricator.services.mozilla.com/D30640

--HG--
rename : mfbt/lz4.c => mfbt/lz4/lz4.c
rename : mfbt/lz4.h => mfbt/lz4/lz4.h
extra : moz-landing-system : lando
2019-09-27 22:15:01 +00:00
Nick Alexander
465ee5457d Bug 1580622 - Run geckodriver toolchain tasks in response to source code changes. r=tomprince
Right now toolchain tasks that aren't dependencies of requested tasks
will run in response to source code changes only if the files are in the
sparse profile.  That is, taskgraph calculates the digest based on just
the files in those directories that are in the sparse profile, and will
rebuild it when those files change.  This changes ensures that more
geckodriver files are used to calculate the digest, and thus changes
to them will cause geckodriver to be rebuilt.

As more things depend on the geckodriver toolchain tasks directly this
becomes less valuable and can be removed from the sparse profile.

Differential Revision: https://phabricator.services.mozilla.com/D47459

--HG--
extra : moz-landing-system : lando
2019-09-28 00:11:45 +00:00
Andi-Bogdan Postelnicu
b5b6fc3017 Bug 1584175 - Add lib/libclang-cpp.* to the clang-tidy artifact. r=froydnj,dmajor
Since we've upgraded to clang 9, clang-format changed and now uses dynamic libraries
for the clang tooling lib that it leverages.

Differential Revision: https://phabricator.services.mozilla.com/D47265

--HG--
extra : moz-landing-system : lando
2019-09-27 12:19:13 +00:00
Nathan Froyd
186048921c Bug 1580898 - move warnings-as-errors logic into warnings.configure; r=nalexander
It's nicer to have everything in one place, and because we support
clang-cl, we can have a single definition for the error flag too.

Differential Revision: https://phabricator.services.mozilla.com/D45705

--HG--
extra : moz-landing-system : lando
2019-09-25 21:30:38 +00:00
Brindusan Cristian
e2348a18ee Backed out 2 changesets (bug 1573211) as requested by dmajor on irc. CLOSED TREE
Backed out changeset 587463567434 (bug 1573211)
Backed out changeset de0fe40466cb (bug 1573211)

--HG--
rename : build/build-clang/clang-android.json => build/build-clang/clang-8-android.json
rename : build/build-clang/clang-linux64-aarch64-cross.json => build/build-clang/clang-8-linux64-aarch64-cross.json
rename : build/build-clang/clang-linux64.json => build/build-clang/clang-8-linux64.json
rename : build/build-clang/clang-macosx64.json => build/build-clang/clang-8-macosx64.json
rename : taskcluster/scripts/misc/build-clang-linux-macosx-cross.sh => taskcluster/scripts/misc/build-clang-8-linux-macosx-cross.sh
extra : histedit_source : 3f9570ab67fd42186265b1dbb6e93c8342bc60e2
2019-09-26 20:12:51 +03:00
David Major
9d69f6a5ba Bug 1573211 - Update to clang 9.0.0 r=glandium
Updates all clang 8.0.1 to version 9.0.0, except for the mingw builds
which suffer from bug 1548624 and will be handled separately later.

Differential Revision: https://phabricator.services.mozilla.com/D44160

MANUAL PUSH: Rebuild clang toolchains without stalling autoland

--HG--
rename : build/build-clang/clang-8-android.json => build/build-clang/clang-android.json
rename : build/build-clang/clang-8-linux64-aarch64-cross.json => build/build-clang/clang-linux64-aarch64-cross.json
rename : build/build-clang/clang-8-linux64.json => build/build-clang/clang-linux64.json
rename : build/build-clang/clang-8-macosx64.json => build/build-clang/clang-macosx64.json
rename : taskcluster/scripts/misc/build-clang-8-linux-macosx-cross.sh => taskcluster/scripts/misc/build-clang-linux-macosx-cross.sh
extra : amend_source : 2dc7e91897e869ead501f19fbd7960d59c4b79bd
2019-09-21 16:26:53 +02:00
David Major
401c1780fa Bug 1583138 - Prepare clang-tidy for clang-9 r=andi
In clang 9, the signature of `registerPPCallbacks` changed and it no longer provides us a `CompilerInstance` [0]. I couldn't find a way to reach the `CompilerInstance` from the new structures, so I've inserted a level into the class hierarchy that mimics the old functionality.

With this patch, clang-tidy compiles with either clang-8 or clang-9, so we can land this independently in preparation for bug 1573211.

[0] For reference: the new signature was introduced in bbc89dcb29, the old overload was marked deprecated in e9087fe75c and removed in ee737a84d7.

Differential Revision: https://phabricator.services.mozilla.com/D46702

--HG--
extra : moz-landing-system : lando
2019-09-24 17:27:02 +00:00
Andrew Halberstadt
898dfb96b4 Bug 1567642 - [lint.flake8] Fix misc flake8 under Python 3 lint issues r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D45417

--HG--
extra : moz-landing-system : lando
2019-09-24 14:44:01 +00:00
Boris Zbarsky
fa0ce4b209 Bug 1581315 part 1. Adjust MOZ_MUST_RETURN_FROM_CALLER to only apply to method calls on arguments. r=nika
It doesn't really make sense to enforce this behavior for calls on stack
variables (which presumably we then want to do something with) and doesn't
necessarily make sense to enforce it for member variables either.

Differential Revision: https://phabricator.services.mozilla.com/D46105

--HG--
extra : moz-landing-system : lando
2019-09-20 02:17:01 +00:00
Mike Shal
56ba0730bc Bug 1580899 - Remove MOZ_PGO from mozconfigs; r=glandium
Setting this flag still attempts to build with 1-tier PGO, unless we
detect that 3-tier PGO is enabled. Since we should be using 3-tier PGO
everywhere, the flag should be redundant in our automation mozconfigs.
It can still be used locally in a mozconfig to do a 1-tier PGO build.

Depends on D46069

Differential Revision: https://phabricator.services.mozilla.com/D46070

--HG--
extra : moz-landing-system : lando
2019-09-18 18:29:00 +00:00
Mike Shal
00a274530f Bug 1580899 - Remove mozconfig.pgo; r=firefox-build-system-reviewers,chmanchester
This file is no longer required, since taskcluster handles scheduling
PGO tasks.

Differential Revision: https://phabricator.services.mozilla.com/D46069

--HG--
extra : moz-landing-system : lando
2019-09-18 03:11:11 +00:00
Nathan Froyd
2b7fcaf969 Bug 1551726 - remove --enable-content-sandbox from old configure options; r=dmajor
The option was removed entirely several months ago, and this bit was missed.

Differential Revision: https://phabricator.services.mozilla.com/D46296

--HG--
extra : moz-landing-system : lando
2019-09-18 15:29:30 +00:00
Chris Manchester
d03f6422fd Bug 1580331 - Update the workspace-hack to avoid duplicate work on windows. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D45581

--HG--
extra : moz-landing-system : lando
2019-09-17 20:46:47 +00:00
Nathan Froyd
9316120343 Bug 1579870 - add wasm support to our clang builds; r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D45201

--HG--
extra : moz-landing-system : lando
2019-09-17 20:14:17 +00:00
Dorel Luca
bff3d0e47a Backed out changeset bb15fe1fd2b1 (bug 1580331) for Spidermonkey failures. CLOSED TREE 2019-09-17 21:06:17 +03:00
Chris Manchester
2826f31324 Bug 1580331 - Update the workspace-hack to avoid duplicate work on windows. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D45581

--HG--
extra : moz-landing-system : lando
2019-09-17 17:34:13 +00:00
Tarek Ziadé
5dd9d5bcd0 Bug 1562870 - generate conditioned profiles r=gbrown,bc,aerickson
Generates "conditioned" profiles.

Differential Revision: https://phabricator.services.mozilla.com/D38211

--HG--
extra : moz-landing-system : lando
2019-09-16 19:44:35 +00:00
Andi-Bogdan Postelnicu
1b886ecee7 Bug 1576659 - Update infer to 0.17.0. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D43471

--HG--
extra : moz-landing-system : lando
2019-09-13 14:25:32 +00:00
Mike Shal
ec7a8745f1 Bug 1580497 - Fix topobjdir in 1-tier PGO builds; r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D45707

--HG--
extra : moz-landing-system : lando
2019-09-12 19:30:17 +00:00
Nathan Froyd
020191bdfa Bug 1580931 - remove libc++ gcc 4.9 workarounds from toolchain.configure; r=nalexander
Getting rid of unneeded code and having fewer global defines are both
worthy things.

Differential Revision: https://phabricator.services.mozilla.com/D45726

--HG--
extra : moz-landing-system : lando
2019-09-12 20:01:18 +00:00
Razvan Maries
98fb942aa9 Backed out changeset 70e72871917e (bug 1576659) for Linux x64 debug build bustages. CLOSED TREE 2019-09-12 15:51:31 +03:00