Bug 1336155 - Update linux32 rust builders to use -fPIC. draft
authorRalph Giles <giles@mozilla.com>
Tue, 07 Feb 2017 17:31:25 -0800
changeset 480971 da174889c7a3b2f56bb75f7493931723fa7d93b4
parent 480970 71b1c41b082d70414161b9d4a554c13d5ce0d4a4
child 545074 c7dee6e4173a1d3ccfa0baf5acf90e216daca224
push id44677
push userbmo:giles@thaumas.net
push dateThu, 09 Feb 2017 01:49:20 +0000
bugs1336155, 39523
milestone54.0a1
Bug 1336155 - Update linux32 rust builders to use -fPIC. Use a custom build of rust 1.15.1 with an additional bump of the gcc crate to 0.3.43 to pass -fPIC to the C compiler on i686-linux. While 1.15.1 was tagged today, there's some question as to whether it would be released from the tag or if the tag would be moved to incorporate this fix. This works around the issue with text segment relocations with the 1.15.0 stable release. For more information see the upstream issue at https://github.com/rust-lang/rust/pull/39523 MozReview-Commit-ID: 83IxtJeJxlh
browser/config/tooltool-manifests/linux32/releng.manifest
--- a/browser/config/tooltool-manifests/linux32/releng.manifest
+++ b/browser/config/tooltool-manifests/linux32/releng.manifest
@@ -11,19 +11,19 @@
 "size": 11189216,
 "digest": "18bc52b0599b1308b667e282abb45f47597bfc98a5140cfcab8da71dacf89dd76d0dee22a04ce26fe7ad1f04e2d6596991f9e5b01fd2aaaab5542965f596b0e6",
 "algorithm": "sha512",
 "filename": "gtk3.tar.xz",
 "setup": "setup.sh",
 "unpack": true
 },
 {
-"version": "rustc 1.15.0 (10893a9a3 2017-01-19) repack",
-"size": 110076708,
-"digest": "2c865f12279b103e8861071e05480cd8aeb9c4e4cd63eea1b8ca50fb92880583bebd27a3af6a86b3f12b9ee89e70839140f061ab829fcceca5e85dc8bc428ec3",
+"version": "rustc 1.15.1-dev (38014d1b6 2017-02-08) gecko build with -fPIC",
+"size": 75614428,
+"digest": "1bfd06db51c4aeaf43e43d8080069bba4b3d590a4863366ceb9c9a9915fbc528111fa067a13fc701ee00cbeda21a9f5de23d20d2479eab35fa2d7f729c660159",
 "algorithm": "sha512",
 "filename": "rustc.tar.xz",
 "unpack": true
 },
 {
 "version": "sccache rev b21198a7183a2fe226ff49348b1c0b51bae9f4f8",
 "algorithm": "sha512",
 "visibility": "public",