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

731 Коммитов

Автор SHA1 Сообщение Дата
Myk Melez 7978cd2fe4 Bug 1482810 - set COMPILE_FLAGS var to hide warnings for Rust crates r=chmanchester
In conjunction with the cc crate changes in https://github.com/alexcrichton/cc-rs/pull/342 (which I'll land in https://phabricator.services.mozilla.com/D4699), this hides warnings generated by C code in Rust crates (by removing warnings flags from CFLAGS when compiling Rust libraries).

MozReview-Commit-ID: 9CZgLGbWjbA

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

--HG--
extra : moz-landing-system : lando
2018-08-30 17:29:54 +00:00
Mike Hommey 1a6f5a62c7 Bug 1485759 - Pass --build-id=sha1 to the linker instead of --build-id. r=froydnj
BFD ld's --build-id means --build-id=sha1, but with lld it means
--build-id=fast. Both support the explicit --build-id=sha1, so use that.
Gold supports --build-id=sha1 too.
ld64, used for mac builds doesn't support neither --build-id=sha1 nor
--build-id.
2018-08-29 08:02:07 +09:00
Nathan Froyd b40f3ab975 Bug 1481513 - disable ffvpx on aarch64 windows; r=gps
There's no support for it in our local tree.
2018-08-28 13:44:54 -04:00
Mike Hommey 95f25c8a5d Bug 1485610 - Avoid copy relocations in binaries we build. r=froydnj
See bug 1485562 for an example of bad things that can happen with such
relocations, and see also
c90379ddfe/ELF/Relocations.cpp (L496-L537)
2018-08-24 08:57:04 +09:00
Nathan Froyd 13c9216e36 Bug 1485367 - disable libjpeg-turbo support for aarch64 windows; r=dmajor 2018-08-22 12:15:19 -04:00
David Major 3226912d99 Bug 1485072: Remove some unnecessary (on-by-default) LDFLAGS from Windows builds. r=froydnj
-DEBUGTYPE:CV, -NXCOMPAT, and -DYNAMICBASE are on by default in both link.exe and lld-link.

--HG--
extra : rebase_source : 3b50b88bb8ac9257689df2e10146906ef9962b08
2018-08-21 17:16:45 -04:00
Nathan Froyd 7661e89923 Bug 1480558 - part 3 - unset AS_DASH_C_FLAG for aarch64 windows; r=mshal
The assembler for this platform doesn't need the special handling
AS_DASH_C_FLAG provides.
2018-08-21 11:00:35 -04:00
Mike Hommey 7b448e6258 Bug 1484872 - Remove --enable-llvm-hacks. r=froydnj
It calls for cargo-culting its use when using clang, when it's specific
to skipping one linker flags for sanitizers.
2018-08-21 08:40:00 +09:00
Nathan Froyd 2c50d79c91 Bug 1481864 - disable the sandbox on aarch64 windows by default; r=gps
The Chromium sandbox doesn't have the necessary arch-specific support.
2018-08-20 17:22:44 -04:00
Masatoshi Kimura 3d01e517aa Bug 1484184 - Remove now unused _RAISE macro check to deal with MSVC 2017 15.8. r=froydnj
--HG--
extra : source : b38403f36056d301321c128be96ee60d14739859
2018-08-17 01:27:29 +09:00
Narcis Beleuzu 96343e8f1f Backed out 3 changesets (bug 1484184, bug 1484190, bug 1484191) for bustages on test_toolchain_configure.py. CLOSED TREE
Backed out changeset dca5444170e0 (bug 1484190)
Backed out changeset 1ef81d07bc5b (bug 1484184)
Backed out changeset 2a42fd4df1bb (bug 1484191)
2018-08-20 19:49:37 +03:00
Masatoshi Kimura 59a91c2a72 Bug 1484184 - Remove now unused _RAISE macro check to deal with MSVC 2017 15.8. r=froydnj
--HG--
extra : rebase_source : d93dbda28fff9cdbf0f6a908e0c1d59c152665e5
extra : source : b38403f36056d301321c128be96ee60d14739859
2018-08-17 01:27:29 +09:00
Mike Hommey f6560362a9 Bug 1480004 - Normalize optimization level passed to the linker when doing LTO with clang. r=froydnj 2018-08-14 07:25:09 +09:00
Chris Manchester e481e46c6f Bug 1482442 - Do not check for gamepad related headers in an artifact build. r=ted,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D3119

--HG--
extra : moz-landing-system : lando
2018-08-10 19:23:44 +00:00
Masatoshi Kimura 5386e9c84f Bug 1472254 - Backed out changeset 69259eedc1e6 as the final fix has landed. r=dmajor
--HG--
extra : rebase_source : f77217d0946d4c99c421f1cd4611044935131024
2018-08-10 18:42:10 +09:00
Nathan Froyd 49dcc19d92 Bug 1481505 - add aarch64 bits to DEFINES and DSO_LDOPTS; r=dmajor
Not having _ARM64_ in DEFINES makes any number of things go wrong.
2018-08-08 16:37:05 -04:00
Masatoshi Kimura 3b21b7868b Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj
--HG--
extra : rebase_source : c09366fb93e5b0f72abe1e99d3094e3d96a934fb
extra : intermediate-source : 5950c9d63c3b4fd63a25464a7b50944aaec7079f
extra : source : ca1b9a2bcc4381795f556fea2fb59066567c30f3
2018-07-31 22:10:07 +09:00
Nathan Froyd 60ba63041d Bug 1480553 - part 2 - add a case for aarch64* when setting MIDL_FLAGS; r=glandium 2018-08-02 21:40:40 -04:00
Cosmin Sabou de8c2bd891 Backed out changeset 5950c9d63c3b (bug 1090497) for build bustages on several files. CLOSED TREE 2018-08-02 19:59:53 +03:00
Masatoshi Kimura feea19030c Bug 1090497 - Re-enable warnings as errors on clang-cl. r=froydnj
--HG--
extra : rebase_source : a62521fdc66def4e4d5d7bf52e68365a786b5c55
extra : source : ca1b9a2bcc4381795f556fea2fb59066567c30f3
2018-07-31 22:10:07 +09:00
Masatoshi Kimura e77355efc0 Bug 1472254 - Temporarily suppress -Wpragma-pack warning spam globally. r=dmajor
--HG--
extra : rebase_source : 2e4ad7c6fed96ad1327eeca63f434cad1c4fa902
2018-08-02 00:48:55 +09:00
Nathan Froyd 3dc6481a30 Bug 1444141 - part 4 - make the JS engine depend on Rust; r=chmanchester,glandium,jorendorff
The Rust dependency in Firefox has been limited to Firefox builds by
virtue of having the Rust check in a Firefox-specific location,
toolkit/moz.configure.  For JS to start depending on Rust, we need to
move that check to a location where a standalone JS engine build will
pick up the Rust check.
2018-08-02 11:00:21 -05:00
David Major f0f43e919c Bug 1477744 - Re-enable -Werror in clang-cl for Spidermonkey. r=froydnj
--HG--
extra : rebase_source : a2da624418ab3578bfed878628e9ad52beedbbd3
2018-07-26 16:14:27 -04:00
Tudor-Gabriel Vîjială 7034598959 Bug 1476165 - Part 2: Update Android Gradle plugin to version 3.1.0. r=nalexander,snorp
MozReview-Commit-ID: LR1OWncvuwt

--HG--
extra : rebase_source : 6de8f8927e801789d559a7c361c7b434ae1f74c4
2018-07-17 13:20:19 +01:00
Brian Grinstead 40b40ad653 Bug 1478128 - Rename `MOZ_BROWSER_CHROME_URL_QUOTED` to `BROWSER_CHROME_URL_QUOTED`;r=gps
MozReview-Commit-ID: G73z0y5A8Re

--HG--
extra : rebase_source : 074d5085d37d726716b7522e1a049c98ea3e44c7
2018-07-24 15:25:18 -07:00
Brian Grinstead eb11f1de3b Bug 1476333 - Define the browser chrome URL as BROWSER_CHROME_URL so it can be accessed from AppConstants instead of a pref;r=gps
MozReview-Commit-ID: DPxayAW4D1s

--HG--
extra : rebase_source : 4d3f1e71b0abd1f38cd750d52b84269b6af52991
2018-07-24 08:12:48 -07:00
Petru Lingurar 10add268a1 Bug 1473872 - Start targeting API 26; r=nalexander
MozReview-Commit-ID: GqBiQbRy4bu

--HG--
extra : amend_source : 57b2ce873af5aedf99ef337abc669a3bcd624fed
2018-07-06 16:57:36 +03:00
David Major 99f9246f52 Bug 1475650: Use llvm-lib when linking with lld-link. r=froydnj 2018-07-16 10:10:03 -04:00
Jacek Caban 53527f20c4 Bug 1471556 - Support mingw clang in configure scripts. r=glandium
MozReview-Commit-ID: GKLbHvYgXnL

--HG--
extra : rebase_source : 61c7c7b11373a7ef3fd6b653b1baf828c322ee0b
2018-06-26 18:53:42 +02:00
Franziskus Kiefer dc24a072c6 Bug 1470914 - bump minimum NSS version to 3.39, r=me 2018-07-06 16:00:08 +02:00
Mike Hommey da38aeba7d Bug 1457168 - Make configure tests use LINKER_LDFLAGS. r=chmanchester
Because we have no linking configure test in python configure (yet), we
just make old-configure tests use LINKER_LDFLAGS, and make those flags
added to LDFLAGS by old-configure at the same time.

--HG--
extra : rebase_source : 80ab7c5021c7ddd1b53d58ef76cd4372a524d3cb
2018-07-04 16:18:48 +09:00
Nathan Froyd 2a1d44002c Bug 1472805 - silence more clang-cl warnings; r=chmanchester
clang seems to have decided that a new warning,
-Wused-but-marked-unused, is useful.  For the purposes of our codebase,
where we add __attribute__((unused)) explicitly to avoid warnings about
unused things, this new warning is useless.  The new warning is also
quite noisy, given that we have unused things in commonly-used headers
like Assertions.h.  So disable the warning.
2018-07-02 20:36:49 -04:00
jgilbert@mozilla.com 1527dfb596 Bug 1472402 - -MG for clang-cl breaks missing-include error reporting. - r=froydnj
MozReview-Commit-ID: EhtNTZcXBrt

--HG--
extra : rebase_source : 900afc0e4cfd0dde1c0f4f3ec883e879a295567c
2018-06-29 20:18:08 -07:00
Kyle Machulis c126f54cc6 Bug 1324147 - Remove MOZ_GAMEPAD_BACKEND; r=daoshengmu
MOZ_WIDGET_TOOLKIT can be used for platform choice for Gamepad. Need
to leave linux header check in configure for now.

MozReview-Commit-ID: VT7T2KmLts

--HG--
extra : rebase_source : 02e7a23311c65fccffb1375a3adf8980d3d6031c
2018-06-27 12:32:36 -07:00
Kris Maglione 0506a56751 Bug 1468362: Remove ADDON_SINGING buildconfig setting. r=aswan
MozReview-Commit-ID: MeD4VQPVf6

--HG--
extra : rebase_source : c40ed5b7d194290332f0aa77deaf91812de48c42
extra : histedit_source : 34a69d708597fcdbfb9bffccd7dbf28c9d1a42a7
2018-06-12 13:56:58 -04:00
Ryan VanderMeulen 3147d6c01d Bug 1467121 - Upgrade to SQLite 3.24.0. r=mak
--HG--
extra : rebase_source : 49ce4fbcf40630655b96933fe44fb8b10432d8cb
2018-06-06 09:52:32 -04:00
Jonathan Watt 5817084eb6 Bug 1270217 - Change the default MACOS_DEPLOYMENT_TARGET value to 10.9. r=froydnj 2018-05-10 10:41:13 +01:00
Cosmin Sabou 9994e67745 Backed out changeset cbf0895981cd (bug 1270217) for turning bug 1405083 into permafail. a=backout 2018-06-03 13:08:10 +03:00
Jonathan Watt 67537a721b Bug 1270217 - Change the default MACOS_DEPLOYMENT_TARGET value to 10.9. r=froydnj
--HG--
extra : rebase_source : bb180a82c87bb49c688dbcb2f8da6756e6c54224
2018-05-10 10:41:13 +01:00
Julian Seward fef50df448 Bug 1461304 - Windows bustage eg: /js/src/wasm/WasmBinaryToAST.cpp when Gecko 62 merges to Beta on 2018-06-14. r=froydnj.
Some configurations of SpiderMonkey wind up producing C++ switch statements of
the form

   switch (..) {
     default: break;
   }

We hoped that they would simply be optimised out without comment.  But MSVC
warns about the lack of non-default cases, which then are escalated into
errors, causing the build to fail.  This commit simply disables that warning
feature when building with MSVC.

--HG--
extra : rebase_source : 468022d30cdaf483aaa64fc7aa9dd1308fbc7335
2018-05-27 09:39:06 +02:00
Tom Ritter 9d8f5959d1 Bug 1460796 Resolve 'Missing entry point ScriptBreak' by including usp10 for the MinGW build r=froydnj
MozReview-Commit-ID: KirwpvYty5s

--HG--
extra : rebase_source : 9a920e8c4aa621e43c880a41627b034a6c31aec2
2018-05-10 22:04:36 -05:00
Tom Ritter c59f8dd7b8 Bug 1456552 Make Optimized MinGW builds use -O# instead of falling through and collecting a -O r=ted
We use -O2 for js (because we can) and we use -O1 for the root because there is an x86 compiler bug
that is not immediately bypassable

MozReview-Commit-ID: CnDk2ko3jfo

--HG--
extra : rebase_source : bf889ab143bbf9480a261b06000d62cf0e1af8cc
2018-05-16 16:32:47 -05:00
Tom Ritter a56f337b8c Bug 1457162 Remove -TC from CFLAGS r=ted
-TC specifies 'treat all inputs at C files' which breaks things when you
specify a @list file of inputs.

During configure, -TP is required for C++ configure checks (although we
could probably make it smart and not need it at all), but -TC does not seem
to be required.

MozReview-Commit-ID: DNA8vUMdIXb

--HG--
extra : rebase_source : 523c6d815adf55c834fd858b10010123f86b25f6
2018-05-19 01:26:33 -05:00
Mike Hommey 89cd7b7de6 Bug 1462157 - Remove abuse of MOZ_UPDATE_CHANNEL for A11Y_LOG. r=ted
MOZ_UPDATE_CHANNEL is meant to set the channel to use for the updater,
and nothing else. It's not an indicator of which branch we're building
on and it's not an indicator of whether it's a developer build or a CI
build. The latter seems to be what it's used for for A11Y_LOG, so use
DEVELOPER_OPTIONS instead.

--HG--
extra : rebase_source : 48822af1e4af444e00c89859c51c01c57d130248
2018-05-17 07:03:24 +09:00
Tom Ritter c5a26d81ec Bug 1457483 Retrieve nm from environment for check_vanilla_allocations.py r=glandium
MozReview-Commit-ID: HIZpMk4Ierb

--HG--
extra : rebase_source : 670da25b7e516e176f2eae116b58e5e62ccbbde7
2018-04-27 10:25:35 -05:00
Tom Ritter 333013f148 Bug 1443823 Apply no-keep-inline-dllexport to MinGW x64 also r=glandium
MozReview-Commit-ID: 2Nyw738ZHou

--HG--
extra : rebase_source : 4a18e47f8f1cb425864811230fd33c6620760021
2018-03-23 14:35:30 -05:00
Nicolas B. Pierron 857a642337 Bug 1456183 - Add gio-unix as part of the list of GTK dependencies. r=glandium 2018-05-16 14:54:30 +00:00
J.C. Jones e5c3745f29 Bug 1460617 - land NSS 6e4b0141df2f UPGRADE_NSS_RELEASE, r=fkiefer
--HG--
extra : transplant_source : %3D%28%5E94%D6e%DD%F4%22rM%E5%E0%AB%0B%DFmE%F7
2018-05-15 07:07:28 -07:00
Nathan Froyd 493330ae3f Bug 1460379 - remove --with-pthreads option; r=ted.mielczarek
This option does nothing if it's provided, and things will probably
break in some most peculiar manner if somebody uses --without-pthreads.
Given that neither outcome is useful, we should remove the option.
2018-05-09 17:26:31 -04:00
Nathan Froyd c21c323370 Bug 1460373 - move --enable-valgrind to moz.configure; r=ted.mielczarek 2018-05-09 17:26:31 -04:00