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

7630 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 3af56ebd55 Bug 1504906 - Build 32-bits Gtk+ 3.10 packages for Debian Wheezy. r=gps
This creates 32-bits variants of the same packages that were added for
64-bits builds, with a few additions:
- python-defaults, so that the python package can be installed as a
  dependency of the libglib2.0-dev package,
- xkeyboard-config, so that the xkb-data package can be installed as a
  dependency of the libxkbcommon0 package.

Additionally, because the 32-bits and 64-bits packages are built
separately (the 32-bits packages can't, on Wheezy, be built on a 64-bits
host), they don't end up with the same
changelog.Debian/changelog.Debian.gz file because of a timestamp within
it. One way to address this would be to make the taskgraph more complex,
by adding a task creating the source package, and then two tasks
building the 32-bits and 64-bits binary packages from that source, but
that's not worth the overhead, when a simple hack works around the
problem: We make dpkg skip installing the changelog.Debian* files.

Differential Revision: https://phabricator.services.mozilla.com/D11140
2018-11-08 19:49:39 +09:00
Mike Hommey 57ba658870 Bug 1504906 - Build 64-bits Gtk+ 3.10 packages for Debian Wheezy. r=gps
Along with all the updated dependencies that are necessary to achieve
this.

Differential Revision: https://phabricator.services.mozilla.com/D11138
2018-11-08 19:49:38 +09:00
Mike Hommey ad2fed0601 Backed out 6 changesets (bug 1504906 and bug 1505652) to give time to toolchains and docker images to build without blocking other landings.
Backed out changeset 2fe1e2b7d9c6 (bug 1504906)
Backed out changeset 27b4002951a4 (bug 1504906)
Backed out changeset f7a685b16579 (bug 1504906)
Backed out changeset f8064dbb8009 (bug 1504906)
Backed out changeset f899fbb4a5d7 (bug 1504906)
Backed out changeset 3f71db4aef73 (bug 1505652)
2018-11-08 17:18:05 +09:00
Mike Hommey 01409eddf4 Bug 1504906 - Build 32-bits Gtk+ 3.10 packages for Debian Wheezy. r=gps
This creates 32-bits variants of the same packages that were added for
64-bits builds, with a few additions:
- python-defaults, so that the python package can be installed as a
  dependency of the libglib2.0-dev package,
- xkeyboard-config, so that the xkb-data package can be installed as a
  dependency of the libxkbcommon0 package.

Additionally, because the 32-bits and 64-bits packages are built
separately (the 32-bits packages can't, on Wheezy, be built on a 64-bits
host), they don't end up with the same
changelog.Debian/changelog.Debian.gz file because of a timestamp within
it. One way to address this would be to make the taskgraph more complex,
by adding a task creating the source package, and then two tasks
building the 32-bits and 64-bits binary packages from that source, but
that's not worth the overhead, when a simple hack works around the
problem: We make dpkg skip installing the changelog.Debian* files.

Differential Revision: https://phabricator.services.mozilla.com/D11140
2018-11-08 17:13:24 +09:00
Mike Hommey ecdd3c0534 Bug 1504906 - Build 64-bits Gtk+ 3.10 packages for Debian Wheezy. r=gps
Along with all the updated dependencies that are necessary to achieve
this.

Differential Revision: https://phabricator.services.mozilla.com/D11138
2018-11-08 17:13:23 +09:00
Mike Hommey d0ec6a60ce Backout changesets 2e0ed8c61e24, b569742fbbf2 and 6f8c933b7938 (bug 1504906) to give time to docker images to build without blocking other landings. 2018-11-08 10:49:16 +09:00
Mike Hommey 7b276b9a22 Bug 1504906 - Build 32-bits Gtk+ 3.10 packages for Debian Wheezy. r=gps
This creates 32-bits variants of the same packages that were added for
64-bits builds, with a few additions:
- python-defaults, so that the python package can be installed as a
  dependency of the libglib2.0-dev package,
- xkeyboard-config, so that the xkb-data package can be installed as a
  dependency of the libxkbcommon0 package.

Additionally, because the 32-bits and 64-bits packages are built
separately (the 32-bits packages can't, on Wheezy, be built on a 64-bits
host), they don't end up with the same
changelog.Debian/changelog.Debian.gz file because of a timestamp within
it. One way to address this would be to make the taskgraph more complex,
by adding a task creating the source package, and then two tasks
building the 32-bits and 64-bits binary packages from that source, but
that's not worth the overhead, when a simple hack works around the
problem: We make dpkg skip installing the changelog.Debian* files.

Differential Revision: https://phabricator.services.mozilla.com/D11140
2018-11-08 10:44:53 +09:00
Mike Hommey ca374653a7 Bug 1504906 - Build 64-bits Gtk+ 3.10 packages for Debian Wheezy. r=gps
Along with all the updated dependencies that are necessary to achieve
this.

Differential Revision: https://phabricator.services.mozilla.com/D11138
2018-11-08 10:44:10 +09:00
Marco Castelluccio 992f202202 Bug 1504074 - Apply LLVM patch to close file mapping handles after __gcov_flush. r=dmajor
--HG--
extra : rebase_source : 46977cfb1a4b390083fcb0c57bec4e302013572f
2018-11-01 18:12:03 +01:00
Ehsan Akhgari 2cde9dfed2 Bug 1504194 - Part 3: Add tests for granting access to trackers across the same eTLD+1 r=baku
Depends on D10789

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

--HG--
extra : moz-landing-system : lando
2018-11-05 17:10:49 +00:00
Andi-Bogdan Postelnicu 4f5c3e9078 Bug 1501821 - Update clang-plugin in order to make it compatiable with clang 8.0.0 trunk. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D10806

--HG--
extra : moz-landing-system : lando
2018-11-03 13:41:36 +00:00
André Bargull ff6d766102 Bug 1473588: Upgrade minimum ICU version to ICU 63. r=jorendorff 2018-11-01 09:39:38 -07:00
Margareta Eliza Balazs 86f56d08a0 Merge inbound to mozilla-central. a=merge 2018-11-01 11:12:55 +02:00
Geoff Brown a6aa854ab5 Bug 1503587 - Check for and kill errant crashreporter after Android browser tests; r=bc 2018-10-31 17:23:47 -06:00
Tom Prince d8cec76a00 Bug 1492128: [mozrelease] Add command to generate buglist for a given release; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D10154

--HG--
extra : moz-landing-system : lando
2018-10-30 18:21:40 +00:00
Chris Manchester 9b3b733a84 Bug 1497638 - Gather telemetry for mach commands other than build. r=ted,firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D10177

--HG--
extra : moz-landing-system : lando
2018-10-31 20:03:56 +00:00
Kartikaya Gupta e27c90bb3c Bug 1418415 - Add a patch to win64-clang to downgrade a mangling error. r=dmajor
Depends on D10354

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

--HG--
extra : moz-landing-system : lando
2018-10-31 19:51:52 +00:00
Kartikaya Gupta 86cb4f4e4d Bug 1418415 - Do more error checking. r=mccr8
While looking at this code I found a couple of places where errors could
get ignored or silently discarded and result in corrupt data. This
checks for the errors and fails harder.

Depends on D10353

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

--HG--
extra : moz-landing-system : lando
2018-10-31 20:45:13 +00:00
Kartikaya Gupta 160df1fcad Bug 1418415 - Read and write analysis files in binary mode. r=mccr8
This is necessary because:
(a) the JSONFormatter emits a \n newline for each analysis line
(b) we truncate the file to the expected length after writing it
(c) on Windows writing the file in text mode replaces \n with \r\n
    and invalidates our computed "expected length"

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

--HG--
extra : moz-landing-system : lando
2018-10-31 20:44:50 +00:00
Ciure Andrei fdf5f2cda7 Merge inbound to mozilla-central. a=merge 2018-10-31 07:08:22 +02:00
Ciure Andrei a2c4dad0d5 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-10-31 00:16:17 +02:00
Tom Prince a83d0fd435 Bug 1492128: Vendor taskcluster==4.0.1; r=firefox-build-system-reviewers,gps
We can't use taskcluster 5.0.0 yet, because taskcluster-proxy does not
support new-style URLs.

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

--HG--
extra : moz-landing-system : lando
2018-10-30 17:50:49 +00:00
Tom Prince de09f5861b Bug 1492128: Vendor pathlib2==2.3.2; r=firefox-build-system-reviewers,gps
Differential Revision: https://phabricator.services.mozilla.com/D10145

--HG--
extra : moz-landing-system : lando
2018-10-30 18:01:06 +00:00
Emilio Cobos Álvarez b85791110f Bug 1503401 - Update cbindgen due to breaking change. r=boris
https://github.com/eqrion/cbindgen/pull/233 changed the way one of the options
we use work.

I think the new behavior is better, but we should do this sooner rather than
later, and fix broken builds.

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

--HG--
extra : moz-landing-system : lando
2018-10-30 21:25:17 +00:00
Margareta Eliza Balazs 6f90611dce Backed out 4 changesets (bug 1499196) for regression author didn't respond on time, depends on 1501178, requested by igoldan. a=backout
Backed out changeset c43c91d2b97b (bug 1499196)
Backed out changeset caaad097961a (bug 1499196)
Backed out changeset 98fad0b05551 (bug 1499196)
Backed out changeset 470e06d78a7b (bug 1499196)
2018-10-29 10:30:22 +02:00
Boris Chiou 0612c5aa88 Bug 1496619 - Part 5: Bump cbindgen to 0.6.6 r=emilio
So we can generate generic enum by cbindgen (for TimingFunction).

Depends on D9845

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

--HG--
extra : moz-landing-system : lando
2018-10-26 18:03:33 +00:00
Mike Hommey 3dabb0f250 Bug 1501903 - Cache the results of inThirdPartyPath. r=andi
The function is called a lot for the same paths and is rather costly, so
cache the results for each path.

Depends on D9758

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

--HG--
extra : moz-landing-system : lando
2018-10-25 21:21:36 +00:00
Mike Hommey 371b282c0f Bug 1501903 - Properly handle paths in inThirdPartyPath. r=andi
SourceLocation that are passed to inThirdPartyPath might be macro
expansion locations, for which SourceManager.getFilename returns the
path of the directory containing the source, rather than of the
expansion location.

Furthermore, the paths getFileName returns are not canonical, and can
contain e.g. `..`.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 11:05:27 +00:00
David Major 18aa17e2f6 Bug 1502095 - Set the right target when building aarch64-windows with clang-cl r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D9804

--HG--
extra : moz-landing-system : lando
2018-10-25 16:52:44 +00:00
Chris Manchester 56dc293f15 Bug 1499196 - Introduce a mozilla-central-workspace-hack crate to unify features seen by rust deps. r=ted,firefox-build-system-reviewers
This is the equivalent of the rustc-workspace-hack used by the rust build to
ensure cargo and RLS see the same set of features for dependencies so that
these dependencies may be reused by invocations of cargo for these two
projects. The trivial crate added specifies the union of the set of
features activated for a particular crate for each time it appears in the
dependency tree so that cargo will understand these dependencies to be
re-usable across cargo implementations. This eliminates re-building jsrust
and some of its dependencies twice, and reduces the number of crates compiled
in the tree by about 90 in testing on linux.

Differential Revision: https://phabricator.services.mozilla.com/D9041
2018-10-18 10:39:05 +00:00
Chris Manchester 9c0704f0de Bug 1499196 - Always use the topobjdir to output rust library dependencies. r=ted,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D9039
2018-10-18 10:40:32 +00:00
Mike Hommey 3d7847dc20 Bug 1501885 - Switch hfsplus toolchain to clang 7. r=ted
And remove the clang-6 toolchain, which is now unused.

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

--HG--
extra : moz-landing-system : lando
2018-10-25 10:35:59 +00:00
Csoregi Natalia 9fbc76ace6 Merge inbound to mozilla-central. a=merge 2018-10-25 07:45:08 +03:00
Mike Hommey 0cf2b93ff2 Bug 1499915 - Support undoing elfhack when the elfhacked sections are in separate segments r=froydnj
This is some sort of followup to bug 1423813, providing a minimalistic
way to undo elfhack when the elfhack sections are in separate segments,
which has been the case since bug 1385783 but didn't cause problems
on Android builds until bug 1423822.

Depends on D9622

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

--HG--
extra : moz-landing-system : lando
2018-10-24 13:42:38 +00:00
Mike Hommey 66921ba849 Bug 1499915 - Remove support for the elfhack filler segment r=froydnj
This effectively backs out bug 822584, which worked around a similar
problem to what we are facing with Android xpcshell, being that the
crash reporter doesn't handle the address space "fragmentation" induced
by elfhack. The work around worked, at the expense of some added
complexity.

It was used for B2G only, and has effectively been unused since B2G was
retired.

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

--HG--
extra : moz-landing-system : lando
2018-10-24 13:42:31 +00:00
Jeff Gilbert f2e0b47bd4 Bug 1499844 - Fix win64 clang-cl -Wformat warnings. r=ted
Differential Revision: https://phabricator.services.mozilla.com/D9027

--HG--
extra : moz-landing-system : lando
2018-10-23 14:18:15 +00:00
Kartikaya Gupta 2e8b3b16f3 Bug 1501129 - Use field names instead of their index when mangling. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D9558

--HG--
extra : moz-landing-system : lando
2018-10-23 17:58:11 +00:00
Chris Manchester 4b9fc11dc1 Bug 1499196 - Introduce a mozilla-central-workspace-hack crate to unify features seen by rust deps. r=ted,firefox-build-system-reviewers
This is the equivalent of the rustc-workspace-hack used by the rust build to
ensure cargo and RLS see the same set of features for dependencies so that
these dependencies may be reused by invocations of cargo for these two
projects. The trivial crate added specifies the union of the set of
features activated for a particular crate for each time it appears in the
dependency tree so that cargo will understand these dependencies to be
re-usable across cargo implementations. This eliminates re-building jsrust
and some of its dependencies twice, and reduces the number of crates compiled
in the tree by about 90 in testing on linux.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 10:39:05 +00:00
Chris Manchester 8c172cbba2 Bug 1499196 - Always use the topobjdir to output rust library dependencies. r=ted,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D9039

--HG--
extra : moz-landing-system : lando
2018-10-18 10:40:32 +00:00
Tom Ritter 834782e506 Bug 1495539 Set up MinGW-clang to track clang trunk r=ted
--HG--
rename : build/build-clang/clang-7-mingw.json => build/build-clang/clang-trunk-mingw.json
rename : taskcluster/scripts/misc/build-clang-7-mingw.sh => taskcluster/scripts/misc/build-clang-trunk-mingw.sh
2018-10-18 09:09:53 -05:00
Mike Hommey cd94fafb03 Bug 1492663 - Upgrade most CI builds to clang 7 r=froydnj
The cctools-port linker links against libraries from clang (for LTO),
which have different SONAMEs depending on the clang version. Which means
the linker needs to be used along the same version of clang it was built
against. Thus we also make it depend on linux64-clang-7.

But changing the dependency is not enough, cf. bug 1471905, so also
touch its build script, which it turns out, we need to do anyways
because llvm-dsymutil was renamed to dsymutil.

Relatedly, all toolchains that are built using cctools-port need to use
linux64-clang-7 too.

Building compiler-rt 7 with the OSX 10.11 SDK fails because of some
newer APIs being used in compiler-rt for xray, but this is not a feature
we use, so disable that.

Differential Revision: https://phabricator.services.mozilla.com/D6766
2018-10-25 07:38:35 +09:00
Margareta Eliza Balazs c56977420d Merge inbound to mozilla-central. a=merge 2018-10-18 13:20:43 +03:00
Mike Hommey 6aa7e20faf Bug 1486554 - Enable static analysis on normal Windows CI builds r=ted
And turn off separate static analysis build tasks.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 22:45:06 +00:00
Nick Alexander d56eb2a314 Bug 1489443 - Set GCC_USE_GNU_LD based on linker kind. r=froydnj
The desired outcome of this change is that we'll set
-Wl,--version-script based on linker kind and not on the output of
$LINKER -v.

This is a cheap way to address a simple problem that has a complicated
ideal solution. The underlying issue is that in some situations, when
targeting Android, a macOS system ld is interrogated to determine if
a cross-compiling linker "is GNU ld" and a particular linker feature
is set in that situation. The macOS system ld doesn't pass the "is
GNU ld" test, and the linker feature isn't set; that causes link
failures, even though the actual linker has nothing to do with the
system ld.

The ideal solution is to test for linker capabilities dynamically. We
do a lot of that in old-configure.in, and we don't do any of that in
toolchain.configure. Rather than start testing in
toolchain.configure, we hard-code: a cheap solution to the immediate
problem.

MinGW suffers somewhat from the opposite problem: the linker "is GNU
ld" (compatible), but the linker checks don't happen at all. We hard-code
for MinGW based on the C compiler instead.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 19:46:03 +00:00
Tom Prince 74845297db Bug 1497575: [staging-release] Vendor mozilla-version; r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D8624

--HG--
extra : moz-landing-system : lando
2018-10-16 21:14:56 +00:00
Chris Peterson 2c5197071f Bug 1498958 - Enable clang warnings: -Wtautological-unsigned-zero-compare, -Wtautological-unsigned-enum-zero-compare. r=glandium
-Wtautological-unsigned-zero-compare: result of comparison of unsigned expression is always true/false

https://clang.llvm.org/docs/DiagnosticsReference.html#wtautological-unsigned-zero-compare

-Wtautological-unsigned-enum-zero-compare: result of comparison of unsigned enum expression is always true/false

https://clang.llvm.org/docs/DiagnosticsReference.html#wtautological-unsigned-enum-zero-compare

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

--HG--
extra : moz-landing-system : lando
2018-10-16 05:49:15 +00:00
Dorel Luca 2b0bec5ab3 Merge mozilla-central to mozilla-inbound. CLOSED TREE
--HG--
extra : amend_source : d757a37614ac9d59e154d34ede3ca871a643cdb7
2018-10-18 02:02:07 +03:00
Tom Ritter 15dd23bc5d Bug 1475562 Produce pdbs for the mingw-clang build job r=ted
This patch also changes how pdbs for the ASAN job are copied:
we relax restrictions so that pdbs if present) are always copied out
and add an environment variable MOZ_COPY_PDBS to indicate when we
want to produce pdbs for copying.
2018-10-17 09:38:52 -05:00
Benjamin Bouvier db0cd81fb4 Bug 1495669: Share bindgen flags globally; r=emilio, r=froydnj
--HG--
extra : rebase_source : 83bfa2a61e523048d0e618ed5920c4aa143a2582
extra : histedit_source : cfc8de67959c5a2dffc5fea3ee5be172bfc370e1%2C53a6b4c0de444b4a7ee04cdd015568069bca893a
2018-10-09 15:01:52 +02:00
Cosmin Sabou 9b6a537ec7 Backed out changeset 91300d29898b (bug 1489443) for MinGW build bustages. CLOSED TREE 2018-10-13 02:17:15 +03:00