diff --git a/archive-configs/ct-ng-coolstream_hd2.config b/archive-configs/ct-ng-coolstream_hd2.config index 13cd9038..1d495e96 100644 --- a/archive-configs/ct-ng-coolstream_hd2.config +++ b/archive-configs/ct-ng-coolstream_hd2.config @@ -298,6 +298,7 @@ CT_BINUTILS_FOR_TARGET_BFD=y # CT_LIBC="uClibc" CT_LIBC_VERSION="1.0.24" +# CT_LIBC_bionic is not set # CT_LIBC_glibc is not set # CT_LIBC_musl is not set CT_LIBC_uClibc=y @@ -358,23 +359,26 @@ CT_CC_CORE_PASS_1_NEEDED=y CT_CC_CORE_PASS_2_NEEDED=y CT_CC_gcc=y # CT_CC_GCC_CUSTOM is not set -CT_CC_GCC_VERSION="linaro-4.9-2017.01" +CT_CC_GCC_VERSION="linaro-6.3-2017.02" CT_CC_GCC_SHOW_LINARO=y # CT_CC_GCC_V_7_1_0 is not set -# CT_CC_GCC_V_linaro_6_3 is not set +CT_CC_GCC_V_linaro_6_3=y # CT_CC_GCC_V_6_3_0 is not set # CT_CC_GCC_V_linaro_5_4 is not set # CT_CC_GCC_V_5_4_0 is not set -CT_CC_GCC_V_linaro_4_9=y +# CT_CC_GCC_V_linaro_4_9 is not set # CT_CC_GCC_V_4_9_4 is not set # CT_CC_GCC_V_linaro_4_8 is not set # CT_CC_GCC_V_4_8_5 is not set CT_CC_GCC_4_8_or_later=y -CT_CC_GCC_4_9=y CT_CC_GCC_4_9_or_later=y +CT_CC_GCC_5_or_later=y +CT_CC_GCC_6=y +CT_CC_GCC_6_or_later=y +CT_CC_GCC_HAS_LIBMPX=y CT_CC_GCC_ENABLE_CXX_FLAGS="" -CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="--with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16 --disable-decimal-float" -CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16 --disable-decimal-float" +CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="--with-float=hard" +CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-float=hard" CT_CC_GCC_STATIC_LIBSTDCXX=y # CT_CC_GCC_SYSTEM_ZLIB is not set CT_CC_GCC_CONFIG_TLS=m @@ -413,7 +417,6 @@ CT_CC_GCC_DEC_FLOAT_AUTO=y # CT_CC_GCC_DEC_FLOATS_NO is not set CT_CC_SUPPORT_CXX=y CT_CC_SUPPORT_FORTRAN=y -CT_CC_SUPPORT_JAVA=y CT_CC_SUPPORT_ADA=y CT_CC_SUPPORT_OBJC=y CT_CC_SUPPORT_OBJCXX=y @@ -424,7 +427,6 @@ CT_CC_SUPPORT_GOLANG=y # CT_CC_LANG_CXX=y # CT_CC_LANG_FORTRAN is not set -# CT_CC_LANG_JAVA is not set # CT_CC_LANG_ADA is not set # CT_CC_LANG_OBJC is not set # CT_CC_LANG_OBJCXX is not set @@ -448,7 +450,6 @@ CT_GETTEXT_NEEDED=y CT_GMP_NEEDED=y CT_MPFR_NEEDED=y CT_ISL_NEEDED=y -CT_CLOOG_NEEDED=y CT_MPC_NEEDED=y CT_NCURSES_NEEDED=y CT_COMPLIBS=y @@ -457,7 +458,6 @@ CT_GETTEXT=y CT_GMP=y CT_MPFR=y CT_ISL=y -CT_CLOOG=y CT_MPC=y CT_NCURSES=y # CT_ZLIB is not set @@ -489,17 +489,16 @@ CT_MPFR_V_3_1_5=y # CT_MPFR_V_2_4_1 is not set # CT_MPFR_V_2_4_0 is not set CT_MPFR_VERSION="3.1.5" -CT_ISL_V_0_15=y +CT_ISL_V_0_18=y +# CT_ISL_V_0_17_1 is not set +# CT_ISL_V_0_16_1 is not set +# CT_ISL_V_0_15 is not set # CT_ISL_V_0_14 is not set -# CT_ISL_V_0_12_2 is not set +CT_ISL_V_0_16_or_later=y CT_ISL_V_0_15_or_later=y CT_ISL_V_0_14_or_later=y CT_ISL_V_0_12_or_later=y -CT_ISL_VERSION="0.15" -CT_CLOOG_V_0_18_4=y -CT_CLOOG_VERSION="0.18.4" -CT_CLOOG_0_18_4_or_later=y -CT_CLOOG_0_18_or_later=y +CT_ISL_VERSION="0.18" CT_MPC_V_1_0_3=y # CT_MPC_V_1_0_2 is not set # CT_MPC_V_1_0_1 is not set diff --git a/make/crosstool.mk b/make/crosstool.mk index 76961739..f24a387b 100644 --- a/make/crosstool.mk +++ b/make/crosstool.mk @@ -83,7 +83,7 @@ crosstool-arm-hd2: CROSS_DIR-check $(ARCHIVE)/gcc-linaro-$(GCC_VER).tar.xz $(SOU chmod -R +w $(CROSS_DIR) test -e $(CROSS_DIR)/$(TARGET)/lib && mv $(CROSS_DIR)/$(TARGET)/lib $(CROSS_DIR)/$(TARGET)/lib.x test -e $(CROSS_DIR)/$(TARGET)/lib || ln -sf sys-root/lib $(CROSS_DIR)/$(TARGET)/ - rm -f $(CROSS_DIR)/$(TARGET)/sys-root/lib/libstdc++.so.6.0.20-gdb.py + rm -f $(CROSS_DIR)/$(TARGET)/sys-root/lib/libstdc++.so.6.0.22-gdb.py $(REMOVE)/crosstool-ng crosstool-arm-hd51: CROSS_DIR-check diff --git a/make/environment.mk b/make/environment.mk index 828bb3f2..7c33f304 100644 --- a/make/environment.mk +++ b/make/environment.mk @@ -182,6 +182,7 @@ ifeq ($(BOXSERIES), hd1) TARGET_MARCH_CFLAGS = -march=armv6 -mfloat-abi=soft -mlittle-endian TARGET_EXTRA_CFLAGS = -fdata-sections -ffunction-sections TARGET_EXTRA_LDFLAGS = -Wl,--gc-sections + CXX11_ABI = endif ifeq ($(BOXSERIES), hd2) @@ -207,6 +208,7 @@ ifeq ($(BOXSERIES), hd2) TARGET_EXTRA_CFLAGS = -fdata-sections -ffunction-sections TARGET_EXTRA_LDFLAGS = -Wl,--gc-sections endif + CXX11_ABI = -D_GLIBCXX_USE_CXX11_ABI=0 endif ifeq ($(BOXSERIES), hd51) @@ -221,9 +223,10 @@ ifeq ($(BOXSERIES), hd51) TARGET_MARCH_CFLAGS = -march=armv7ve -mtune=cortex-a15 -mfpu=neon-vfpv4 -mfloat-abi=hard TARGET_EXTRA_CFLAGS = TARGET_EXTRA_LDFLAGS = + CXX11_ABI = endif -TARGET_CFLAGS = -pipe $(TARGET_O_CFLAGS) $(TARGET_MARCH_CFLAGS) $(TARGET_EXTRA_CFLAGS) -g -I$(TARGETINCLUDE) +TARGET_CFLAGS = -pipe $(TARGET_O_CFLAGS) $(TARGET_MARCH_CFLAGS) $(TARGET_EXTRA_CFLAGS) $(CXX11_ABI) -g -I$(TARGETINCLUDE) TARGET_CPPFLAGS = $(TARGET_CFLAGS) TARGET_CXXFLAGS = $(TARGET_CFLAGS) TARGET_LDFLAGS = $(CORTEX-STRINGS) -Wl,-O1 -Wl,-rpath,$(TARGETLIB) -Wl,-rpath-link,$(TARGETLIB) -L$(TARGETLIB) $(TARGET_EXTRA_LDFLAGS) diff --git a/make/static.mk b/make/static.mk index c9258a82..3449346a 100644 --- a/make/static.mk +++ b/make/static.mk @@ -12,9 +12,9 @@ $(STATICLIB)/libcortex-strings.la: $(ARCHIVE)/cortex-strings-$(CORTEX-STRINGS_VE $(UNTAR)/cortex-strings-$(CORTEX-STRINGS_VER).tar.bz2 pushd $(BUILD_TMP)/cortex-strings-$(CORTEX-STRINGS_VER) && \ ./autogen.sh && \ - CFLAGS="-pipe -O2 -g -I$(TARGETINCLUDE)" \ - CPPFLAGS="-pipe -O2 -g -I$(TARGETINCLUDE)" \ - CXXFLAGS="-pipe -O2 -g -I$(TARGETINCLUDE)" \ + CFLAGS="-pipe -O2 $(CXX11_ABI) -g -I$(TARGETINCLUDE)" \ + CPPFLAGS="-pipe -O2 $(CXX11_ABI) -g -I$(TARGETINCLUDE)" \ + CXXFLAGS="-pipe -O2 $(CXX11_ABI) -g -I$(TARGETINCLUDE)" \ LDFLAGS="-Wl,-O1 -L$(TARGETLIB)" \ PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) \ ./configure $(CONFIGURE_OPTS) \ diff --git a/skel-root/coolstream/hd2-kronos/etc/init.d/stb_update.data b/skel-root/coolstream/hd2-kronos/etc/init.d/stb_update.data index e645b390..53ed82a4 100644 --- a/skel-root/coolstream/hd2-kronos/etc/init.d/stb_update.data +++ b/skel-root/coolstream/hd2-kronos/etc/init.d/stb_update.data @@ -1,2 +1,2 @@ # get this info with "make get-update-info" -V_KERNEL="Fri Jul 28 14:47:56 CEST 2017" +V_KERNEL="Sun Oct 29 15:18:08 CET 2017" diff --git a/skel-root/coolstream/hd2-kronos/var/update/vmlinux.ub.gz b/skel-root/coolstream/hd2-kronos/var/update/vmlinux.ub.gz index eadad687..2171829a 100644 Binary files a/skel-root/coolstream/hd2-kronos/var/update/vmlinux.ub.gz and b/skel-root/coolstream/hd2-kronos/var/update/vmlinux.ub.gz differ diff --git a/skel-root/coolstream/hd2/etc/init.d/stb_update.data b/skel-root/coolstream/hd2/etc/init.d/stb_update.data index dd5cb226..b1573d3d 100644 --- a/skel-root/coolstream/hd2/etc/init.d/stb_update.data +++ b/skel-root/coolstream/hd2/etc/init.d/stb_update.data @@ -1,2 +1,2 @@ # get this info with "make get-update-info" -V_KERNEL="Fri Jul 28 14:47:36 CEST 2017" +V_KERNEL="Sun Oct 29 15:16:12 CET 2017" diff --git a/skel-root/coolstream/hd2/var/update/vmlinux.ub.gz b/skel-root/coolstream/hd2/var/update/vmlinux.ub.gz index cab8f020..968edc76 100644 Binary files a/skel-root/coolstream/hd2/var/update/vmlinux.ub.gz and b/skel-root/coolstream/hd2/var/update/vmlinux.ub.gz differ