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

6054 Коммитов

Автор SHA1 Сообщение Дата
Jan Beich 397f7a4910 Bug 1339161 - Add more rustc targets for cross-compilation. r=rillian
MozReview-Commit-ID: 5C7Bgsx2B2z

--HG--
extra : rebase_source : ee4e14091b772121f391568d21dd56ef68ac95be
2017-02-13 19:08:53 +00:00
Wes Kocher 252dae269a Merge inbound to central, a=merge
MozReview-Commit-ID: Gx7IszkCDZ4
2017-02-13 17:04:20 -08:00
Mike Shal 86c94c9187 Bug 1329355 - Remove MOZ_AUTOMATION_PRETTY*; r=ted
These automation steps are no longer relevant, since the last use of
MOZ_AUTOMATION_PRETTY was removed along with non-unified builds in bug
1121000.

MozReview-Commit-ID: 11VDu8pIs1p

--HG--
extra : rebase_source : a82b52400b73224e06e124dd10d6646d4b21a7fc
2017-01-10 11:07:13 -05:00
Ralph Giles d9052fefa0 Bug 1337153 - Require rust 1.15.1. r=Ehsan
Bump the minimum version of the rust toolchain we require to
build. The 1.15 release includes support for custom #[derive]
directives, letting us use the serde serialization crate without
checking in a lot of generated code.

This is primarily motivated by webrender and the audio remoting
work, and lets us drop the heavy syntex dependency.

MozReview-Commit-ID: 6IObHhouPAn

--HG--
extra : rebase_source : 4be8b148fb653a48f6df4309811ab1d8755f7edf
2017-02-09 09:38:48 -08:00
Mike Hommey 8e89cfc337 Bug 1338016 - Use clang from tooltool to build hfsplus. r=mshal
--HG--
extra : rebase_source : 0c4aaad8bc04fe9ab4160e877cd4e09b3128bf94
2017-02-09 11:37:28 +09:00
Wes Kocher 9576aa1519 Merge m-c to autoland, a=merge
MozReview-Commit-ID: HXFQTGJASw4
2017-02-08 16:21:53 -08:00
Wes Kocher 6ff8201ffe Merge inbound to central, a=merge
MozReview-Commit-ID: 4mN7daXzULJ
2017-02-08 16:08:42 -08:00
Justin Wood 6d726fa81c Bug 1197325 - Remove now unused genisoimage. r=ted
MozReview-Commit-ID: AO3RgE4SdsH

--HG--
extra : rebase_source : 5afb3583c4426d3903b00e879a248a19cb02bd31
2017-02-02 10:10:27 -05:00
Mike Hommey 226427e5a2 Bug 1335667 - Validate all downloaded sources when building GCC. r=froydnj
We can just check the GPG signature for the upstream tarballs that are
GPG signed. We keep a copy of the relevant GPG keys in tree so that
we only use a controlled set of keys.

I validated the GPG keys by:
- Creating a fresh keyring.
- Importing the keys with gpg --receive-key.
- Importing my own GPG public key in that keyring.
- Importing the gpg keys that the PGP pathfinder told me were on the path
  to those keys (which weren't directly in their keyring, so I had to
  manually find some steps first).
- Using `gpg --check-sigs` to validate that the all those keys I got are
  the right ones.

Then the relevant GPG keys were exported with `gpg --export --armor` and
stripped with https://github.com/glandium/pgpstrip/.

For MPC, the first GPG-signed version upstream was 0.8.2, while the GCC
script to download prerequisites downloads 0.8.1. So instead of using
0.8.1, we use 0.8.2, which we can verify.

For GMP, the GCC script downloads 4.3.2. The only web-of-trust path is
through a revoked key, which signs a revoked uid of the GMP key.
Releases newer than 5.1.0 are signed with a new key that can be
validated with the steps above. So instead of using 4.3.2, we use 5.1.3
(last of the 5.1.x line).

But MPFR 2.4.2, which the GCC script downloads, doesn't build against
GMP 5.1.3, so instead of that, we use MPFR 3.1.5.

Sadly, the remaining GCC prerequisites are not signed, so I had to:
- Download the files from ftp.gnu.org.
- Download the corresponding files from snapshot.debian.org.
- Compare the raw files when possible, or the uncompressed (not extracted)
  files (when, thankfully, they matched).
- Validate those snapshot.debian.org files checksums against the
  checksums in the corresponding Sources.bz2/xz files.
- Validate the Sources.bz2/xz checksums against the corresponding InRelease
  files.
- Validate the InRelease files GPG signatures against the Debian
  archives keyring.

With all those things we actually don't get through the GCC script, we
also change how we get those prerequisites, by diverting the commands
the script runs and making it output the urls instead of downloading and
extracting the files.

All downloaded files, GPG-validated or otherwise, have their SHA-256
digest checked against a list in build/unix/build-gcc/checksums.

--HG--
extra : rebase_source : e6809a6ac392e6c5f99801826e1d30bdeee7ddf5
2017-02-01 16:35:29 +09:00
Mike Hommey 4a68fd13bf Bug 1335667 - Use `set -e` instead of manual `exit 1`. r=froydnj
--HG--
extra : rebase_source : 2cdffa62dafab2f9cc588122bdb3240d92a8d188
2017-02-01 16:35:18 +09:00
Justin Wood 9feb80031e Bug 1197325 -- Set volume icon for DMG in Linux->Mac cross compiles. r=ted
MozReview-Commit-ID: C4LFZB6msmL

--HG--
extra : rebase_source : 18d4e2fa3af4a387bf5e08f987d44a0a658ac1d3
2017-01-30 17:32:32 -05:00
Justin Wood 8cf804e40f Bug 1197325 - Generate mkfs.hfsplus. r=ted
MozReview-Commit-ID: Dl0eBQR8XFR

--HG--
extra : rebase_source : bc20b8c35b8d62b2230f52a076c619fc674047e1
2017-01-30 13:12:57 -05:00
Tom Ritter 8d3b0051f6 Bug 1336569 Define SYMBOL_UNDERSCORE for ffi in the mingw build r=glandium
MozReview-Commit-ID: 6BiTcohFDPk

--HG--
extra : rebase_source : d783f2950009d07ea45cdcc693771f4141df6ee9
2017-02-08 09:36:04 -06:00
Sebastian Hengst 0264cdf6be Bug 1336311 - Change code comments with http://hg.mozilla.org to https://. r=gps
For components also referencing it in code, see the blockers of bug 1336311.

MozReview-Commit-ID: 4tUZ24HKBWy

--HG--
extra : rebase_source : ec16149f525b9b7eaca7f96f1369929d21497121
2017-02-07 17:52:56 +01:00
Nathan Froyd 552f6522ad Bug 1298600 - part 2 - check Cargo's version; r=rillian
We need a particular version of Cargo, and we can't assume that because
the user has Rust 1.X, they necessarily have Cargo 0.(X+1).
2017-02-13 10:42:33 -05:00
Nathan Froyd a7c48382ee Bug 1298600 - part 1 - reindent rustc_info; r=rillian
For whatever reason, rustc_info was indented a bit too far.
2017-02-13 10:42:33 -05:00
William Lachance c4443faf53 Bug 809492 - Rename num_constructors test to num_static_constructors r=jmaher
MozReview-Commit-ID: 3bw2MDL8iuI

--HG--
extra : rebase_source : 60eecf418f2599568c573a5ceb8d045f1254c28b
2017-02-06 15:17:07 -05:00
Landry Breuil 54965a1d24 Bug 1336825 - Add i686-unknown-openbsd to known rust targets. r=froydnj 2017-02-05 12:36:00 -05:00
Wes Kocher b488ae9021 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GhBqmLvUpgQ
2017-02-03 17:04:18 -08:00
Ehsan Akhgari 6ca044975f Bug 1336149 - Clean up the patches section in build-clang.py config files; r=froydnj
These config files don't need to declare patches for other platforms.
Therefore, this patch makes "patches" a simple array of patches to be
applied.
2017-02-03 10:21:25 -05:00
Ehsan Akhgari b897b4790e Bug 1331957 - Part 12: Remove -Lclang/lib from the LDFLAGS used to build the clang plugin; r=froydnj
This ensures that we correctly link against /usr/lib/libc++.1.dylib.
With this flag left in LDFLAGS, the linker would find libc++.1.dylib in
clang/lib, which would cause us to link against @rpath/libc++.1.dylib.
2017-02-03 10:19:49 -05:00
Ehsan Akhgari 4b3bdfeff3 Bug 1331957 - Part 11: Specify the path to the cross-compiler toolchain libtool for OS X static analysis builds; r=froydnj 2017-02-03 10:19:44 -05:00
Ehsan Akhgari 9ae48af89b Bug 1331957 - Part 9: Upgrade cctools used for building clang on OS X for ld 264.3.102; r=froydnj 2017-02-03 10:19:33 -05:00
Ehsan Akhgari 6606a301b5 Bug 1331957 - Part 7: Reapply LLVM r285657 to work around bug 1291397 on clang 3.9; r=froydnj 2017-02-03 10:19:23 -05:00
Ehsan Akhgari 39988b4058 Bug 1331957 - Part 6: Reapply LLVM r277806 since our clang-plugin depends on it; r=froydnj 2017-02-03 10:19:17 -05:00
Ehsan Akhgari 792b5995ec Bug 1331957 - Part 5: Add `-target x86_64-apple-darwin10' to the compiler-rt overridden CFLAGS; r=froydnj 2017-02-03 10:19:11 -05:00
Ehsan Akhgari 3faecaeefd Bug 1331957 - Part 4: Allow specifying a custom assembler and pass the right flags to it when cross-compiling; r=froydnj 2017-02-03 10:19:06 -05:00
Ehsan Akhgari 2deb4fad8f Bug 1331957 - Part 3: Delete some unused patches; r=froydnj 2017-02-03 10:19:01 -05:00
Ehsan Akhgari 12021be5bd Bug 1331957 - Part 1: Update the clang OSX build config file for cross-compile builds on the infrastructure; r=froydnj 2017-02-03 10:18:50 -05:00
Jan Beich b5674a1a5d Bug 1336329 - Pass clang value from mozbuild to gyp. r=jesup
MozReview-Commit-ID: Kjp3R1TUelS

--HG--
extra : rebase_source : b9d5ac5ca9e52e2d3c1e891b0fa147d691b49731
2017-02-03 06:01:02 +00:00
Mike Hommey 9de779f50a Bug 1335666 - Remove @depends_when. r=chmanchester
In bug 1296530, we made @depends take a when argument, it can now replace
all uses of @depends_when.

--HG--
extra : rebase_source : d090723fcbf3a56e06bd9c2defc3301cac04d8b0
2017-02-01 16:25:29 +09:00
Ralph Giles 4efb911890 Bug 1284816 - Remove --disable-rust. r=ted
Remove the option to build without rust code. We are not testing
this configuration and expect to land non-optional rust code in
the near future, so it doesn't make sense to maintain this option.

MozReview-Commit-ID: CwTlMXGvr5n

--HG--
extra : rebase_source : 080a9df5b4828c66aa2452ad1c16a503bcd5e689
2017-02-01 15:38:49 -08:00
Kirk Steuber 4d0c6c3e0b Bug 1307604 - Add allow and deny lists for Flash Blocking r=bsmedberg,bz,francois
MozReview-Commit-ID: H2dgJX6Hsz7

--HG--
extra : rebase_source : 7b56241fcaf5f99b64f6ad40a9dc2676692f70d2
2016-11-22 15:01:04 -08:00
Julian Seward 9050f77b55 Bug 1334991 - Further suppressions for Mochitests on Valgrind on Taskcluster, Jan 2017. r=n.nethercote.
--HG--
extra : rebase_source : 9d760ecd457e9539fa5e848f8dc260f00e30fc6c
2017-02-02 10:24:48 +01:00
Mike Hommey dc5d1e6adf Bug 1335309 - Change the default for find_executables to False. r=mshal
Back when the class was written, for the packaging code, it made sense
that the default was True. But now that it's used all over the place,
and that the vast majority of uses are with find_executables=False, it
makes more sense for that to be the default.

--HG--
extra : rebase_source : ff813735fc0d53093f348f20eb77ee03e9b09d4e
2017-01-31 14:06:15 +09:00
Sebastian Hengst 8ed6deb6e5 Bug 1334900 - drop reftest process kill code for Windows 2000. r=jmaher
MozReview-Commit-ID: JRdbFSv0uJp
2017-01-30 21:00:36 +01:00
Benjamin Smedberg ca77995f5d Bug 1333826 - Remove SDK_FILES, SDK_LIBRARY, and related is_sdk support in the build goop, r=mshal
MozReview-Commit-ID: 52vPyDXdFte

--HG--
extra : rebase_source : c3217730bb70eb7319152dd07536b12f49d6a597
2017-01-30 11:24:10 -05:00
Benjamin Smedberg 657dd4420b Bug 1333826 - Remove SDK references from moz-automation.mk, r=mshal
MozReview-Commit-ID: 29FWzE8nVpW

--HG--
extra : rebase_source : 53cd0e10c91ac4850ca37f998e3aae7b35c7e57c
2017-01-25 12:39:25 -05:00
Benjamin Smedberg 270de3f511 Bug 1333826 - Remove all references to MOZ_AUTOMATION_SDK, r=mshal
MozReview-Commit-ID: CuTK1hn0pVl

--HG--
extra : rebase_source : 4581c71360ccd81505079ee9e068ed2ca0431a6a
2017-01-25 12:30:49 -05:00
Wes Kocher 18e735dcef Merge m-c to inbound, a=merge
MozReview-Commit-ID: EfMOcZbAiSe
2017-01-27 16:39:29 -08:00
Mike Shal 1c12a11072 Bug 1331663 - Allow build backend generation to be invoked without config.status; r=gps
In bug 1320194 we want to generate a TestManifest backend without first
invoking configure. However, we still need a way to update the backend,
which is normally handled by the top-level Makefile. We can split this
logic out into a separate file, rebuild-backend.mk, which can be invoked
directly as long as the appropriate environment variables are set
(BUILD_BACKEND_FILES, BACKEND_GENERATION_SCRIPT, and PYTHON).

--HG--
extra : rebase_source : b6a486db3e3c97b406b11074fda052bd63fe1b8f
2017-01-25 19:09:13 -05:00
Joel Maher ff97d2f03e Bug 1334461 - run mochitest-a11y on ubuntu 16.04 instead of 12.04. r=kats
MozReview-Commit-ID: 9nF6NgKrPDP
2017-01-27 12:28:28 -05:00
Mike Hommey 9982192790 Bug 1322025 - Provide variants of host and target that depend on --help. r=chmanchester
We want to avoid giving --help dependencies to host and target, so that
they we don't spawn config.guess and config.sub when running configure
--help, and don't need to reach out to the which module to find a
suitable shell to execute them.

So, when --help is given, we return a fake host/target namespace, and
avoid the config.guess/config.sub-invoking code being executed.

Then, by giving the --help option to the linter, it can properly find
that the config.guess/config.sub-invoking code doesn't need the
dependency on --help.

This effectively unbreaks configure --help after bug 1313306.

--HG--
extra : rebase_source : 9ed4cbe5a81121b139d0d86aff6af542c2dff53b
2017-01-25 17:54:16 +09:00
Mike Hommey c754dd4f3e Bug 1256730 - Fail configure when API key files do not exist or are empty. r=chmanchester,mikedeboer
--HG--
extra : rebase_source : 33b182bf0bffefacc408e9b52dd004c987ffc648
2016-08-09 18:17:35 +09:00
Chris Manchester 26adeacc8a Bug 1312916 - Add support for host rust libraries in moz.build. r=froydnj
MozReview-Commit-ID: It8VH5Obnx5

--HG--
extra : rebase_source : bc4dabb18ff51c45ac8df5a409881d0d4a7279fa
2017-01-19 14:58:10 -08:00
Ehsan Akhgari 159c817948 Bug 1337233 - Part 2: Update cross-compile OS X builds to clang 3.9; r=froydnj 2017-02-08 09:48:28 -05:00
Nathan Froyd 54a6797cde Bug 1331012 - follow-up - delete trailng comma in JSON file; r=me 2017-01-20 13:42:07 -05:00
Nathan Froyd 9f03bf3c53 Bug 1330082 - factor out a checkout_or_update function for build-clang.py; r=ehsan
It's just silly to have the same code repeated multiple times; this is
the sort of thing functions were invented for.
2017-01-20 12:54:56 -05:00
Nathan Froyd bfdd6c88f4 Bug 1331012 - update building clang for linux to version 3.9; r=ehsan
The return-empty-string-non-mangled.patch apparently landed in r249437
upstream, so we don't need to carry around our own version.  The patch
is still nominally used for building clang on Mac, so I have not removed
it from version control.
2017-01-20 12:54:56 -05:00
Randell Jesup 4d6ebaaa07 Bug 1332139: make system changes to fix libvpx include paths (prefer media/libvpx) r=ted 2017-01-20 10:42:32 -05:00