Browse code

toolchain: Use gcc 5.3.0-4 to bootstrap and add libgcc-atomic to toolchain

Use the latest version of gcc in Photon OS 1.0 (5.3.0-4) to bootstrap
the core toolchain during build. This version of gcc has a runtime
dependency on libgcc-atomic, so add the latter to the toolchain
package list.

Change-Id: Iafbac54921d3fc4bd19cf29a68f4279d212c49e3
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4997
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Bo Gan <ganb@vmware.com>

Srivatsa S. Bhat authored on 2018/04/12 07:20:16
Showing 2 changed files
... ...
@@ -92,6 +92,7 @@ class constants(object):
92 92
         "mpc",
93 93
         "libgcc",
94 94
         "libgcc-devel",
95
+        "libgcc-atomic",
95 96
         "libstdc++",
96 97
         "libstdc++-devel",
97 98
         "libgomp",
... ...
@@ -157,6 +158,7 @@ class constants(object):
157 157
         "mpc",
158 158
         "libgcc",
159 159
         "libgcc-devel",
160
+        "libgcc-atomic",
160 161
         "libstdc++",
161 162
         "libstdc++-devel",
162 163
         "libgomp",
... ...
@@ -233,6 +235,7 @@ class constants(object):
233 233
         "mpc",
234 234
         "libgcc",
235 235
         "libgcc-devel",
236
+        "libgcc-atomic",
236 237
         "libstdc++",
237 238
         "libstdc++-devel",
238 239
         "libgomp",
... ...
@@ -11,7 +11,7 @@ x86_64/sed-4.2.2-1.ph1.x86_64.rpm
11 11
 x86_64/libffi-3.2.1-1.ph1.x86_64.rpm
12 12
 x86_64/gmp-6.0.0a-1.ph1.x86_64.rpm
13 13
 x86_64/diffutils-3.3-2.ph1.x86_64.rpm
14
-x86_64/gcc-5.3.0-1.ph1.x86_64.rpm
14
+x86_64/gcc-5.3.0-4.ph1.x86_64.rpm
15 15
 x86_64/gmp-devel-6.0.0a-1.ph1.x86_64.rpm
16 16
 x86_64/automake-1.15-1.ph1.x86_64.rpm
17 17
 x86_64/groff-1.22.2-1.ph1.x86_64.rpm
... ...
@@ -26,7 +26,8 @@ x86_64/rpm-devel-4.11.2-14.ph1.x86_64.rpm
26 26
 x86_64/file-5.24-1.ph1.x86_64.rpm
27 27
 x86_64/mpfr-3.1.3-1.ph1.x86_64.rpm
28 28
 x86_64/zlib-devel-1.2.8-2.ph1.x86_64.rpm
29
-x86_64/libgcc-devel-5.3.0-1.ph1.x86_64.rpm
29
+x86_64/libgcc-devel-5.3.0-4.ph1.x86_64.rpm
30
+x86_64/libgcc-atomic-5.3.0-4.ph1.x86_64.rpm
30 31
 x86_64/bison-3.0.4-1.ph1.x86_64.rpm
31 32
 x86_64/lua-5.3.2-1.ph1.x86_64.rpm
32 33
 x86_64/util-linux-2.27.1-1.ph1.x86_64.rpm
... ...
@@ -43,11 +44,11 @@ x86_64/gawk-4.1.3-1.ph1.x86_64.rpm
43 43
 x86_64/libtool-2.4.6-1.ph1.x86_64.rpm
44 44
 x86_64/zlib-1.2.8-2.ph1.x86_64.rpm
45 45
 x86_64/python2-libs-2.7.11-1.ph1.x86_64.rpm
46
-x86_64/libgomp-5.3.0-1.ph1.x86_64.rpm
46
+x86_64/libgomp-5.3.0-4.ph1.x86_64.rpm
47 47
 x86_64/readline-devel-6.3-3.ph1.x86_64.rpm
48 48
 x86_64/sqlite-autoconf-3.11.0-1.ph1.x86_64.rpm
49 49
 x86_64/flex-2.5.39-1.ph1.x86_64.rpm
50
-x86_64/libstdc++-devel-5.3.0-1.ph1.x86_64.rpm
50
+x86_64/libstdc++-devel-5.3.0-4.ph1.x86_64.rpm
51 51
 x86_64/openssl-1.0.2g-1.ph1.x86_64.rpm
52 52
 x86_64/elfutils-0.165-1.ph1.x86_64.rpm
53 53
 x86_64/expat-2.1.0-1.ph1.x86_64.rpm
... ...
@@ -60,9 +61,9 @@ x86_64/elfutils-devel-0.165-1.ph1.x86_64.rpm
60 60
 x86_64/patch-2.7.5-1.ph1.x86_64.rpm
61 61
 x86_64/xz-5.2.2-1.ph1.x86_64.rpm
62 62
 x86_64/binutils-2.25.1-1.ph1.x86_64.rpm
63
-x86_64/libgomp-devel-5.3.0-1.ph1.x86_64.rpm
63
+x86_64/libgomp-devel-5.3.0-4.ph1.x86_64.rpm
64 64
 x86_64/bzip2-devel-1.0.6-4.ph1.x86_64.rpm
65
-x86_64/libgcc-5.3.0-1.ph1.x86_64.rpm
65
+x86_64/libgcc-5.3.0-4.ph1.x86_64.rpm
66 66
 x86_64/gzip-1.6-1.ph1.x86_64.rpm
67 67
 x86_64/elfutils-libelf-devel-0.165-1.ph1.x86_64.rpm
68 68
 x86_64/openssl-devel-1.0.2g-1.ph1.x86_64.rpm
... ...
@@ -70,7 +71,7 @@ x86_64/pkg-config-0.28-1.ph1.x86_64.rpm
70 70
 x86_64/popt-devel-1.16-1.ph1.x86_64.rpm
71 71
 x86_64/flex-devel-2.5.39-1.ph1.x86_64.rpm
72 72
 x86_64/findutils-4.4.2-1.ph1.x86_64.rpm
73
-x86_64/libstdc++-5.3.0-1.ph1.x86_64.rpm
73
+x86_64/libstdc++-5.3.0-4.ph1.x86_64.rpm
74 74
 x86_64/libpipeline-1.4.1-1.ph1.x86_64.rpm
75 75
 x86_64/make-4.1-1.ph1.x86_64.rpm
76 76
 x86_64/glibc-devel-2.22-3.ph1.x86_64.rpm