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

164 Коммитов

Автор SHA1 Сообщение Дата
Nathan Froyd b9dd866253 Bug 1289847 - part 1 - use a newer ld for Mac builds; r=mshal
The ld that we use for Mac builds is old (Xcode circa OS X 10.7), and
also crashes in various ways when we try to use newer Rust versions
and/or pass options to make the linker work with newer Rust versions.
To mitigate this, let's build with a newer linker, compiled from:

https://github.com/tpoechtrager/cctools-port

We use this port, rather than the packages from opensource.apple.com,
because the packages from Apple have decidely non-intuitive build
systems, and require some hacking to get to build.  This port, in
contrast, is simply built with:

CFLAGS='-mcpu=generic -mtune=generic' ./configure --target=x86_64-apple-darwin11
env MACOSX_DEPLOYMENT_TARGET=10.7 make

and the resulting x86_64-apple-darwin11-ld is renamed as 'ld' and
packaged up for automation's purposes.

However, since this linker is newer, it also produces bits of Mach-O
that our older build tools don't understand.  Fortunately, we can pass
appropriate options to the linker to turn off generation of those Mach-O
bits.
2016-08-03 04:24:33 -04:00
Mike Hommey ba7c817059 Bug 1289638 - Update the MSVC tooltool package. r=gps
- Update the tooltool manifests to use the new package.
- Update mozconfig paths to reflect MSVC tooltool package changes.
2016-08-02 13:17:15 +09:00
Wes Kocher fcd23d9afe Backed out 2 changesets (bug 1289847) for OSX static build bustage CLOSED TREE
Backed out changeset 74922f9ce5c6 (bug 1289847)
Backed out changeset f22763859aae (bug 1289847)
2016-08-01 14:56:53 -07:00
Nathan Froyd bac3709dc1 Bug 1289847 - part 1 - use a newer ld for Mac builds; r=mshal
The ld that we use for Mac builds is old (Xcode circa OS X 10.7), and
also crashes in various ways when we try to use newer Rust versions
and/or pass options to make the linker work with newer Rust versions.
To mitigate this, let's build with a newer linker, compiled from:

https://github.com/tpoechtrager/cctools-port

We use this port, rather than the packages from opensource.apple.com,
because the packages from Apple have decidely non-intuitive build
systems, and require some hacking to get to build.  This port, in
contrast, is simply built with:

CFLAGS='-mcpu=generic -mtune=generic' ./configure --target=x86_64-apple-darwin11
env MACOSX_DEPLOYMENT_TARGET=10.7 make

and the resulting x86_64-apple-darwin11-ld is renamed as 'ld' and
packaged up for automation's purposes.

However, since this linker is newer, it also produces bits of Mach-O
that our older build tools don't understand.  Fortunately, we can pass
appropriate options to the linker to turn off generation of those Mach-O
bits.
2016-08-01 22:49:02 -04:00
Carsten "Tomcat" Book 732be475c8 Backed out changeset 07e0af7fc5d9 (bug 1289638) 2016-08-01 09:12:38 +02:00
Mike Hommey 75ca7fed2b Bug 1289638 - Update the MSVC tooltool package. r=gps
- Update the tooltool manifests to use the new package.
- Update mozconfig paths to reflect MSVC tooltool package changes.

--HG--
extra : rebase_source : 2f2da35ec1d1b3fb5ca9210951d9ac3a38a2bd75
2016-07-27 09:38:45 +09:00
Ralph Giles 739f9d9915 Bug 1249511 - Add cargo nightly to tooltool. r=mshal
Repacks of upstream builds cargo 0.13.0-nightly (664125b 2016-07-19)
for each host platform. Unpacks into cargo/bin/cargo.

This version supports `cargo build --frozen` to disallow
network access during the build.

MozReview-Commit-ID: IihpDlqxPx6
2016-07-22 13:23:29 -04:00
Steve Fink 1fca5e3aec Bug 1280637 - Implement tsan (thread sanitizer), asan (address sanitizer), and msan (uninitialized memory) jobs, r=terrence
MozReview-Commit-ID: JuFVqAb9C4s

--HG--
rename : browser/config/tooltool-manifests/linux64/asan.manifest => browser/config/tooltool-manifests/linux64/msan.manifest
extra : rebase_source : 1a5e77992388b0323bb639ee2fd4285a68b94505
2016-07-15 12:33:40 -07:00
Ralph Giles faec6da232 Bug 1286754 - Update tooltool rust for windows builds. r=mshal
Repacks of upstream rust 1.10.0 stable builds with cargo and std for necessary target architectures.

MozReview-Commit-ID: CgPukGLz4Dv

--HG--
extra : rebase_source : e393c1f0aa4e8d14861ed5bb76f1ac73bfcab444
2016-07-13 14:33:38 -07:00
Ralph Giles 9075afbca0 Bug 1285323 - Update Linux tooltool rust to 1.10. r=mshal
Gecko builds of rustc and cargo. x86_64-unknown-linux-gnu host
targeting both x86_64 and i686.

rustc built with --enable-llvm-static-stdcpp --disable-docs
--enable-debuginfo --release-channel=stable from 'stable' branch
rust 1.10.0 (commit cfcb716cf0961a7e3a4eceac828d94805cf8140b)

cargo built from 'master' branch
cargo 0.11.0-119-g9f1ffdd (commit 9f1ffdd69b9fc564431e027a5043b303c7ec3808)

MozReview-Commit-ID: 4hq6dan8pk0
2016-07-12 15:33:30 -07:00
Mike Hommey 815f65343a Bug 1280338 - Use clang 3.8 on TSan builds. r=froydnj 2016-06-16 16:16:53 +09:00
Mike Hommey 2fe5367788 Bug 1280338 - Use tooltool GCC's ld on TSan builds. r=froydnj
Something similar was done in bug 1278718 for ASan builds, because of
indirect dependencies on libstdc++ being picked by the linker and
leading to linkage failure with the older binutils from the CentOS 6
image we use to do desktop builds.
2016-06-16 16:16:51 +09:00
Mike Hommey ad42a406bd Bug 1278718 - Use the same setup for clang and binutils on TC as on buildbot. r=kmoir 2016-06-15 12:22:57 +09:00
Mike Hommey 422162d82a Bug 1278718 - Use clang 3.8 on ASAN builds. r=decoder 2016-06-15 12:22:56 +09:00
Mike Hommey 8b0e723ab3 Bug 1278718 - Build clang 3.8 with static libstdc++. r=froydnj
Use the resulting clang everywhere we are currently using clang 3.8.
2016-06-15 12:22:54 +09:00
Mike Hommey c5caa62fdf Bug 1278456 - Add the tooltool GCC library directory to LD_LIBRARY_PATH on Linux builds. r=mshal
Build slaves on automation are based on Centos 6, which doesn't have a
recent enough version of libstdc++ for our new requirements. But since
we're building with a recent GCC or clang with its own libstdc++, we do
have such a libstdc++ available somewhere, and the compiler picks it
when invoking the linker.

Problems start happening when we execute some of the built programs
during the build, like host tools (e.g. nsinstall), or target programs
(xpcshell, during packaging). In that case, we need the compiler's
libstdc++ to be used. Which required adding the GCC or clang library
directory to LD_LIBRARY_PATH.

Unconveniently enough, the clang 3.5 tooltool package we're using for
ASAN builds until we can update to at least 3.8 (bug 1278718) doesn't
contain libstdc++.so. So for those builds, pull the GCC package from
tooltool as well, and pick libstdc++ from there.
2016-06-12 18:52:15 +09:00
Kim Moir 40accc0d32 Bug 1253299 - TC Linux 64 ASAN debug and opt builds Tier 1 r=mtabara 2016-06-01 09:03:02 -04:00
Steve Fink 75e3654bc5 Bug 1259850 - Update sixgill to ignore exception cleanup and properly qualify some type names
MozReview-Commit-ID: 7WSYmLAVb7M

--HG--
extra : rebase_source : 44c937df8e1fe080577d8a00b924698f033daa39
extra : source : b641d01138ab54ec1f6b29232614b338b02d42f1
2016-05-04 18:36:23 -07:00
Wes Kocher 74c78019e7 Backed out 22 changesets (bug 1259850) for GC crashes in various tests CLOSED TREE
Backed out changeset ef5cdcca45d9 (bug 1259850)
Backed out changeset c95bdd426ced (bug 1259850)
Backed out changeset a73f74f718e7 (bug 1259850)
Backed out changeset 95107c3ad9cf (bug 1259850)
Backed out changeset 788ac18818c9 (bug 1259850)
Backed out changeset 19c13aa9b5ad (bug 1259850)
Backed out changeset 0b9dedcf7163 (bug 1259850)
Backed out changeset b641d01138ab (bug 1259850)
Backed out changeset aa434447a11b (bug 1259850)
Backed out changeset 4c7373c6c29e (bug 1259850)
Backed out changeset 457cb29cad55 (bug 1259850)
Backed out changeset 5762a8fba027 (bug 1259850)
Backed out changeset 129559d4ac62 (bug 1259850)
Backed out changeset d00b9c8a7984 (bug 1259850)
Backed out changeset 266befcb8acd (bug 1259850)
Backed out changeset c6615c7b0083 (bug 1259850)
Backed out changeset 196ac1f813f9 (bug 1259850)
Backed out changeset b6108a65dc38 (bug 1259850)
Backed out changeset 0d58f8529b86 (bug 1259850)
Backed out changeset a8d2730ada95 (bug 1259850)
Backed out changeset e8544b072ee6 (bug 1259850)
Backed out changeset 15de0d1d0b05 (bug 1259850)
2016-05-31 11:15:41 -07:00
Ralph Giles fee4c629b4 Bug 1276747 - Update windows tooltool rust to 1.9.0. r=mshal
Repacked official binaries of the 1.9.0 stable release and std library.

MozReview-Commit-ID: CMXBZZZfMCn
2016-05-31 11:03:15 -07:00
Steve Fink 8e2cd9d734 Bug 1259850 - Update sixgill to ignore exception cleanup and properly qualify some type names
MozReview-Commit-ID: 7WSYmLAVb7M

--HG--
extra : rebase_source : adb56e3297546f013f669582aa452a5e16e758dd
2016-05-04 18:36:23 -07:00
Ralph Giles 1371500cc5 Bug 1276137 - Update linux tooltool rust to 1.9.0. r=mshal
Custom build of rust 1.9.0 stable for gecko with
--enable-llvm-static-stdcpp --disable-docs --release-channel=stable
--enable-debuginfo for x86_64-unknown-linux-gnu targeting
x86_64-unknown-linux-gnu and i686-unknown-linux-gnu.

MozReview-Commit-ID: 1ycJzrPGkeA
2016-05-27 13:31:04 -07:00
Ralph Giles 1e36d8a8f3 Bug 1273625 - rust: Update win32 builders to 1.8.0 stable. r=mshal
We were using 1.9 beta for i586 support. Now that it's no longer
necessary we can revert to the stable release.

This is a repack of the 1.8.0 upstream stable build targetting
only i686-pc-windows-msvc.

MozReview-Commit-ID: 7ieQ9steK5k
2016-05-19 10:45:46 -07:00
Sebastian Hengst 0af588c1d2 Backed out changeset 696c93ee6c29 (bug 1273625) 2016-05-18 20:23:35 +02:00
Ralph Giles a39573b62c Bug 1273625 - rust: Update win32 builders to 1.8.0 stable. r=mshal
We were using 1.9 beta for i586 support. Now that it's no longer
necessary we can revert to the stable release.

This is a repack of the 1.8.0 upstream stable build targetting
only i686-pc-windows-msvc.

MozReview-Commit-ID: 7ieQ9steK5k
2016-05-18 10:59:01 -07:00
Gregory Szorc d66e0376ba Bug 1259782 - Build with Visual Studio 2015 Update 2; r=ted
Should be a drop-in replacement for VS2015u1.

MozReview-Commit-ID: HSmdikYPR0j

--HG--
extra : rebase_source : 30a63dd245cbab99de849004f975b9104272dbfc
2016-04-22 12:51:23 -07:00
Ralph Giles 0bb7192e3e Bug 1265893 - Import tooltool rust 1.8 on linux32. r=mshal
This is the same repack of the upstream 1.8.0 stable build
for x86_64-unknown-linux-gnu hosts plus the i686 and
x86_64 std libraries used for the linux64 builds.

MozReview-Commit-ID: Gfd9YkNVe4K
2016-04-21 08:42:04 -07:00
Ralph Giles f8b3bbd1a4 Bug 1264490 - Update win32 builders for rust 1.9-beta.1. r=mshal
Rust 1.8 added unwind support. but 1.9 is the first release
with i586 target support without SSE2 instructions in the
standard library, which we need for compatibility with older
machines, so we need to stay on 1.9 until it's in stable release.

This is a repack of the upstream 1.9.0-beta.1 compiler build
for i686-pc-windows-msvc hosts and both i686 and i586 targets.

MozReview-Commit-ID: Ed6ND7NE1F1

--HG--
extra : rebase_source : 82587d7c2f1798f1ceb5dab708740e2bdfb62af3
2016-04-14 11:03:34 -07:00
Ralph Giles 42216eaeb0 Bug 1264490 - Update win64 builders for rust 1.8. r=mshal
This is a repack of the upstream 1.8.0 stable compiler build
for x86_64-pc-windows-msvc hosts and the corresponding std
library.

MozReview-Commit-ID: 6vHDTQgeKBW

--HG--
extra : rebase_source : 90f7daf3defdcd0967dae4a8a2827a143e7b2b65
2016-04-14 10:49:26 -07:00
Ralph Giles 527a23df61 Bug 1264490 - Update linux64 builders for rust 1.8. r=mshal
This is a repack of the upstream 1.8.0 stable build
for x86_64-unknown-linux-gnu hosts plus the i686 and
x86_64 std libraries.

MozReview-Commit-ID: F6q9Y51ow8U

--HG--
extra : rebase_source : 50538ed05bf744f6513f57d2847f751dcc8c40e1
2016-04-13 16:31:08 -07:00
Mike Hommey 3cf7cce79c Bug 1262781 - Update to clang 3.8 final. r=froydnj
Ideally, we'd use the tarballs from
http://llvm.org/releases/download.html but I didn't feel like modifying
the script more than I already did to make it work at all (bug 1262735).

The new tarball for Linux was built on
https://tools.taskcluster.net/task-inspector/#LCUn8aEgTBeRJ11a3qTlDQ/0

The new tarball for Mac was built on a loaner, after installing cmake
and ninja, as well as building ld64 127.2 from source because the
installed version would assert while building clang. The latter required
manually adding some missing headers to /usr/include. TSAN was also
disabled because it requires APIs that are not available on the OSX
version on the build slaves (e.g. pthread_introspection_hook_install).
Building clang also required using a mac clang from tooltool, the system
one lacking support for atomics.
2016-04-13 06:54:22 +09:00
Steve Fink a3c9c8db0c Bug 1259843 - Upgrade sixgill to fix destructor handling, r=terrence
MozReview-Commit-ID: I4hv33aVpBs

--HG--
extra : rebase_source : ac707808d41be363c05ef1869b1c75499eb09ff1
2016-04-07 11:33:16 -07:00
Mike Hommey a172eece8b Bug 1261264 - Apply GCC PR64905 to fix miscompilation with -fomit-frame-pointer. r=froydnj
The new GCC tarball was built on
https://tools.taskcluster.net/task-inspector/#ADIOXxgZQ7-9HuqEYZc3mw/0
2016-04-08 06:45:06 +09:00
Ralph Giles 40394ef9d9 Bug 1261503 - Update win32 rustc to support i586-pc-windows-msvc. r=mshal
Update win32 builds to use a Repack of today's (2016 April 1)
rustc nightly for i686-pc-windows-msvc host and
i586-pc-windows-msvc target.

This should properly support machines without sse2 instructions.
2016-04-04 10:09:46 -07:00
Gregory Szorc ba049d3406 Bug 1186060 - Build with Visual Studio 2015 Update 1; r=ted, ehsan a=merge
This commit switches Windows builds from Visual Studio 2013
to Visual Studio 2015 Update 1.

Previously, Visual Studio was installed on the builders as part
of the base system image. Starting with this commit, we obtain
Visual Studio from a pre-generated, self-contained archive
containing the executables, Windows SDK, and other support
files. This means that new Windows toolchains can be installed
without having to modify configuration of machines in automation!

The mozconfigs for Visual Studio 2015 are a bit different from
existing mozconfigs.

Because it appears to be completely redundant and not necessary,
the LIBPATH variable has been dropped.

The order of paths in PATH, LIB, and INCLUDE has changed. The new
order more accurately reflects what would be defined by
vcvarsall.bat.

As part of switching to Visual Studio 2015, the Universal CRT is
now required. So, the 2015 mozconfigs export WIN_UCRT_REDIST_DIR
to define the location to those files.

The switch to Visual Studio 2015 also involves the switch from
the Windows 8.1 SDK to the Windows 10 SDK. However, we still
target an old version of Windows, so this hopefully shouldn't
have any significant fallout.

It's worth noting that switching to Visual Studio 2015 makes
builds - especially PGO builds - significantly faster. Our
PGO build times in automation are ~1 hour faster. Our regular
builds appear to be a few minutes faster.

MozReview-Commit-ID: Pa5GW8V87Q

--HG--
extra : source : 56b27306d3257445f70374aa78fc5bd42ef300ce
extra : intermediate-source : 559a80645f20706e1eaaeed863e90c2d35ff7644
2016-03-24 09:12:19 -07:00
Steve Fink c96e521ece Bug 1250709 - Upgrade browser to gcc 4.9.3, r=glandium
--HG--
rename : b2g/dev/config/tooltool-manifests/linux64/releng.manifest => b2g/dev/config/tooltool-manifests/linux64/hazard.manifest
rename : browser/config/tooltool-manifests/linux64/releng.manifest => browser/config/tooltool-manifests/linux64/hazard.manifest
extra : rebase_source : 3f161c25cc85b801468ee7ba263254caf02eb7ef
extra : source : 66445d3d11dea815db8888552910e7f836749d27
extra : histedit_source : a62583ea6e5e29ab8d9731b1b4bd86240f423e14
2016-02-11 16:06:00 -08:00
Steve Fink 3e00b94858 Backed out changeset 66445d3d11de (bug 1250709)
--HG--
extra : rebase_source : c8fb3f53bcf989e82ef00fb0f9acbcc4f09cc34c
2016-03-14 21:58:26 -07:00
Steve Fink a53536bc24 Bug 1250709 - Upgrade browser to gcc 4.9.3, r=glandium
--HG--
rename : b2g/dev/config/tooltool-manifests/linux64/releng.manifest => b2g/dev/config/tooltool-manifests/linux64/hazard.manifest
rename : browser/config/tooltool-manifests/linux64/releng.manifest => browser/config/tooltool-manifests/linux64/hazard.manifest
extra : rebase_source : 8faa80ed36a21e8e691fefa6f6921531e67e603e
2016-02-11 16:06:00 -08:00
Mike Hommey 3fe18eae3b Bug 1175546 - Update GCC to 4.8.5 and bump minimum GCC version required to build. r=froydnj 2016-03-12 09:03:37 +09:00
Ehsan Akhgari 2e63ae11f7 Bug 1251936 - Part 6: Update clang-cl to LLVM r262971 2016-03-10 17:35:19 -05:00
Ehsan Akhgari f938cbdf75 Bug 1251936 - Part 5: Include the rustc toolchain in the tooltool manifest for Win32 static analysis builds; r=jlund 2016-03-10 17:35:19 -05:00
Mike Hommey 3c61c287f2 Bug 1254451 - Better document toolchain versions in tooltool manifests. r=froydnj
linux32/asan.manifest is removed because the file is not in tooltool
(anymore?).
2016-03-09 09:23:27 +09:00
Ralph Giles 468b35f654 Bug 1252964 - Update linux64 tooltool rust to 1.7.0. r=mshal
Build from source of rust 1.7.0 stable configured with
--enable-llvm-static-stdcpp --disable-docs --release-channel=stable
and --target=x86_64-unknown-linux-gnu,i686-unknown-linux-gnu
using the quay.io/rust/rust-build-gecko docker image.

https://github.com/rillian/rust-build commit e4902d5a072b.
https://tools.taskcluster.net/task-inspector/#ZSNL6FCoT7mWahGGxpWCOQ/0

--HG--
extra : rebase_source : 134c3a5d10c12b7e0b62b617f193b024d0b5e417
2016-03-03 15:46:00 -08:00
Ralph Giles 87a08b7d36 Bug 1252964 - Update win64 tooltool rust to 1.7.0. r=mshal
Repacked official release builds of rustc and the std library.

--HG--
extra : rebase_source : 4624e000cea035c24cbd943619ef61480ac444ee
2016-03-03 15:47:00 -08:00
Ralph Giles 36c9305582 Bug 1252964 - Update win32 tooltool rust to 1.8 beta. r=mshal
Repacked official beta builds of rustc 1.8 and the std library.

We still need the unwind fixes in 1.8, but want to update
now that version is in beta. This doesn't address the sse2
issues with the std library code; see bug 1253202.

--HG--
extra : rebase_source : 8cf31b8946418199aa74499fcdfa40b7ef2b2161
2016-03-03 15:47:00 -08:00
Ralph Giles ecfb5e1541 Bug 1248461 - Enable rust for win32 official builds. r=mshal
This uses a repacked version of the upstream 1.8 nightly
builds. We need 1.8 for WinXP support, but it's safe to
use nightly until this stablises because other platforms
are using stable rust and will catch any nightly-only
feature use.

For these builds I used the channel-rustc-nightly manifest instead
of the older channel-rust-* manifest, to get the separate std packages.

tar xf rustc-nightly-i686-pc-windows-msvc.tar.gz
rustc-nightly-i686-pc-windows-msvc/install.sh --prefix=rustc/

tar xf rust-std-nightly-i686-pc-windows-msvc.tar.gz
rust-std-nightly-i686-pc-windows-msvc/install.sh --prefix=rustc/

tar cjf rustc.tar.bz2 rustc/*

We're already riding the trains on macosx and linux64, enabling
this for all channels this avoids having to whitelist the config.
2016-02-25 11:14:47 -08:00
Wes Kocher 9c2a1383ce Backed out changeset 5453534da785 (bug 1248461) because win32 spidermonkey builds apparently break trying to download rust stuff
--HG--
extra : commitid : 88aZoh3BoHt
2016-02-17 16:49:51 -08:00
Ralph Giles 349574a271 Bug 1248461 - Enable rust for win32 official builds. r=mshal
This uses a repacked version of the upstream 1.8 nightly
builds. We need 1.8 for WinXP support, but it's safe to
use nightly until this stablises because other platforms
are using stable rust and will catch any nightly-only
feature use.

For these builds I used the channel-rustc-nightly manifest instead
of the older channel-rust-* manifest, to get the separate std packages.

tar xf rustc-nightly-i686-pc-windows-msvc.tar.gz
rustc-nightly-i686-pc-windows-msvc/install.sh --prefix=rustc/

tar xf rust-std-nightly-i686-pc-windows-msvc.tar.gz
rust-std-nightly-i686-pc-windows-msvc/install.sh --prefix=rustc/

tar cjf rustc.tar.bz2 rustc/*
2016-02-15 11:41:00 -08:00
Justin Wood 31da749c7c Bug 1242641 - Update gtk3 package in tooltool to specify the fontconfig path in the setup.sh r=glandium 2016-02-05 16:21:19 -05:00
Nick Thomas b4bf649673 Bug 1242641 - GTK+3 still not working for buildbot builds on beta. r=rail
gtk3/setup.sh at unpack time in tooltool

--HG--
extra : commitid : DaHpc9KeO2P
extra : rebase_source : b519795dc6ae1a57ea6ce1e246cba942564c7de5
2016-01-29 22:19:48 +13:00