--- a/make/conf/jib-profiles.js Tue Jan 29 11:44:36 2019 -0600
+++ b/make/conf/jib-profiles.js Tue Jan 29 10:09:13 2019 -0800
@@ -861,13 +861,13 @@
var getJibProfilesDependencies = function (input, common) {
var devkit_platform_revisions = {
- linux_x64: "gcc7.3.0-OEL6.4+1.1",
+ linux_x64: "gcc7.3.0-OEL6.4+1.2",
macosx_x64: "Xcode9.4-MacOSX10.13+1.0",
solaris_x64: "SS12u4-Solaris11u1+1.0",
solaris_sparcv9: "SS12u6-Solaris11u3+1.0",
windows_x64: "VS2017-15.5.5+1.0",
- linux_aarch64: "gcc7.3.0-Fedora27+1.1",
- linux_arm: "gcc7.3.0-Fedora27+1.1"
+ linux_aarch64: "gcc7.3.0-Fedora27+1.2",
+ linux_arm: "gcc7.3.0-Fedora27+1.2"
};
var devkit_platform = (input.target_cpu == "x86"
--- a/make/devkit/Tools.gmk Tue Jan 29 11:44:36 2019 -0600
+++ b/make/devkit/Tools.gmk Tue Jan 29 10:09:13 2019 -0800
@@ -103,7 +103,7 @@
GCC := http://ftp.gnu.org/pub/gnu/gcc/$(gcc_ver)/$(gcc_ver).tar.xz
BINUTILS := http://ftp.gnu.org/pub/gnu/binutils/$(binutils_ver).tar.xz
CCACHE := https://samba.org/ftp/ccache/$(ccache_ver).tar.xz
-MPFR := http://www.mpfr.org/${mpfr_ver}/${mpfr_ver}.tar.bz2
+MPFR := https://www.mpfr.org/${mpfr_ver}/${mpfr_ver}.tar.bz2
GMP := http://ftp.gnu.org/pub/gnu/gmp/${gmp_ver}.tar.bz2
MPC := http://ftp.gnu.org/pub/gnu/mpc/${mpc_ver}.tar.gz
GDB := http://ftp.gnu.org/gnu/gdb/${gdb_ver}.tar.xz
@@ -355,6 +355,7 @@
$(BUILDDIR)/$(binutils_ver)/Makefile : CONFIG += --enable-64-bit-bfd --libdir=$(PREFIX)/$(word 1,$(LIBDIRS))
# Makefile creation. Simply run configure in build dir.
+# Setting CFLAGS to -O2 generates a much faster ld.
$(bfdmakes) \
$(BUILDDIR)/$(binutils_ver)/Makefile \
: $(BINUTILS_CFG)
@@ -362,7 +363,7 @@
@mkdir -p $(@D)
( \
cd $(@D) ; \
- $(PATHPRE) $(ENVS) CFLAGS="$(CFLAGS)" \
+ $(PATHPRE) $(ENVS) CFLAGS="-O2 $(CFLAGS)" \
$(BINUTILS_CFG) \
$(CONFIG) \
--with-sysroot=$(SYSROOT) \
@@ -370,6 +371,7 @@
--program-prefix=$(TARGET)- \
--enable-multilib \
--enable-gold \
+ --enable-threads \
--enable-plugins \
) > $(@D)/log.config 2>&1
@echo 'done'