Commit Graph

790 Commits

Author SHA1 Message Date
Ryan VanderMeulen
21cf41ae2b Bug 1511646 - Upgrade to SQLite 3.26.0. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D14856

--HG--
extra : moz-landing-system : lando
2018-12-19 08:59:18 +00:00
Gijs Kruitbosch
b39448e581 Bug 1514348 - remove MOZ_FEEDS and --enable/--disable-feeds , r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D14974

--HG--
extra : moz-landing-system : lando
2018-12-19 16:55:01 +00:00
Tom Ritter
6b6e5440aa Bug 1512921 - Bump clang to trunk 348970 for Windows builds. r=dmajor
This removes several patches that have been upstreamed.
2018-11-27 14:44:34 -06: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
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
Cosmin Sabou
b30ca1fd33 Merge mozilla-inbound to mozilla-central. a=merge 2018-12-15 04:47:12 +02:00
Mike Hommey
3cdfb81c07 Bug 1514104 - Remove vpx_mem_set_functions support. r=jya
vpx_mem_set_functions support is only enabled when
MOZ_VPX_NO_MEM_REPORTING is not set. It is currently set unconditionally
when building with the in-tree libvpx. When building with system libvpx,
it is set when the vpx_mem_set_functions can't be found in the system
libvpx library.

Upstream removed the vpx_mem_set_functions function in version 1.5, and
we require at least that version, meaning, in practice,
MOZ_VPX_NO_MEM_REPORTING is now always set.

We might as well remove the define and the code that's conditional to
not being defined.

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

--HG--
extra : moz-landing-system : lando
2018-12-14 09:07:18 +00:00
J.C. Jones
82851dd603 Bug 1501587 - Update old-configure.in for NSS 3.41 r=RyanVM
See https://bugzilla.mozilla.org/show_bug.cgi?id=1501587#c14

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

--HG--
extra : moz-landing-system : lando
2018-12-12 15:00:59 +00:00
Coroiu Cristina
a2f107533b Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-11-27 01:03:16 +02:00
John Lin
0ea8bb4a7a Bug 1425277 - p2: remove dynamic apple framework linkers. r=jya No need for own linkers anymore for CoreMedia and VideoToolbox are both available on our minimal supported version (10.9).
Differential Revision: https://phabricator.services.mozilla.com/D7558

--HG--
extra : moz-landing-system : lando
2018-11-26 18:27:32 +00:00
Mike Hommey
b42fb36df3 Bug 1508547 - Disable the machine outliner on Android. r=dmajor
It's enabled by default as of clang 7 with -Oz on aarch64 (that is,
afaict, the only platform where it's enabled), and regresses our
performance on speedometer.

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

--HG--
extra : moz-landing-system : lando
2018-11-21 01:13:07 +00:00
Mike Hommey
c8cb111f94 Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander
Depends on D11983

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

--HG--
extra : source : 1cf7694c8aa247c169c93d279bd16201103b75a8
2018-11-16 01:15:35 +00:00
Mike Hommey
4a542b98af Bug 1502457 - Move FIREFOX_VERSION to python configure. r=nalexander
Depends on D11982

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

--HG--
extra : source : a73cfbabdd47368eee9682c24de75cbaf1564dde
2018-11-16 01:14:46 +00:00
shindli
4756350be2 Backed out 6 changesets (bug 1502457) for causing Mn mozprocess automation failures in '/Users/cltbld/tasks/task_1542517470/build/venv/bin/python
Backed out changeset 9174dadf38b0 (bug 1502457)
Backed out changeset 2bc4c0bfa299 (bug 1502457)
Backed out changeset 1442604ea266 (bug 1502457)
Backed out changeset 1cf7694c8aa2 (bug 1502457)
Backed out changeset a73cfbabdd47 (bug 1502457)
Backed out changeset 2c2b09264a82 (bug 1502457)
2018-11-18 10:24:11 +02:00
Mike Hommey
9cc79e2096 Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander
Depends on D11983

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

--HG--
extra : moz-landing-system : lando
2018-11-16 01:15:35 +00:00
Mike Hommey
3bc70df446 Bug 1502457 - Move FIREFOX_VERSION to python configure. r=nalexander
Depends on D11982

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

--HG--
extra : moz-landing-system : lando
2018-11-16 01:14:46 +00:00
Narcis Beleuzu
df50f67e20 Backed out 6 changesets (bug 1502457) for build bustages. CLOSED TREE
Backed out changeset febdb867785a (bug 1502457)
Backed out changeset 7ea52c602445 (bug 1502457)
Backed out changeset 73bb6a74cad0 (bug 1502457)
Backed out changeset b172bda6e983 (bug 1502457)
Backed out changeset 0e283ddc6c3b (bug 1502457)
Backed out changeset 638fa0251123 (bug 1502457)
2018-11-16 02:13:57 +02:00
Mike Hommey
b1fdc6b2a4 Bug 1502457 - Move MOZ_APP_VERSION{,_DISPLAY} to python configure. r=nalexander
Depends on D11983

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

--HG--
extra : moz-landing-system : lando
2018-11-15 23:22:24 +00:00
Mike Hommey
f4802de169 Bug 1502457 - Move FIREFOX_VERSION to python configure. r=nalexander
Depends on D11982

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

--HG--
extra : moz-landing-system : lando
2018-11-15 23:23:53 +00:00
Jan Beich
beae6255ef Bug 1509757 - Don't rely on GNU regex extension for character classes. r=froydnj
$ echo --with-system-nspr --with-system-nss | gnused -e 's/--with-system-nspr\S* *//'
--with-system-nss
$ echo --with-system-nspr --with-system-nss | bsdsed -e 's/--with-system-nspr\S* *//'
sed: 1: "s/--with-system-nspr\S* ...": RE error: trailing backslash (\)
2018-11-25 16:53:00 +02:00
Ryan VanderMeulen
7971e2ffd0 Bug 1495238 - Upgrade to SQLite 3.25.3. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D11028

--HG--
extra : moz-landing-system : lando
2018-11-06 16:59:19 +00:00
Matt Brubeck
2d25ef7957 Bug 1500154 - Link with -Bsymbolic-functions whenever possible. r=glandium
This speeds up calls within libxul by avoiding PLT jumps.

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

--HG--
extra : moz-landing-system : lando
2018-10-26 12:10:44 +00:00
Jonathan Watt
4fa7304682 Bug 1500637. Remove MOZ_WIDGET_TOOLKIT==gtk2 code. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D9326

--HG--
extra : rebase_source : ee11c8f01af639cf4e3a302593239fd1a6866aa3
extra : amend_source : e8f755f1b8ae33b04e582f9be8751ca85c4b139d
2018-10-18 01:16:39 +01:00
Bob Owen
6c01f6d0bd Bug 1481518 part 2: Enable aarch64 Windows chromium sandbox code. r=froydnj 2018-12-14 13:07:35 +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
Cosmin Sabou
9b6a537ec7 Backed out changeset 91300d29898b (bug 1489443) for MinGW build bustages. CLOSED TREE 2018-10-13 02:17:15 +03:00
Nick Alexander
3c83541616 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.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 22:38:44 +00:00
Nathan Froyd
e02e0b391b Bug 1397263 - move --enable-accessibility to moz.configure; r=mshal 2018-10-03 20:29:29 -04:00
Ted Mielczarek
5beac189a8 Bug 1397263 - move GNU_AS checks to toolchain.configure; r=glandium
The GNU_AS check in old-configure depended on running with the value
of $AS before it gets reset to just be the C compiler, which breaks when
we move setting AS into moz.configure.

This patch moves the GNU_AS check to toolchain.configure and changes it
so that it works when the assembler is the C compiler.  We do have to
fix things slightly for clang, because the previous check was
succeeding, but not because of clang: it was detecting the presence of
"GNU" in the output for GNU ld/gold and a message about the GNU GPL.
2018-10-03 20:29:29 -04:00
Ted Mielczarek
f05bb2799a Bug 1397263 - move MIDL_FLAGS to toolkit/moz.configure; r=glandium
This is a straightforward port of MIDL_FLAGS from old-configure to
moz.configure. The only behavioral change is that it removes support for
prepending MIDL_FLAGS from the environment in configure, but I doubt anyone
uses that.
2018-10-03 20:29:29 -04:00
Nathan Froyd
9a1e9149b8 Bug 1397263 - move AS checks to toolchain.configure; r=glandium
This is a fairly straightforward port of the AS tool checks from old-configure
to toolchain.configure. AS is a little quirky in that we currently do a
normal-looking check for it, but then override that value to be the C compiler
for non-Windows builds, and ml[64]/armasm64 for Windows builds.

After migrating those checks, the only things left in the MOZ_DEFAULT_COMPILER
macro in compiler-opts.m4 were some unused bits, so I removed them:
* Setting of CPP/CXXCPP, which are set in toolchain.configure now
* Setting HOST_LDFLAGS to empty, which doesn't seem particularly useful.

There was also a quirky old test that the assembler was ml[64] when js-ctypes
is enabled that I removed, I don't think it provides any value since this
patch will ensure that we're using the right assembler for Windows builds.
2018-10-03 20:29:29 -04:00
Ted Mielczarek
a6f6c8cfb4 Bug 1397263 - move MIDL checks to moz.configure; r=glandium 2018-10-03 20:29:29 -04:00
David Major
29376a9f55 Bug 1495874 - Don't set win32 subsystem:6.01 on aarch64. r=froydnj 2018-10-03 14:39:21 -04:00
Nathan Froyd
1a7885de09 Bug 1494958 - remove linuxgl/accessibility check in old-configure.in; r=ted.mielczarek
linuxgl is not a widget toolkit we support nowadays.
2018-10-02 15:41:06 -04:00
Franziskus Kiefer
a52a8495f9 Bug 1479787 - use NSS mozpkix in Firefox, r=mt,keeler,glandium
Differential Revision: https://phabricator.services.mozilla.com/D2725
Differential Revision: https://phabricator.services.mozilla.com/D2860

--HG--
extra : rebase_source : 189c13c2a3104c106fcabad5998af6cb2e20d4a5
2018-10-02 14:59:34 +02:00
Jan Beich
6e97175276 Bug 1495221 - Bump minimum required NSS version to 3.40. r=froydnj 2018-09-29 10:02:00 +03:00
Nathan Froyd
d8685e6b76 Bug 1491419 - move --enable-reflow-perf to moz.configure; r=nalexander 2018-10-01 14:51:27 -04:00
Nathan Froyd
b0effdaae3 Bug 1491419 - move --enable-tasktracer to moz.configure; r=nalexander 2018-10-01 14:51:27 -04:00
Nathan Froyd
cf4c48d851 Bug 1491419 - move --enable-hardware-aec-ns to moz.configure; r=nalexander 2018-10-01 14:51:27 -04:00
Nathan Froyd
2048436656 Bug 1491419 - move --enable-raw to moz.configure; r=nalexander 2018-10-01 14:51:27 -04:00
Nathan Froyd
b318e37e44 Bug 1491419 - move MOZ_{SCTP,SRTP} to moz.configure; r=nalexander
These settings are just dependent on WebRTC being enabled.
2018-10-01 14:51:27 -04:00
Nathan Froyd
4ab0b4cf0b Bug 1491419 - move --enable-verify-mar to moz.configure; r=nalexander 2018-10-01 14:51:28 -04:00
Nathan Froyd
dc14f73882 Bug 1491419 - move --enable-bundled-fonts to moz.configure; r=nalexander 2018-10-01 14:51:28 -04:00
Nathan Froyd
a259110dc9 Bug 1491419 - move --enable-maintenance-service to moz.configure; r=nalexander 2018-10-01 14:51:28 -04:00
Benjamin Bouvier
2ab4b1419f Bug 1490948: Add support for extra bindgen flags when compiling Cranelift; r=froydnj
Some build flags are being passed by the build system: they're passed in a text
file called extra-bindgen-flags.in that's filled at configure time.

Other flags have to be inferred from the current target/host combination, in
Cranelift's build script directly. This is mostly cargo-culted from the
ServoBindings.toml file, and should probably be merged in the build system at
some point.

Some Windows-specific adjustments were needed to provide access to libclang for
bindgen support, by adding clang-cl to the plain Spidermonkey Windows builds.

--HG--
extra : rebase_source : 0bda40b1d1eb38c2657593f094c951013711d00a
extra : histedit_source : aad930a5f9099e299d385ae4de2deb81aed9b6d5
2018-09-25 15:31:22 +02:00
Thomas P.
fde56b2dde Bug 1483780: enable sanitizer-less libfuzzer builds r=froydnj 2018-09-20 21:21:38 +00:00
Andreea Pavel
a6ba34f2ad Backed out 2 changesets (bug 1483780) for build bustages on a CLOSED TREE
Backed out changeset 2b0a42c589c5 (bug 1483780)
Backed out changeset 48d133cbafd3 (bug 1483780)
2018-09-21 05:43:03 +03:00
Thomas P.
dae33d978b Bug 1483780: enable sanitizer-less libfuzzer builds r=froydnj superreview=decoder
--HG--
extra : histedit_source : 6fd1a37c3fb5d8997be11f7846b2976fc7b8a647
2018-09-11 03:49:37 +00:00
Narcis Beleuzu
61b03524fb Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-19 19:45:46 +03:00
Ryan VanderMeulen
c5bf22cd9a Bug 1491671 - Upgrade to SQLite 3.25.1. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D6207

--HG--
extra : moz-landing-system : lando
2018-09-19 13:28:02 +00:00