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

7734 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 6dc8205006 Bug 1513798 - Don't set HOST_{CC,CXX,CPP} and CPP. r=nalexander
CPP/HOST_CPP were probably not necessary already, but now that we leave
it to configure to figure out the appropriate compiler flags, we don't
need to set HOST_CC/HOST_CXX to remove the flags from CC/CXX.

Differential Revision: https://phabricator.services.mozilla.com/D14382
2018-12-18 10:50:14 +09:00
Mike Hommey f4ac275e71 Bug 1513798 - Use --with-macos-sdk for OSX cross build. r=nalexander
Rather than manually passing -isysroot to clang. Ideally, we shouldn't
need to fill BINDGEN_CFLAGS from the mozconfig, but we're not quite
there yet.

Differential Revision: https://phabricator.services.mozilla.com/D14381
2018-12-18 10:50:13 +09:00
Mike Hommey 6d3046658e Bug 1513798 - Move --with-macos-{sdk,private-frameworks} to python configure. r=nalexander
Because we now set the sysroot include flags early in python configure,
we don't need to set CPP/CXXCPP. We also skip the explicit compiler test
because more complete tests follow anyways.

Differential Revision: https://phabricator.services.mozilla.com/D14380
2018-12-18 10:50:12 +09:00
Mike Hommey 0edc1f6452 Bug 1513798 - Simplify the handling of --enable-macos-target. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D14379
2018-12-18 10:50:11 +09:00
Mike Hommey 45d8136115 Bug 1513798 - Add cctools/bin to PATH. r=nalexander
Instead of passing -B to clang and setting TOOLCHAIN_PREFIX.

Differential Revision: https://phabricator.services.mozilla.com/D14378
2018-12-18 10:50:10 +09:00
Mike Hommey 98cdb52421 Bug 1513798 - Automatically set TOOLCHAIN_PREFIX when cross-compiling for OSX. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D14377
2018-12-18 10:50:09 +09:00
Mike Hommey b0360b6b16 Bug 1513798 - Use x86_64-darwin11 as a prefix for cctools-port, rather than x86_64-apple-darwin11. r=nalexander
This matches more closely cross toolchains prefixes (as can be seen in
e.g. media/libvpx/libvpx/README for x86_64-darwin*-gcc), and leaves it
to the build system to figure out the right --target to pass to clang on
its own.

Differential Revision: https://phabricator.services.mozilla.com/D14376
2018-12-18 10:50:08 +09:00
Mike Hommey 76a8b9932a Bug 1513798 - Use a --target that matches what we pass to clang for OSX cross builds. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D14375
2018-12-18 10:50:08 +09:00
Mike Hommey 8c199b7a84 Bug 1513798 - Revert bug 638149 and leave it to configure to set -dead_strip. r=nalexander
We're always setting -dead_strip on mac builds, per
cross-mozconfig.common, we might as well not do that and revert bug
638149, which disabled adding -dead_strip with LTO: that is apparently
not a problem anymore.

Differential Revision: https://phabricator.services.mozilla.com/D14373
2018-12-18 10:50:06 +09:00
Mike Hommey 463bafbdaa Bug 1513798 - Remove build/macosx/build-cctools.sh. r=nalexander
The script, added in bug 1291028, was obsoleted by bug 1331957.

Differential Revision: https://phabricator.services.mozilla.com/D14372
2018-12-18 10:50:04 +09:00
Mike Hommey 1e64a78760 Bug 1252556 - Make profileserver.py fail when running Firefox fails. r=chmanchester
Currently, when Firefox crashes when running the PGO profile, the error
is ignored, and the result is a build that is not optimized as expected.
So instead of such things going unnoticed, we make profileserver.py
return an error code, further failing the build.

Unfortunately, this does not make the output useful to know what went
wrong exactly, but the most important thing is that the build fails
instead of going through and leading to bad results.
2018-12-18 09:38:52 +09:00
Dorel Luca 741816b6ea Backed out changeset c8a4a6617e30 (bug 1512921) for build bustage.
--HG--
extra : rebase_source : bf688c484a541748a83902d3b5ef70559cea7100
2018-12-17 22:13:45 +02:00
Tom Ritter 56516fc824 Bug 1512921 - Bump clang to trunk 348970 for Windows builds. r=dmajor
This removes several patches that have been upstreamed.

--HG--
extra : rebase_source : 8462b42b8342935cfb5ecb912fac06c67b9165b9
extra : amend_source : 271b5d4a5b37fa74555ef87cb0c4444f8f7468f0
2018-11-27 14:44:34 -06:00
Emilio Cobos Álvarez 092964cd45 Bug 1514599 - Remove code for clang <6 from the indexer plugin. r=kats
This picks up changes from https://github.com/mozsearch/mozsearch/pull/173.
2018-12-16 18:39:34 +01:00
Emilio Cobos Álvarez 879d99e739 Bug 1513009 - Deny Rust warnings on automation. r=ted
Summary:
I've chosen linux64-debug since it's the most visible build I usually do, but I
could do another build task or something, or use the static analysis builds, or
what not. Just let me know if there's a better way to do this.

Caveat: This might make updating Rust toolchains a bit more painful. I think
this is better and we should just deal with warnings before updating toolchains,
but I don't know if there'd be strong opposition to that.

Note that this does _not_ affect third-party code since Cargo passes
`--cap-lint warn` automatically for those.

Proof that it works:

 * https://treeherder.mozilla.org/#/jobs?repo=try&revision=4ad1e4e1392f71b574cff683e90c7b13bf8781d1
 * https://treeherder.mozilla.org/#/jobs?repo=try&revision=57604f92624bbe49037eee87c56fdb6bf2b5017d

Reviewers: #firefox-build-system-reviewers, ted

Reviewed By: #firefox-build-system-reviewers, ted

Subscribers: reviewbot, glandium, ted

Bug #: 1513009

Differential Revision: https://phabricator.services.mozilla.com/D14083
2018-12-14 23:35:47 +01:00
Mike Hommey c2b01ab3f1 Bug 1514089 - Move fxc and wine detection to toolkit/moz.configure. r=froydnj
They are not necessary to build e.g. standalone spidermonkey.

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

--HG--
extra : moz-landing-system : lando
2018-12-14 14:56:04 +00:00
Mike Hommey 7864034d32 Bug 1514209 - Enable the crashreporter code on Windows arm64 builds. r=froydnj
But keep the crashreporter disabled at runtime because it doesn't work
yet.

This has the side effect of creating the artifacts with the
crashreporter symbols and pdbs.

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

--HG--
extra : moz-landing-system : lando
2018-12-14 14:50:30 +00:00
Jason Orendorff b50541ce32 Bug 1513570 - Part 4: Back out the jit-tests added in bug 1503012. r=Ms2ger
Differential Revision: https://phabricator.services.mozilla.com/D14317

--HG--
extra : moz-landing-system : lando
2018-12-14 18:15:56 +00:00
Gurzau Raul 3189fe85e8 Backed out changeset 8e348821b49f (bug 1513009) due to build compile failure on a CLOSED TREE 2018-12-14 01:56:43 +02:00
Emilio Cobos Álvarez d29a39cdfd Bug 1513009 - Deny Rust warnings on automation. r=firefox-build-system-reviewers,ted
I've chosen linux64-debug since it's the most visible build I usually do, but I
could do another build task or something, or use the static analysis builds, or
what not. Just let me know if there's a better way to do this.

Caveat: This might make updating Rust toolchains a bit more painful. I think
this is better and we should just deal with warnings before updating toolchains,
but I don't know if there'd be strong opposition to that.

Note that this does _not_ affect third-party code since Cargo passes
`--cap-lint warn` automatically for those.

Proof that it works:

 * https://treeherder.mozilla.org/#/jobs?repo=try&revision=4ad1e4e1392f71b574cff683e90c7b13bf8781d1
 * https://treeherder.mozilla.org/#/jobs?repo=try&revision=57604f92624bbe49037eee87c56fdb6bf2b5017d

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

--HG--
extra : moz-landing-system : lando
2018-12-13 19:17:31 +00:00
Chris Manchester 5292ba5641 Bug 1504147 - Build compiler-rt libs for android on arm. r=froydnj
This patch is based on the cmake cache files for Android checked in to the
clang repo.

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

--HG--
extra : moz-landing-system : lando
2018-12-13 22:02:01 +00:00
Thomas Daede 427d23f3d7 Bug 1512462 - Only use nasm when explicitly requested. r=firefox-build-system-reviewers,mshal
This is needed because ffvpx does not build with nasm on win64.

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

--HG--
extra : moz-landing-system : lando
2018-12-13 15:40:17 +00:00
Andi-Bogdan Postelnicu 8286177e5a Bug 1513216 - Don't collect build telemetry when 'mach' is ran from hg format-source. r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D14146

--HG--
extra : moz-landing-system : lando
2018-12-13 18:09:03 +00:00
Mike Hommey ab48d17e1a Bug 1513134 - Detect unnecessary --help dependencies. r=firefox-build-system-reviewers,gps
Depends on D14125

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

--HG--
extra : moz-landing-system : lando
2018-12-11 19:34:28 +00:00
Jason Orendorff 45c6c35730 Bug 1503012 - Part 2: Shim some web-platform-tests for streams into the jit-tests. r=arai,chmanchester,jimb
This is an egregious hack. The web-platform-tests were not meant to run in the shell.

The eight tests that are included are the ones that we pass with flying colors.
In most of the others, we still have a failure or two.

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

--HG--
rename : dom/imptests/testharness.js => js/src/jit-test/lib/w3c-testharness.js
extra : moz-landing-system : lando
2018-12-09 15:48:33 +00:00
Dorel Luca f846fdef21 Backed out 5 changesets (bug 1507950, bug 1503012, bug 1507943, bug 1512050, bug 1512008) for spidermonkey and jit failures
Backed out changeset 71253f35ac3c (bug 1512008)
Backed out changeset f5c4eb412990 (bug 1512050)
Backed out changeset bc83a2fe5c17 (bug 1507950)
Backed out changeset 345ad3e746e8 (bug 1507943)
Backed out changeset b2a0ae5e5115 (bug 1503012)
2018-12-08 00:11:12 +02:00
Jason Orendorff 31a9f32c95 Bug 1503012 - Part 2: Shim some web-platform-tests for streams into the jit-tests. r=arai,chmanchester
This is an egregious hack. The web-platform-tests were not meant to run in the shell.

The eight tests that are included are the ones that we pass with flying colors.
In most of the others, we still have a failure or two.

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

--HG--
rename : dom/imptests/testharness.js => js/src/jit-test/lib/w3c-testharness.js
extra : moz-landing-system : lando
2018-12-07 20:02:53 +00:00
Thomas Daede ff5c8168d3 Bug 1511223 - Update deb7 nasm to 2.13.01. r=glandium
This pulls a newer version of the nasm package, and patches
out doc building in order to make it compile on debian 7.

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

--HG--
extra : moz-landing-system : lando
2018-12-07 18:50:18 +00:00
Andi-Bogdan Postelnicu fbd9a10021 Bug 1511889 - Update clang-plugin LoadLibraryUsageChecker to use getBeginLoc. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D13726

--HG--
extra : moz-landing-system : lando
2018-12-06 16:34:13 +00:00
shindli d1e42e895d Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-05 23:38:42 +02:00
Mike Hommey c8ceb9bf23 Bug 1489572 - Apply upstream patch to valgrind to fix some false positives. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D13509

--HG--
extra : moz-landing-system : lando
2018-12-02 01:03:41 +00:00
Jacek Caban 11f027f6a4 Bug 1506450 - Bump LLVM and mingw-w64 versions. r=froydnj 2018-12-05 22:10:04 +01:00
Tom Prince 6ffdb8908e Bug 1509962: [update-verify] Use in-tree update-verify code; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12977

--HG--
extra : moz-landing-system : lando
2018-12-03 06:44:28 +00:00
Coroiu Cristina 8801452ad1 Merge autoland to mozilla-central a=merge 2018-12-01 04:29:26 +02:00
Tom Prince 1daf17b86f Bug 1454685: Update sparse profile to allow docker images to build; r=me a=tomprince
--HG--
extra : rebase_source : 0762cbd2e81405babf99430cb009643cbe115c6b
2018-11-30 12:50:47 -07:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Tom Prince aca0d6057e Bug 1510441: Add `.cron.yml` to the taskgraph sparse profile; r=gps
Differential Revision: https://phabricator.services.mozilla.com/D13142

--HG--
extra : moz-landing-system : lando
2018-11-30 00:26:19 +00:00
Chris Peterson fe4ed2b8bb Bug 1508927 - Enable clang's -Wbitfield-enum-conversion warnings. r=glandium
https://clang.llvm.org/docs/DiagnosticsReference.html#wbitfield-enum-conversion

This clang warning caught a real layout bug related to implicitly truncated enums in the table border style code (bug 1485179):

layout/tables/nsTableFrame.cpp:5318:14 [-Wbitfield-enum-conversion] bit-field 'ownerElem' is not wide enough to store all enumerators of 'BCBorderOwner'
layout/tables/nsTableFrame.cpp:5358:16 [-Wbitfield-enum-conversion] bit-field 'ownerElem' is not wide enough to store all enumerators of 'BCBorderOwner'
layout/tables/nsTableFrame.cpp:5374:18 [-Wbitfield-enum-conversion] bit-field 'subElem' is not wide enough to store all enumerators of 'BCBorderOwner'
layout/tables/nsTableFrame.cpp:5385:18 [-Wbitfield-enum-conversion] bit-field 'subElem' is not wide enough to store all enumerators of 'BCBorderOwner'

Also update the comment linking to clang and gcc's warning documentation.

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

--HG--
extra : moz-landing-system : lando
2018-11-27 02:01:48 +00:00
Gian-Carlo Pascutto 4a38adb0a1 Bug 1503589 - Enable strong stack protector by default. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D11522

--HG--
extra : moz-landing-system : lando
2018-11-30 07:45:23 +00:00
Sylvestre Ledru ef05004811 Bug 1503537 - Get rid of the pdfium & mortar code r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D10352

--HG--
extra : moz-landing-system : lando
2018-11-28 19:31:21 +00:00
Cosmin Sabou 1b7e778d69 Merge mozilla-central to mozilla-inbound. 2018-11-28 00:04:55 +02:00
Tom Prince 4f07d7aa2e Bug 1482395: [mozrelease] Generate whats new blob and populate it during release; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D12708

--HG--
extra : moz-landing-system : lando
2018-11-26 17:51:23 +00:00
Thomas Daede dbd2f83eeb Bug 1508419 - Gracefully fail if nasm doesn't print version. r=firefox-build-system-reviewers,mshal
This is required on Mac, where there is a dummy nasm executable
that prints an error if the real nasm isn't found.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 16:13:48 +00:00
Chris Manchester 1195b8eedc Bug 1507342 - Allow profileserver.py to run from a fresh checkout. r=firefox-build-system-reviewers,gps
Differential Revision: https://phabricator.services.mozilla.com/D12494

--HG--
extra : moz-landing-system : lando
2018-11-26 17:16:40 +00:00
Tom Prince dd59ad1f35 Bug 1482395: Allow python3 specific entries in virtualenv_packages.txt; r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D12706

--HG--
extra : moz-landing-system : lando
2018-11-22 21:44:09 +00:00
shindli cbbdd02331 Merge inbound to mozilla-central. a=merge 2018-11-21 05:59:34 +02:00
Nathan Froyd c29e255af2 Bug 1503366 - part 4 - add mozconfigs for aarch64 windows builds; r=chmanchester 2018-11-20 20:32:47 -04:00
Nathan Froyd f77d1d7a18 Bug 1503366 - part 2 - enable WIN64_* for cargo in aarch64 cross-compiles; r=chmanchester
We need these bits for generic cross-compiles, so make sure they are
enabled on both x86 and aarch64.
2018-11-20 19:32:47 -05:00
Mike Hommey 3957f7d987 Backout changeset 88ba9f723934 (bug 1502457) for causing bug 1507838 and bug 1508836 2018-11-21 09:05:41 +09:00
Mike Hommey 533bba3865 Bug 1508547 - Switch Android builds to clang 7 again. r=dmajor
Bug 1492663 upgraded those builds to clang 7, and bug 1503330 brought
them back to clang 6 because of speedometer regressions.

With the previous change, the regression doesn't happen any more,
allowing to upgrade again.

Depends on D12394

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

--HG--
extra : moz-landing-system : lando
2018-11-20 22:10:49 +00:00