Bug 1569728 - build clang toolchains with GCC 7; r=mshal
☠☠ backed out by 8867e44d4979 ☠ ☠
authorNathan Froyd <froydnj@mozilla.com>
Sun, 25 Aug 2019 19:27:47 +0000
changeset 554812 2f873da4b36e4404b7396bf4a1403d316b8ae450
parent 554811 aaae16f5f29d922bec1671617139642a0c0fe1ef
child 554813 3852e7ad563312a2a7df51b921ca28b10391a902
push id2165
push userffxbld-merge
push dateMon, 14 Oct 2019 16:30:58 +0000
treeherdermozilla-release@0eae18af659f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs1569728
milestone70.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1569728 - build clang toolchains with GCC 7; r=mshal We need this change so that the newly-built clang will have C++17-compatible libstdc++ headers installed. I believe this change also means that the newly-built clang (and associated tools) links against GCC 7's libstdc++, but we set RPATH or similar appropriately, so there shouldn't be issues stemming from that. Differential Revision: https://phabricator.services.mozilla.com/D41251
taskcluster/ci/toolchain/clang.yml
--- a/taskcluster/ci/toolchain/clang.yml
+++ b/taskcluster/ci/toolchain/clang.yml
@@ -21,17 +21,17 @@ linux64-clang-4.0:
             - 'build/build-clang/clang-4.0-linux64.json'
         resources:
             - 'build/build-clang/clang-4.0-linux64.json'
         toolchain-artifact: public/build/clang.tar.xz
     fetches:
         fetch:
             - clang-4.0
         toolchain:
-            - linux64-gcc-6
+            - linux64-gcc-7
 
 linux64-clang-7:
     description: "Clang 7 toolchain build"
     treeherder:
         symbol: TL(clang7)
     run:
         using: toolchain-script
         script: build-clang.sh
@@ -39,17 +39,17 @@ linux64-clang-7:
             - 'build/build-clang/clang-7-linux64.json'
         resources:
             - 'build/build-clang/clang-7-linux64.json'
         toolchain-artifact: public/build/clang.tar.xz
     fetches:
         fetch:
             - clang-7
         toolchain:
-            - linux64-gcc-6
+            - linux64-gcc-7
 
 linux64-clang-8:
     description: "Clang 8 toolchain build"
     treeherder:
         symbol: TL(clang8)
     run:
         using: toolchain-script
         script: build-clang.sh
@@ -58,17 +58,17 @@ linux64-clang-8:
         resources:
             - 'build/build-clang/clang-8-linux64.json'
         toolchain-alias: linux64-clang
         toolchain-artifact: public/build/clang.tar.xz
     fetches:
         fetch:
             - clang-8
         toolchain:
-            - linux64-gcc-6
+            - linux64-gcc-7
 
 linux64-clang-8-mingw-x86:
     description: "MinGW-Clang Trunk x86 toolchain build"
     treeherder:
         symbol: TMW(clang-x86)
     run:
         script: build-clang-8-mingw.sh
         arguments:
@@ -80,17 +80,17 @@ linux64-clang-8-mingw-x86:
         toolchain-artifact: public/build/clangmingw.tar.xz
     fetches:
         fetch:
             - clang-8
             - mingw-w64
             - libunwind
             - llvm-mingw
         toolchain:
-            - linux64-gcc-6
+            - linux64-gcc-7
 
 linux64-clang-8-mingw-x64:
     description: "MinGW-Clang Trunk x64 toolchain build"
     treeherder:
         symbol: TMW(clang-x64)
         tier: 1
     run:
         script: build-clang-8-mingw.sh
@@ -103,17 +103,17 @@ linux64-clang-8-mingw-x64:
         toolchain-artifact: public/build/clangmingw.tar.xz
     fetches:
         fetch:
             - clang-8
             - mingw-w64
             - libunwind
             - llvm-mingw
         toolchain:
-            - linux64-gcc-6
+            - linux64-gcc-7
 
 linux64-clang-8-android-cross:
     description: "Clang 8 toolchain build"
     treeherder:
         symbol: TL(clang8-android)
     run:
         using: toolchain-script
         script: build-clang.sh
@@ -122,17 +122,17 @@ linux64-clang-8-android-cross:
         resources:
             - 'build/build-clang/clang-8-android.json'
         toolchain-alias: linux64-clang-android-cross
         toolchain-artifact: public/build/clang.tar.xz
     fetches:
         fetch:
             - clang-8
         toolchain:
-            - linux64-gcc-6
+            - linux64-gcc-7
             - linux64-android-ndk-linux-repack
 
 linux64-clang-8-aarch64-cross:
     description: "Clang 8 toolchain build with aarch64 runtime"
     treeherder:
         symbol: TL(clang8-aarch64)
     worker-type: b-linux
     worker:
@@ -147,17 +147,17 @@ linux64-clang-8-aarch64-cross:
             - 'build/build-clang/clang-8-linux64-aarch64-cross.json'
         toolchain-alias: linux64-aarch64-cross
         toolchain-artifact: public/build/clang.tar.xz
     fetches:
         fetch:
             - clang-8
         toolchain:
             - linux64-binutils
-            - linux64-gcc-6
+            - linux64-gcc-7
 
 linux64-clang-8-macosx-cross:
     description: "Clang 8 toolchain build with MacOS Compiler RT libs"
     treeherder:
         symbol: TL(clang8-macosx-cross)
     worker-type: b-linux
     worker:
         max-run-time: 3600
@@ -174,17 +174,17 @@ linux64-clang-8-macosx-cross:
         toolchain-artifact: public/build/clang.tar.xz
         tooltool-downloads: internal
     fetches:
         fetch:
             - clang-8
         toolchain:
             - linux64-cctools-port
             - linux64-clang-8
-            - linux64-gcc-6
+            - linux64-gcc-7
 
 macosx64-clang:
     description: "Clang toolchain build"
     treeherder:
         symbol: TM(clang)
     worker-type: b-linux-large
     worker:
         max-run-time: 3600
@@ -203,17 +203,17 @@ macosx64-clang:
             - 'taskcluster/scripts/misc/tooltool-download.sh'
         toolchain-artifact: public/build/clang.tar.xz
     fetches:
         fetch:
             - clang-8
         toolchain:
             - linux64-cctools-port
             - linux64-clang-8
-            - linux64-gcc-6
+            - linux64-gcc-7
             - linux64-node
 
 win64-clang-cl:
     description: "Clang-cl toolchain build"
     treeherder:
         symbol: TW64(clang-cl)
     worker-type: b-win2012
     worker: