Commit Graph

423 Commits

Author SHA1 Message Date
Steve Fink
bbcfeea217 Bug 1480879 - Format errors better for taskcluster, r=jonco
--HG--
extra : rebase_source : 485bef959d5b8d2c4e3fb1d15d74e499a8d9abc6
2018-08-02 10:20:15 -07:00
Steve Fink
1257659212 Bug 1479672 - Remove need to set GECKO_DIR when running build-haz-linux.sh, and fix shell lint warnings, r=jonco
--HG--
extra : rebase_source : 6febe5d20e6ee20e58e987616d20c623c64b6e3c
2018-08-02 09:57:58 -07:00
David Major
d6200d9646 Bug 1427808 - Remove the now-unused win64-clang-cl-st-an toolchain. r=froydnj 2018-10-12 07:15:00 -04:00
Tooru Fujisawa
c5cbf8d38f Bug 1494287 - Check existing cbindgen version and update if necessary. r=ted 2018-10-12 07:59:22 +09:00
Mike Hommey
a2461e26da Bug 1414287 - Remove now unused win32-clang-cl-st-an toolchain r=dmajor
Depends on D7845

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

--HG--
extra : moz-landing-system : lando
2018-10-09 08:40:16 +00:00
Tom Ritter
8da41ef823 Bug 1475998 Add a x86 MinGW Clang Build Job r=froydnj
This commit also removes dwarf-exceptions from the x64 build.
sjlj exceptions are needed on x86 because there is a bug currently involving
SEH exceptions on x86.  However on x64 there is not, so we can use the
default SEH and get rid of dwarf exceptions. Additionally, to use SEH
exceptions, we need to -fuse-cxa-atexit

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

--HG--
extra : moz-landing-system : lando
2018-10-09 19:38:56 +00:00
Emilio Cobos Álvarez
9f4495526d Bug 1496486 - Bump cbindgen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D7756
2018-10-09 19:07:46 +02:00
Narcis Beleuzu
e7a8994c37 Backed out 5 changesets (bug 1496486) for valgrind bustages. CLOSED TREE
Backed out changeset d2f1e35ee4b7 (bug 1496486)
Backed out changeset 7f843f4ee162 (bug 1496486)
Backed out changeset 2f629a60f12c (bug 1496486)
Backed out changeset 4dd15fa31474 (bug 1496486)
Backed out changeset e8d8e2f3f00b (bug 1496486)
2018-10-09 19:44:51 +03:00
Narcis Beleuzu
39e04b8a5f Backed out changeset df47d3ad9cc6 (bug 1475998) for Windows MinGW bustages. 2018-10-09 19:26:51 +03:00
Tom Ritter
d910c71322 Bug 1475998 Add a x86 MinGW Clang Build Job r=froydnj
This commit also removes dwarf-exceptions from the x64 build.
sjlj exceptions are needed on x86 because there is a bug currently involving
SEH exceptions on x86.  However on x64 there is not, so we can use the
default SEH and get rid of dwarf exceptions. Additionally, to use SEH
exceptions, we need to -fuse-cxa-atexit

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

--HG--
extra : moz-landing-system : lando
2018-10-09 14:10:56 +00:00
Emilio Cobos Álvarez
3168cd9c74 Bug 1496486 - Bump cbindgen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D7756
2018-10-09 17:33:28 +02:00
Brindusan Cristian
3b4ca07db8 Backed out 5 changesets (bug 1496486) for build bustages on gfxUserFontSet.h. CLOSED TREE
Backed out changeset 6b740afea403 (bug 1496486)
Backed out changeset 5cf44e254ac3 (bug 1496486)
Backed out changeset 8e465202c355 (bug 1496486)
Backed out changeset 86382b2249f6 (bug 1496486)
Backed out changeset ab92ed3e0a23 (bug 1496486)
2018-10-09 16:58:38 +03:00
Emilio Cobos Álvarez
791ac47786 Bug 1496486 - Bump cbindgen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D7756
2018-10-09 15:33:06 +02:00
Noemi Erli
8e3fe95bfb Backed out 3 changesets (bug 1414287) for causing bug 1497029 a=backout
Backed out changeset b8da3d4e6da0 (bug 1414287)
Backed out changeset 273e84414434 (bug 1414287)
Backed out changeset 76fafdaa9216 (bug 1414287)
2018-10-09 05:07:54 +03:00
Mike Hommey
e5436a997c Bug 1414287 - Remove now unused win32-clang-cl-st-an toolchain r=dmajor
Depends on D7845

Differential Revision: https://phabricator.services.mozilla.com/D7846
2018-10-06 19:57:12 +09:00
Ciure Andrei
a48af06d13 Backed out 3 changesets (bug 1414287) for build bustages module machine type 'x64' conflicts with target machine type 'x86 CLOSED TREE
Backed out changeset 5cc491e4d9cb (bug 1414287)
Backed out changeset 98bb6d9eb63c (bug 1414287)
Backed out changeset 73dcff37f846 (bug 1414287)
2018-10-06 03:02:41 +03:00
Mike Hommey
2e131e0f55 Bug 1414287 - Remove now unused win32-clang-cl-st-an toolchain r=dmajor
Depends on D7845

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

--HG--
extra : moz-landing-system : lando
2018-10-05 22:56:11 +00:00
Marco Castelluccio
71675a5af2 Bug 1493812 - Build grcov in a toolchain task on Windows too. r=ahal
--HG--
extra : rebase_source : eb22d683e54bb9cbca43a3c25206745d6da86022
2018-09-27 10:58:18 +01:00
Coroiu Cristina
44102e9f3d Backed out changeset 7652cf6fa0e4 (bug 1492663) for static analysis bustage
--HG--
rename : build/build-clang/clang-7-macosx64.json => build/build-clang/clang-6-macosx64.json
rename : taskcluster/scripts/misc/build-clang-7-linux-macosx-cross.sh => taskcluster/scripts/misc/build-clang-6-linux-macosx-cross.sh
2018-09-30 10:09:19 +03:00
Mike Hommey
cb75aa87e4 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

--HG--
rename : build/build-clang/clang-6-macosx64.json => build/build-clang/clang-7-macosx64.json
rename : taskcluster/scripts/misc/build-clang-6-linux-macosx-cross.sh => taskcluster/scripts/misc/build-clang-7-linux-macosx-cross.sh
extra : moz-landing-system : lando
2018-09-27 15:33:42 +00:00
Mike Shal
a4782418de Bug 1494833 - Bump tup version to v0.7.8; r=chmanchester
This incorporates some fixes for ccache, icecream, and a better display
output (decreasing count instead of an increasing count). It may also
let us experiment with incremental rust support, though I think that
feature still needs some more work.

MozReview-Commit-ID: 7zPGiL9Ob6N

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

--HG--
extra : moz-landing-system : lando
2018-09-28 02:33:53 +00:00
Tom Prince
14cf8b64d6 Bug 1486224: [fetch-content] Retry downloads when fetching content; r=gps
Differential Revision: https://phabricator.services.mozilla.com/D6686

--HG--
extra : moz-landing-system : lando
2018-09-25 16:40:42 +00:00
Marco Castelluccio
047574b0bd Bug 1492159 - Build Linux and Mac grcov in a toolchain task. r=ahal
--HG--
extra : rebase_source : 922e19f9d2a77fd3dec33c84f3c675ed37ece6b7
2018-09-21 10:56:47 +02:00
Brindusan Cristian
e48cea756e Merge inbound to mozilla-central. a=merge
--HG--
rename : toolkit/themes/shared/in-content/check-partial.svg => toolkit/themes/shared/icons/check-partial.svg
rename : browser/themes/shared/icons/check.svg => toolkit/themes/shared/icons/check.svg
2018-09-21 20:29:29 +03:00
Tom Ritter
b4e5b102e0 Bug 1492971 Bump mingw version to get fix for FILE_ID_128 struct r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D6497

--HG--
extra : moz-landing-system : lando
2018-09-21 15:13:20 +00:00
Gurzau Raul
5777753954 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-21 07:15:29 +03:00
Nick Thomas
64b1b8b4a0 Bug 1493056 - fetch-content tries to use https for private urls with the proxy, should use http, r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D6454

--HG--
extra : moz-landing-system : lando
2018-09-21 03:14:27 +00:00
Mike Hommey
42c96ee774 Bug 1492037 - Build clang with LLVM as a shared library. r=froydnj
Doing so changes the size of the compressed toolchain archive from ~280M
to ~120M, and the decompressed size from ~1500M to ~675M. This will
reduce the overhead of decompression during builds.

As we ship llvm-symbolizer as part of ASan builds, we do need it to
still statically link against LLVM, which we do with a small patch.

With LLVM as a shared library, libLTO, which is used by cctools-port for
the linker, is dynamically linked to LLVM, and the cctools-port
configure script fails to link against libLTO. So we add a -rpath-link
to make it find the LLVM library. This happens to force a rebuild of
cctools-port, but for future cases where we might need a rebuild because
of some clang changes, we add a comment to ease the process, and avoid
a newer cctools-port taking the cache spot of an older one.

Ideally, mac cctools-port would need something similar, but it needs a
mac libLTO.dylib, which is not there anyways (and the mac cctools-port
thus already didn't support LTO).

Also, with LLVM built as a shared library, all its symbols are exported
with a LLVM_x.y version. Combined with -static-libstdc++ that is used
during the clang build, this causes problems (see
https://bugzilla.mozilla.org/show_bug.cgi?id=1492037#c7). But it turns
out things have evolved since -static-libstdc++ has been added to the
clang build script, and things work without now, so remove it (as well
as -static-libgcc).

Differential Revision: https://phabricator.services.mozilla.com/D6117
2018-09-21 10:41:36 +09:00
Mike Hommey
b12b62d352 Backout changeset dba2140cb366 (bug 1492037) to give time to toolchains to build without blocking other landings. 2018-09-21 08:18:49 +09:00
Mike Hommey
000f8d6970 Bug 1492037 - Build clang with LLVM as a shared library. r=froydnj
Doing so changes the size of the compressed toolchain archive from ~280M
to ~120M, and the decompressed size from ~1500M to ~675M. This will
reduce the overhead of decompression during builds.

As we ship llvm-symbolizer as part of ASan builds, we do need it to
still statically link against LLVM, which we do with a small patch.

With LLVM as a shared library, libLTO, which is used by cctools-port for
the linker, is dynamically linked to LLVM, and the cctools-port
configure script fails to link against libLTO. So we add a -rpath-link
to make it find the LLVM library. This happens to force a rebuild of
cctools-port, but for future cases where we might need a rebuild because
of some clang changes, we add a comment to ease the process, and avoid
a newer cctools-port taking the cache spot of an older one.

Ideally, mac cctools-port would need something similar, but it needs a
mac libLTO.dylib, which is not there anyways (and the mac cctools-port
thus already didn't support LTO).

Also, with LLVM built as a shared library, all its symbols are exported
with a LLVM_x.y version. Combined with -static-libstdc++ that is used
during the clang build, this causes problems (see
https://bugzilla.mozilla.org/show_bug.cgi?id=1492037#c7). But it turns
out things have evolved since -static-libstdc++ has been added to the
clang build script, and things work without now, so remove it (as well
as -static-libgcc).

Differential Revision: https://phabricator.services.mozilla.com/D6117
2018-09-21 08:18:47 +09:00
Sylvestre Ledru
2ad3aee57b Bug 1491788 - Use clang 7final to build firefox & clang-tidy r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D6018
2018-09-20 10:10:29 +09:00
Tom Ritter
2a646ae19b Bug 1490564 Add a x86 MinGW-clang toolchain job r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D5720

--HG--
extra : moz-landing-system : lando
2018-09-17 15:39:14 +00:00
Jim Chen
21d0088d00 Bug 1480834 - 8. Add x86-64 as rust target; r=nalexander r=froydnj
Add x86-64 as a rust target so we can build Android for x86-64.

Differential Revision: https://phabricator.services.mozilla.com/D5605
2018-09-13 12:09:26 -04:00
arthur.iakab
5015db160d Merge mozilla-central to inbound 2018-09-21 12:53:54 +03:00
Benjamin Bouvier
0082fc1177 Bug 1490948: Set the LLVM_CONFIG environment variable when building the Spidermonkey hazard builds; r=sfink
This is needed so that rust-bindgen can be used in this environment.

--HG--
extra : rebase_source : ec8b0effa56c96dce9b732d6d50cd009ce747f70
2018-09-13 12:03:07 +02:00
Eric Rahm
aaed620ced Bug 1484406 - Update rust-size version. r=glandium
This updates the rust-size build to reference the latest version [1] that
includes a work-around for calculating the .bss of a PE file that has a
writable section with a smaller on-disk size than in-memory size.

[1] ab659d93b1

--HG--
extra : rebase_source : 24b451d244cd0533ca550688ccc05976cae410c7
2018-09-06 16:36:19 -07:00
Mike Hommey
6b4f2f3162 Bug 1487603 - Update llvm-dsymutil to 7rc2. r=dmajor,firefox-build-system-reviewers
Last time it was updated is bug 1436208, and the crashes we patched it
for back then has been fixed upstream a few months later.

For some reason, they renamed the executable from llvm-dsymutil to
dsymutil.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 13:25:27 +00:00
Tom Ritter
d8daa6fd7c Bug 1487443 Bump MinGW Version to correct PEB Struct and ICU-conflicting daylight macro r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D4685

--HG--
extra : moz-landing-system : lando
2018-08-30 16:07:14 +00:00
Tom Ritter
247efb2903 Bug 1480178 Bump mingw version to pick up new API functions and provide libmincorer?froydnj r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D4565

--HG--
extra : moz-landing-system : lando
2018-08-29 16:11:37 +00:00
Tom Prince
83067e2603 Bug 1484012: [fetch-content] Add support for downloading private artifacts; r=gps
Differential Revision: https://phabricator.services.mozilla.com/D3556

--HG--
extra : rebase_source : 8207be2e99ee8fdc75209f62c4a357b5c827edce
2018-08-16 15:13:02 -06:00
Tom Prince
9fd238c7e3 Bug 1484012: [fetch-content] Transparently decompress artifacts; r=gps
generic-worker transparently compresses uncompressed artifacts. Teach
fetch-content to decompress those artifacts.

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

--HG--
extra : rebase_source : 3e1847b545de5443fd4349f75acc605ea5a46701
2018-08-15 15:53:27 -06:00
Tom Prince
6701e41a4c Bug 1484012: [fetch-content] Add an option to not unpack downloaded artifacts; r=gps
Differential Revision: https://phabricator.services.mozilla.com/D3554

--HG--
extra : rebase_source : 58bba31bd921d29d4a40ad8d9ba09c4c7ac1f8dc
2018-08-15 15:16:49 -06:00
Tom Prince
43c8cdcaae Bug 1484012: [fetch-content] Pass MOZ_FETCHES as json; r=gps,ahal
Rather than trying to parse strings, just pass a json blob. This will allow us
to easily do things like mark artifacts to be left unextracted.

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

--HG--
extra : rebase_source : 4e762c65d1c9f13361d5bae2e4608ba09bb39a91
2018-08-17 10:37:21 -06:00
Andrew Halberstadt
321a8788f2 Bug 1484790 - [fetches] Overwrite without prompting when unzipping an artifact with fetch-content, r=gps
This also moves the call to 'fetch_artifacts' in run-task down inside the
try/finally block. This way if something goes wrong, we'll still cleanup
MOZ_FETCHES_DIR.

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

--HG--
extra : moz-landing-system : lando
2018-08-24 16:04:59 +00:00
Mike Hommey
dc8ae8410c Bug 1485503 - Avoid ld64 merging static and non-static data with the same name during ThinLTO. r=dmajor
When different translation units contain the same symbol name, all
static, but one of them non-static, ld64 wrongfully link the references
to the static data with the non-static data, or vice versa. With libaom
and libvpx sharing data structures with the same name but different
contents, that leads to interesting failures/crashes at runtime.

This was apparently fixed in Apple ld64 from Xcode 9, but the last open
sourced version is the one from Xcode 8, so I ended up digging in the
ld64 source code and fixed the issue.

This work was merged to cctools-port upstream in
https://github.com/tpoechtrager/cctools-port/pull/59.

For the same reason as invoked in bug 1478917, though, updating to
cctools-port master is more involved than just changing a commit sha1
(as it requires building apple-libtapi, which in turn builds parts of
LLVM, which should probably be avoided), so just cherry-pick the fix.
2018-08-24 08:39:31 +09:00
Mike Hommey
1894266228 Backout changesets 59c38e3958fe (bug 1485545) and 4017bcbb799d (bug 1485503) to give time to toolchains to build without blocking other landings. 2018-08-24 07:39:04 +09:00
Mike Hommey
660169ff88 Bug 1485503 - Avoid ld64 merging static and non-static data with the same name during ThinLTO. r=dmajor
When different translation units contain the same symbol name, all
static, but one of them non-static, ld64 wrongfully link the references
to the static data with the non-static data, or vice versa. With libaom
and libvpx sharing data structures with the same name but different
contents, that leads to interesting failures/crashes at runtime.

This was apparently fixed in Apple ld64 from Xcode 9, but the last open
sourced version is the one from Xcode 8, so I ended up digging in the
ld64 source code and fixed the issue.

This work was merged to cctools-port upstream in
https://github.com/tpoechtrager/cctools-port/pull/59.

For the same reason as invoked in bug 1478917, though, updating to
cctools-port master is more involved than just changing a commit sha1
(as it requires building apple-libtapi, which in turn builds parts of
LLVM, which should probably be avoided), so just cherry-pick the fix.
2018-08-24 07:34:38 +09:00
Mike Shal
02a25dd9b0 Bug 1480494 - Update tup toolchain to e948a999a38fefa0ac0d92f6357f82aca2f9cb17; r=chmanchester
This includes a fix for the style build script hang where pthreads fork
subprocesses, as well as a fix for ignoring the icecream file lock.

MozReview-Commit-ID: 29eNcbNtwB1

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

--HG--
extra : moz-landing-system : lando
2018-08-23 16:58:29 +00:00
Boris Chiou
d56d102ae0 Bug 1485197 - Bump cbindgen to 0.6.2. r=heycam
In order to support operator==() for tagged enum, we have to bump the version to
0.6.2.

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

--HG--
extra : moz-landing-system : lando
2018-08-21 23:40:51 +00:00
Emilio Cobos Álvarez
bb604b0dee Bug 1484473 - Add a cbindgen version check. r=firefox-build-system-reviewers,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D3718

--HG--
extra : moz-landing-system : lando
2018-08-20 15:20:42 +00:00