Ver código fonte

update arc toolchain components

Waldemar Brodkorb 9 anos atrás
pai
commit
74e7797a2f

+ 2 - 2
target/config/Config.in.gcc.choice

@@ -35,8 +35,8 @@ config ADK_TOOLCHAIN_GCC_4_8_4
 	depends on !ADK_TARGET_ARCH_TILE
 	depends on !ADK_TARGET_ARCH_C6X
 
-config ADK_TOOLCHAIN_GCC_4_8_0_ARC
-	bool "4.8.0-arc"
+config ADK_TOOLCHAIN_GCC_4_8_3_ARC
+	bool "4.8.3-arc"
 	depends on ADK_TARGET_ARCH_ARC
 
 config ADK_TOOLCHAIN_GCC_4_7_4

+ 8 - 7
toolchain/binutils/Makefile

@@ -13,13 +13,13 @@ CONFOPTS+=		--disable-libssp
 endif
 
 ifeq ($(ADK_TOOLCHAIN_WITH_LTO),y)
-CONFOPTS+=		--enable-lto
+CONFOPTS+=		--enable-lto --enable-plugins
 else
-CONFOPTS+=		--disable-lto
+CONFOPTS+=		--disable-lto --disable-plugins
 endif
 
 ifeq ($(ADK_TOOLCHAIN_WITH_GOLD),y)
-CONFOPTS+=		--enable-gold
+CONFOPTS+=		--enable-gold=default
 else
 CONFOPTS+=		--disable-gold
 endif
@@ -56,20 +56,21 @@ endif
 		--disable-dependency-tracking \
 		--disable-libtool-lock \
 		--disable-nls \
-		--enable-plugins \
+		--disable-sim \
+		--disable-gdb \
 		--disable-werror \
 		--disable-install-libiberty \
 		${CONFOPTS} \
 	);
 	$(MAKE) ${BINUTILS_MAKEOPTS} -C $(WRKBUILD) configure-host
-	touch $@
+	@touch $@
 
 $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
 	$(MAKE) ${BINUTILS_MAKEOPTS} ${BINUTILS_STATIC_MAKEOPTS} -C $(WRKBUILD) all
-	touch $@
+	@touch $@
 
 $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
 	$(MAKE) -C $(WRKBUILD) install
-	touch $@
+	@touch $@
 
 include ${ADK_TOPDIR}/mk/toolchain.mk

+ 4 - 4
toolchain/binutils/Makefile.inc

@@ -17,11 +17,11 @@ PKG_SITES:=		${MASTER_SITE_GNU:=binutils/}
 DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz
 endif
 ifeq ($(ADK_TOOLCHAIN_BINUTILS_2_23_ARC),y)
-# git commit afcd0783a37c73e09439737a11e0b3183746a652
-# https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/tree/arc-2.23-tls
-PKG_VERSION:=		2.23
+# git commit c4395290b351f76229a326fcc20a1a5da8cf67a1 arc-2.23-dev
+# https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb.git
+PKG_VERSION:=		2.23.2
 PKG_RELEASE:=		1
-PKG_HASH:=		12901398ada805926926e39eea84089efad6feabfe148a54a194db36a960f4f4
+PKG_HASH:=		cd0e68644d9f28e1d61f83267e4b7ce71038277a7153603fdfa403b233968184
 PKG_SITES:=		http://www.openadk.org/distfiles/
 DISTFILES:=		${PKG_NAME}-${PKG_VERSION}-arc.tar.xz
 endif

+ 1 - 0
toolchain/gcc/Makefile

@@ -42,6 +42,7 @@ GCC_CONFOPTS:=		--prefix=$(TOOLCHAIN_DIR)/usr \
 			--disable-libmudflap \
 			--disable-libgomp \
 			--disable-libcilkrts \
+			--disable-libquadmath-support \
 			--disable-decimal-float \
 			--disable-libstdcxx-pch \
 			--disable-ppl-version-check \

+ 5 - 5
toolchain/gcc/Makefile.inc

@@ -18,11 +18,11 @@ PKG_RELEASE:=		1
 DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.gz
 LIBSTDCXXVER:=		19
 endif
-ifeq ($(ADK_TOOLCHAIN_GCC_4_8_0_ARC),y)
-# git commit e9dbcfdba0f42639b3aa9e3b06fe781599eb98fe
-# from https://github.com/foss-for-synopsys-dwc-arc-processors/gcc/tree/arc-4.8-tls
-PKG_VERSION:=		4.8.0
-PKG_HASH:=		cbd50f7fa9d6dd4974ff809e1f5791de4a07796bd9fd6f71ed85d17a730a3783
+ifeq ($(ADK_TOOLCHAIN_GCC_4_8_3_ARC),y)
+# git commit 2b0dc74388f22ba98b36f7f57a9cc41aca62e223 arc-4.8-dev
+# from https://github.com/foss-for-synopsys-dwc-arc-processors/gcc.git
+PKG_VERSION:=		4.8.3
+PKG_HASH:=		ca0f6ad111593b6a45d5e94a725d0561dce97e3ef7db38053b96b9eede0dce6b
 PKG_SITES:=		http://www.openadk.org/distfiles/
 PKG_RELEASE:=		1
 DISTFILES:=		${PKG_NAME}-${PKG_VERSION}-arc.tar.xz

+ 0 - 0
toolchain/gcc/patches/4.8.0/cflags.patch → toolchain/gcc/patches/4.8.3/cflags.patch