Move to github as source for ARC-specific packages
v2 cover Move to github as source for ARC-specific packages
Hi,
This set of patches gets rid of the Synopsys website for downloading ARC-specific versions of binutils, gdb, gcc, uClibc. Instead, our github site is used, and the git-protocol where possible (all packages except gcc).
Although our toolchain release is not completely finished, and a couple of issues are still being worked on, I would like to get some feedback already on this patch set: after all, it's easy to update the git ID's associated with the final release when that is ready (hopefully within a week or two).
The new toolchain release fixes a number of auto-builder issues.
Thanks,
Mischa
v2:
* use full commit ID's
* use new github helper function
* squash patches that remove patches with patches that switch to github
* no update on 'to choose/not to choose'
* use suitable-extractor helper in gcc
Mischa Jonker (5):
gdb: arc: Use git instead of website
binutils: arc: Use git instead of website
gcc: arc: Download from github instead of Synopsys website
uclibc: arc: Use git instead of website
Revert "arc: Add option for ARC-specific download site"
arch/Config.in.arc | 4 - package/binutils/Config.in.host | 2 +- package/binutils/binutils.mk | 8 +- package/gcc/4.8-arc/100-uclibc-conf.patch | 15 -- package/gcc/4.8-arc/301-missing-execinfo_h.patch | 13 -- package/gcc/4.8-arc/302-c99-snprintf.patch | 13 -- .../gcc/4.8-arc/305-libmudflap-susv3-legacy.patch | 49 ------- package/gcc/4.8-arc/disable_gc_sections.patch | 145 -------------------- package/gcc/4.8-arc/fix_branch_out_of_range.patch | 30 ---- package/gcc/Config.in.host | 2 +- package/gcc/gcc.mk | 9 +- package/gdb/Config.in.host | 2 +- package/gdb/gdb.mk | 5 +- package/uclibc/0.9.33-arc/fix-fstat-for-be.patch | 32 ----- .../uclibc/0.9.33-arc/fix-susv3-legacy-bcmp.patch | 37 ----- package/uclibc/0.9.33-arc/fix-susv3-legacy.patch | 36 ----- .../0.9.33-arc/uclibc-arc-add-__kernel_long.patch | 29 ---- package/uclibc/Config.in | 9 +- package/uclibc/uclibc.mk | 7 +- 19 files changed, 22 insertions(+), 425 deletions(-) delete mode 100644 package/gcc/4.8-arc/100-uclibc-conf.patch delete mode 100644 package/gcc/4.8-arc/301-missing-execinfo_h.patch delete mode 100644 package/gcc/4.8-arc/302-c99-snprintf.patch delete mode 100644 package/gcc/4.8-arc/305-libmudflap-susv3-legacy.patch delete mode 100644 package/gcc/4.8-arc/disable_gc_sections.patch delete mode 100644 package/gcc/4.8-arc/fix_branch_out_of_range.patch delete mode 100644 package/uclibc/0.9.33-arc/fix-fstat-for-be.patch delete mode 100644 package/uclibc/0.9.33-arc/fix-susv3-legacy-bcmp.patch delete mode 100644 package/uclibc/0.9.33-arc/fix-susv3-legacy.patch delete mode 100644 package/uclibc/0.9.33-arc/uclibc-arc-add-__kernel_long.patch
Signature · 1 line
1.7.9.5
PATCH v2 1/5 gdb: arc: Use git instead of website
--- package/gdb/Config.in.host | 2 +- package/gdb/gdb.mk | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-)
package/gdb/Config.in.host +1 -1
@@ -58,6 +58,6 @@ config BR2_GDB_VERSION default "7.3.1" if BR2_GDB_VERSION_7_3 default "7.4.1" if BR2_GDB_VERSION_7_4 default "7.5.1" if BR2_GDB_VERSION_7_5 - default "7.5.1-arc" if BR2_arc + default "f25a1952afd054205f9471e449c1f7ca5b271b7c" if BR2_arc endif
package/gdb/gdb.mk +3 -2
@@ -22,14 +22,15 @@ endif endif ifeq ($(BR2_arc),y) -GDB_SITE = $(BR2_ARC_SITE) +GDB_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gdb,$(GDB_VERSION)) +GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz endif ifeq ($(GDB_VERSION),6.7.1-avr32-2.1.5) GDB_SITE = ftp://www.at91.com/pub/buildroot/ endif -GDB_SOURCE = gdb-$(GDB_VERSION).tar.bz2 +GDB_SOURCE ?= gdb-$(GDB_VERSION).tar.bz2 GDB_LICENSE = GPLv2+ LGPLv2+ GPLv3+ LGPLv3+ GDB_LICENSE_FILES = COPYING COPYING.LIB COPYING3 COPYING3.LIB
Signature · 1 line
1.7.9.5
PATCH v2 2/5 binutils: arc: Use git instead of website
In reply to Mischa Jonker--- package/binutils/Config.in.host | 2 +- package/binutils/binutils.mk | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-)
package/binutils/Config.in.host +1 -1
@@ -44,7 +44,7 @@ endchoice config BR2_BINUTILS_VERSION string default "2.18-avr32-1.0.1" if BR2_BINUTILS_VERSION_2_18_AVR32_1_0_1 - default "2.23.2-arc" if BR2_arc + default "0c824ba511fa9b028220eb3c39b566af89ac9dda" if BR2_arc default "2.20.1" if BR2_BINUTILS_VERSION_2_20_1 default "2.21" if BR2_BINUTILS_VERSION_2_21 default "2.21.1" if BR2_BINUTILS_VERSION_2_21_1
package/binutils/binutils.mk +4 -4
@@ -18,17 +18,17 @@ endif ifeq ($(BINUTILS_VERSION),2.23) BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz -else -BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.bz2 endif -BINUTILS_SITE = $(BR2_GNU_MIRROR)/binutils ifeq ($(ARCH),avr32) BINUTILS_SITE = ftp://www.at91.com/pub/buildroot endif ifeq ($(BR2_arc),y) -BINUTILS_SITE = $(BR2_ARC_SITE) +BINUTILS_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils,$(BINUTILS_VERSION)) +BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz endif +BINUTILS_SITE ?= $(BR2_GNU_MIRROR)/binutils +BINUTILS_SOURCE ?= binutils-$(BINUTILS_VERSION).tar.bz2 BINUTILS_EXTRA_CONFIG_OPTIONS = $(call qstrip,$(BR2_BINUTILS_EXTRA_CONFIG_OPTIONS)) BINUTILS_INSTALL_STAGING = YES BINUTILS_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
Signature · 1 line
1.7.9.5
PATCH v2 3/5 gcc: arc: Download from github instead of Synopsys website
In reply to Mischa JonkerThe github release mechanism only supports .tar.gz, hence the ugly GCC_UNPACK variable.
--- package/gcc/4.8-arc/100-uclibc-conf.patch | 15 -- package/gcc/4.8-arc/301-missing-execinfo_h.patch | 13 -- package/gcc/4.8-arc/302-c99-snprintf.patch | 13 -- .../gcc/4.8-arc/305-libmudflap-susv3-legacy.patch | 49 ------- package/gcc/4.8-arc/disable_gc_sections.patch | 145 -------------------- package/gcc/4.8-arc/fix_branch_out_of_range.patch | 30 ---- package/gcc/Config.in.host | 2 +- package/gcc/gcc.mk | 9 +- 8 files changed, 6 insertions(+), 270 deletions(-) delete mode 100644 package/gcc/4.8-arc/100-uclibc-conf.patch delete mode 100644 package/gcc/4.8-arc/301-missing-execinfo_h.patch delete mode 100644 package/gcc/4.8-arc/302-c99-snprintf.patch delete mode 100644 package/gcc/4.8-arc/305-libmudflap-susv3-legacy.patch delete mode 100644 package/gcc/4.8-arc/disable_gc_sections.patch delete mode 100644 package/gcc/4.8-arc/fix_branch_out_of_range.patch
package/gcc/4.8-arc/100-uclibc-conf.patch deleted +0 -15
@@ -1,15 +0,0 @@ -Index: gcc-4.8.0/contrib/regression/objs-gcc.sh -=================================================================== ---- gcc-4.8.0.orig/contrib/regression/objs-gcc.sh 2009-04-09 17:00:19.000000000 +0200 -+++ gcc-4.8.0/contrib/regression/objs-gcc.sh 2013-03-23 17:39:04.000000000 +0100 -@@ -106,6 +106,10 @@ - then - make all-gdb all-dejagnu all-ld || exit 1 - make install-gdb install-dejagnu install-ld || exit 1 -+elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ] -+ then -+ make all-gdb all-dejagnu all-ld || exit 1 -+ make install-gdb install-dejagnu install-ld || exit 1 - elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then - make bootstrap || exit 1 - make install || exit 1
package/gcc/4.8-arc/301-missing-execinfo_h.patch deleted +0 -13
@@ -1,13 +0,0 @@ -Index: gcc-4.8.0/boehm-gc/include/gc.h -=================================================================== ---- gcc-4.8.0.orig/boehm-gc/include/gc.h 2007-04-23 23:10:09.000000000 +0200 -+++ gcc-4.8.0/boehm-gc/include/gc.h 2013-03-23 17:39:20.000000000 +0100 -@@ -503,7 +503,7 @@ - #if defined(__linux__) || defined(__GLIBC__) - # include <features.h> - # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1 || __GLIBC__ > 2) \ -- && !defined(__ia64__) -+ && !defined(__ia64__) && !defined(__UCLIBC__) - # ifndef GC_HAVE_BUILTIN_BACKTRACE - # define GC_HAVE_BUILTIN_BACKTRACE - # endif
package/gcc/4.8-arc/302-c99-snprintf.patch deleted +0 -13
@@ -1,13 +0,0 @@ -Index: gcc-4.8.0/libstdc++-v3/include/c_global/cstdio -=================================================================== ---- gcc-4.8.0.orig/libstdc++-v3/include/c_global/cstdio 2013-02-03 18:54:05.000000000 +0100 -+++ gcc-4.8.0/libstdc++-v3/include/c_global/cstdio 2013-03-23 17:39:32.000000000 +0100 -@@ -138,7 +138,7 @@ - using ::vsprintf; - } // namespace - --#if _GLIBCXX_USE_C99 -+#if _GLIBCXX_USE_C99 || defined __UCLIBC__ - - #undef snprintf - #undef vfscanf
package/gcc/4.8-arc/305-libmudflap-susv3-legacy.patch deleted +0 -49
49 lines not on this page · raw message
package/gcc/4.8-arc/disable_gc_sections.patch deleted +0 -145
145 lines not on this page · raw message
package/gcc/4.8-arc/fix_branch_out_of_range.patch deleted +0 -30
@@ -1,30 +0,0 @@ -arc: Fix operand-out-of-range errors - -brcc_s instructions can generate operand-out-of-range errors. While a -better solution is being discussed by the compiler team, this workaround -ensures that the chances of running into this issue are low. - -Signed-off-by: Mischa Jonker <[email protected]> - -diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c -index ff602c0..b3ca4c4 100644 ---- a/gcc/config/arc/arc.c -+++ b/gcc/config/arc/arc.c -@@ -6565,7 +6565,7 @@ estimate required size increase). - rtx *ccp = &XEXP (XVECEXP (pat, 0, 1), 0); - - offset = branch_dest (insn) - INSN_ADDRESSES (INSN_UID (insn)); -- if ((offset >= -140 && offset < 140) -+ if ((offset >= -120 && offset < 120) - && rtx_equal_p (XEXP (op, 1), const0_rtx) - && compact_register_operand (XEXP (op, 0), VOIDmode) - && equality_comparison_operator (op, VOIDmode)) -@@ -6687,7 +6687,7 @@ estimate required size increase). - - if (op0 != cmp0) - cc_clob_rtx = gen_rtx_REG (CC_ZNmode, CC_REG); -- else if ((offset >= -140 && offset < 140) -+ else if ((offset >= -120 && offset < 120) - && rtx_equal_p (op1, const0_rtx) - && compact_register_operand (op0, VOIDmode) - && (GET_CODE (op) == EQ
package/gcc/Config.in.host +1 -1
@@ -90,7 +90,7 @@ config BR2_GCC_VERSION default "4.6.4" if BR2_GCC_VERSION_4_6_X default "4.7.3" if BR2_GCC_VERSION_4_7_X default "4.8.2" if BR2_GCC_VERSION_4_8_X - default "4.8-arc" if BR2_GCC_VERSION_4_8_ARC + default "7466697995233cc3aab5b9427bf843e3c7fabd80" if BR2_GCC_VERSION_4_8_ARC default BR2_GCC_SNAP_DATE if BR2_GCC_VERSION_SNAP config BR2_EXTRA_GCC_CONFIG_OPTIONS
package/gcc/gcc.mk +5 -4
@@ -19,13 +19,14 @@ ifneq ($(GCC_SNAP_DATE),) GCC_SITE = ftp://gcc.gnu.org/pub/gcc/snapshots/$(GCC_SNAP_DATE)/ else ifeq ($(findstring avr32,$(GCC_VERSION)),avr32) GCC_SITE = ftp://www.at91.com/pub/buildroot/ -else ifeq ($(findstring arc,$(GCC_VERSION)),arc) -GCC_SITE = $(BR2_ARC_SITE) +else ifeq ($(BR2_arc),y) +GCC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gcc,$(GCC_VERSION)) +GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz else GCC_SITE = $(BR2_GNU_MIRROR:/=)/gcc/gcc-$(GCC_VERSION) endif -GCC_SOURCE = gcc-$(GCC_VERSION).tar.bz2 +GCC_SOURCE ?= gcc-$(GCC_VERSION).tar.bz2 # # Xtensa special hook
@@ -60,7 +61,7 @@ endef # define HOST_GCC_EXTRACT_CMDS - $(BZCAT) $(DL_DIR)/$(GCC_SOURCE) | \ + $(call suitable-extractor,$(GCC_SOURCE)) $(DL_DIR)/$(GCC_SOURCE) | \ $(TAR) $(TAR_STRIP_COMPONENTS)=1 -C $(@D) \ --exclude='libjava/*' \ --exclude='libgo/*' \
Signature · 1 line
1.7.9.5
PATCH v2 4/5 uclibc: arc: Use git instead of website
In reply to Mischa Jonker--- package/uclibc/0.9.33-arc/fix-fstat-for-be.patch | 32 ----------------- .../uclibc/0.9.33-arc/fix-susv3-legacy-bcmp.patch | 37 -------------------- package/uclibc/0.9.33-arc/fix-susv3-legacy.patch | 36 ------------------- .../0.9.33-arc/uclibc-arc-add-__kernel_long.patch | 29 --------------- package/uclibc/Config.in | 9 ++--- package/uclibc/uclibc.mk | 7 ++-- 6 files changed, 7 insertions(+), 143 deletions(-) delete mode 100644 package/uclibc/0.9.33-arc/fix-fstat-for-be.patch delete mode 100644 package/uclibc/0.9.33-arc/fix-susv3-legacy-bcmp.patch delete mode 100644 package/uclibc/0.9.33-arc/fix-susv3-legacy.patch delete mode 100644 package/uclibc/0.9.33-arc/uclibc-arc-add-__kernel_long.patch
package/uclibc/0.9.33-arc/fix-fstat-for-be.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From f394d65c74631a0e715bac582b09c302ee84114f Mon Sep 17 00:00:00 2001 -From: Mischa Jonker <[email protected]> -Date: Tue, 23 Jul 2013 17:59:04 +0200 -Subject: [PATCH] libc/sysdeps: Fix common-generic stat.h for BE part 2 - -Previous patch only fixed the build. This patch fixes the behavior at -run-time as well. - -It fixes "Value too large for defined data type" messages caused by -fstat syscall wrapper returning -EOVERFLOW. - -Signed-off-by: Mischa Jonker <[email protected]> ---- - libc/sysdeps/linux/common-generic/bits/stat.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libc/sysdeps/linux/common-generic/bits/stat.h b/libc/sysdeps/linux/common-generic/bits/stat.h -index 07716ab..945c408 100644 ---- a/libc/sysdeps/linux/common-generic/bits/stat.h -+++ b/libc/sysdeps/linux/common-generic/bits/stat.h -@@ -63,8 +63,8 @@ struct stat - unsigned long long __pad4; - long __pad5; - long st_size; /* Size of file, in bytes. */ -- int __pad6; - int st_blksize; /* Optimal block size for I/O. */ -+ int __pad6; - long __pad7; - long st_blocks; /* Number 512-byte blocks allocated */ - # endif /* __LITTLE_ENDIAN */ --- -1.7.9.5
package/uclibc/0.9.33-arc/fix-susv3-legacy-bcmp.patch deleted +0 -37
@@ -1,37 +0,0 @@ -From 0594ba53b9b8d9a1ac409fd187e4d1ba8f2e7f2a Mon Sep 17 00:00:00 2001 -From: Vineet Gupta <[email protected]> -Date: Thu, 8 Aug 2013 15:41:51 +0530 -Subject: [PATCH] ARC: SuSv3 legacy support: Add "bcmp" alias for memcmp - -Although uClibc provides this already as UCLIBC_SUSV3_LEGACY_MACROS, -that however requires UCLIBC_SUSV3_LEGACY to be switched off, causing a -bunch of other things to be not available (usleep) - -Signed-off-by: Vineet Gupta <[email protected]> ---- - libc/string/arc/memcmp.S | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/libc/string/arc/memcmp.S b/libc/string/arc/memcmp.S -index 0c7c345..cb25990 100644 ---- a/libc/string/arc/memcmp.S -+++ b/libc/string/arc/memcmp.S -@@ -1,6 +1,7 @@ - /* Copyright (C) 2007 ARC International (UK) LTD */ - - #include <bits/asm.h> -+#include <features.h> - - #ifdef __LITTLE_ENDIAN__ - #define WORD2 r2 -@@ -115,3 +116,7 @@ ENTRY(memcmp) - j_s.d [blink] - mov r0,0 - ENDFUNC(memcmp) -+ -+#ifdef __UCLIBC_SUSV3_LEGACY__ -+strong_alias(memcmp,bcmp) -+#endif --- -1.8.1.2 -
package/uclibc/0.9.33-arc/fix-susv3-legacy.patch deleted +0 -36
@@ -1,36 +0,0 @@ -From 3124ace804337d32974392e0a73a09cdc0d60fc8 Mon Sep 17 00:00:00 2001 -From: Mischa Jonker <[email protected]> -Date: Mon, 15 Jul 2013 13:06:11 +0200 -Subject: [PATCH] ARC: Add alias 'index' to strcmp for susv3 legacy - compatibility - -This fixes build errors for 'keyutils' - -Signed-off-by: Mischa Jonker <[email protected]> ---- - libc/string/arc/strchr.S | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/libc/string/arc/strchr.S b/libc/string/arc/strchr.S -index b9f28c0..8d51aa4 100644 ---- a/libc/string/arc/strchr.S -+++ b/libc/string/arc/strchr.S -@@ -1,6 +1,7 @@ - /* Copyright (C) 2007 ARC International (UK) LTD */ - - #include <bits/asm.h> -+#include <features.h> - - /* ARC700 has a relatively long pipeline and branch prediction, so we want - to avoid branches that are hard to predict. On the other hand, the -@@ -115,3 +116,7 @@ ENTRY(strchr) - mov.mi r0,0 - #endif /* ENDIAN */ - ENDFUNC(strchr) -+ -+#ifdef __UCLIBC_SUSV3_LEGACY__ -+strong_alias(strchr,index) -+#endif --- -1.7.9.5 -
package/uclibc/0.9.33-arc/uclibc-arc-add-__kernel_long.patch deleted +0 -29
@@ -1,29 +0,0 @@ -From 5164fb28e9205626211d0436933e6eb4960be582 Mon Sep 17 00:00:00 2001 -From: Mischa Jonker <[email protected]> -Date: Wed, 10 Jul 2013 09:05:25 +0200 -Subject: [PATCH] ARC: libc/sysdeps: add __kernel_long and __kernel_ulong - -Linux 3.4 added these two types and updated various exported header -files to use them. While other architectures were updated before, -this was not the case for ARC. - -This fixes the build failure with Linux 3.10 headers. - -Signed-off-by: Mischa Jonker <[email protected]> ---- - libc/sysdeps/linux/arc/bits/kernel_types.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/libc/sysdeps/linux/arc/bits/kernel_types.h b/libc/sysdeps/linux/arc/bits/kernel_types.h -index fd52e1c..fc28fa1 100755 ---- a/libc/sysdeps/linux/arc/bits/kernel_types.h -+++ b/libc/sysdeps/linux/arc/bits/kernel_types.h -@@ -39,6 +39,8 @@ typedef __kernel_uid_t __kernel_old_uid_t; - typedef __kernel_gid_t __kernel_old_gid_t; - typedef long long __kernel_loff_t; - typedef unsigned int __kernel_old_dev_t; -+typedef long __kernel_long_t; -+typedef unsigned long __kernel_ulong_t; - - typedef struct { - #ifdef __USE_ALL
package/uclibc/Config.in +3 -6
@@ -20,12 +20,9 @@ choice bool "uClibc 0.9.33.x" depends on !(BR2_arc || BR2_avr32 || BR2_xtensa) - config BR2_UCLIBC_VERSION_0_9_33_ARC - bool "uClibc 0.9.33.x-arc" - depends on BR2_arc - config BR2_UCLIBC_VERSION_SNAPSHOT bool "daily snapshot" + depends on !(BR2_arc) endchoice
@@ -41,7 +38,7 @@ config BR2_UCLIBC_VERSION_STRING default 0.9.31.1 if BR2_UCLIBC_VERSION_0_9_31 default 0.9.32.1 if BR2_UCLIBC_VERSION_0_9_32 default 0.9.33.2 if BR2_UCLIBC_VERSION_0_9_33 - default 0.9.33-arc if BR2_UCLIBC_VERSION_0_9_33_ARC + default "9f0f466d3b17181ce88be36ce24a775774fe686c" if BR2_arc default BR2_USE_UCLIBC_SNAPSHOT if BR2_UCLIBC_VERSION_SNAPSHOT config BR2_UCLIBC_CONFIG
@@ -49,7 +46,7 @@ config BR2_UCLIBC_CONFIG default "package/uclibc/uClibc-0.9.31.config" if BR2_UCLIBC_VERSION_0_9_31 default "package/uclibc/uClibc-0.9.32.config" if BR2_UCLIBC_VERSION_0_9_32 default "package/uclibc/uClibc-0.9.33.config" if BR2_UCLIBC_VERSION_0_9_33 - default "package/uclibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_0_9_33_ARC + default "package/uclibc/uClibc-snapshot.config" if BR2_arc default "package/uclibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_SNAPSHOT help Some people may wish to use their own modified uClibc configuration
package/uclibc/uclibc.mk +4 -3
@@ -5,12 +5,13 @@ ################################################################################ UCLIBC_VERSION = $(call qstrip,$(BR2_UCLIBC_VERSION_STRING)) -UCLIBC_SOURCE = uClibc-$(UCLIBC_VERSION).tar.bz2 +UCLIBC_SOURCE ?= uClibc-$(UCLIBC_VERSION).tar.bz2 ifeq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y) UCLIBC_SITE = http://www.uclibc.org/downloads/snapshots -else ifeq ($(findstring arc,$(UCLIBC_VERSION)),arc) -UCLIBC_SITE = $(BR2_ARC_SITE) +else ifeq ($(BR2_arc),y) +UCLIBC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,uClibc,$(UCLIBC_VERSION)) +UCLIBC_SOURCE = uClibc-$(UCLIBC_VERSION).tar.gz else UCLIBC_SITE = http://www.uclibc.org/downloads UCLIBC_SOURCE = uClibc-$(UCLIBC_VERSION).tar.xz
Signature · 1 line
1.7.9.5
PATCH v2 5/5 Revert "arc: Add option for ARC-specific download site"
In reply to Mischa JonkerAll packages use github now.
This reverts commit 1445b7fd2e46db5d39ad5e2f5cc262574399f5f3.
--- arch/Config.in.arc | 4 ---- 1 file changed, 4 deletions(-)
arch/Config.in.arc +0 -4
@@ -12,7 +12,3 @@ config BR2_ENDIAN config BR2_GCC_TARGET_CPU default "arc700" - -config BR2_ARC_SITE - string - default "http://www.synopsys.com/apps/arc-developer/"
Signature · 1 line
1.7.9.5
v2 cover Move to github as source for ARC-specific packages
In reply to Mischa JonkerQuoted 54 lines · Mischa Jonker
Hi,
This set of patches gets rid of the Synopsys website for downloading ARC-specific versions of binutils, gdb, gcc, uClibc. Instead, our github site is used, and the git-protocol where possible (all packages except gcc).
Although our toolchain release is not completely finished, and a couple of issues are still being worked on, I would like to get some feedback already on this patch set: after all, it's easy to update the git ID's associated with the final release when that is ready (hopefully within a week or two).
The new toolchain release fixes a number of auto-builder issues.
Thanks,
Mischa
v2:
* use full commit ID's
* use new github helper function
* squash patches that remove patches with patches that switch to github
* no update on 'to choose/not to choose'
* use suitable-extractor helper in gccMischa Jonker (5):
gdb: arc: Use git instead of website
binutils: arc: Use git instead of website
gcc: arc: Download from github instead of Synopsys website
uclibc: arc: Use git instead of website
Revert "arc: Add option for ARC-specific download site"arch/Config.in.arc | 4 - package/binutils/Config.in.host | 2 +- package/binutils/binutils.mk | 8 +- package/gcc/4.8-arc/100-uclibc-conf.patch | 15 -- package/gcc/4.8-arc/301-missing-execinfo_h.patch | 13 -- package/gcc/4.8-arc/302-c99-snprintf.patch | 13 -- .../gcc/4.8-arc/305-libmudflap-susv3-legacy.patch | 49 ------- package/gcc/4.8-arc/disable_gc_sections.patch | 145 -------------------- package/gcc/4.8-arc/fix_branch_out_of_range.patch | 30 ---- package/gcc/Config.in.host | 2 +- package/gcc/gcc.mk | 9 +- package/gdb/Config.in.host | 2 +- package/gdb/gdb.mk | 5 +- package/uclibc/0.9.33-arc/fix-fstat-for-be.patch | 32 ----- .../uclibc/0.9.33-arc/fix-susv3-legacy-bcmp.patch | 37 ----- package/uclibc/0.9.33-arc/fix-susv3-legacy.patch | 36 ----- .../0.9.33-arc/uclibc-arc-add-__kernel_long.patch | 29 ---- package/uclibc/Config.in | 9 +- package/uclibc/uclibc.mk | 7 +- 19 files changed, 22 insertions(+), 425 deletions(-) delete mode 100644 package/gcc/4.8-arc/100-uclibc-conf.patch delete mode 100644 package/gcc/4.8-arc/301-missing-execinfo_h.patch
Quoted 9 lines
delete mode 100644 package/gcc/4.8-arc/302-c99-snprintf.patch delete mode 100644 package/gcc/4.8-arc/305-libmudflap-susv3-legacy.patch delete mode 100644 package/gcc/4.8-arc/disable_gc_sections.patch delete mode 100644 package/gcc/4.8-arc/fix_branch_out_of_range.patch delete mode 100644 package/uclibc/0.9.33-arc/fix-fstat-for-be.patch delete mode 100644 package/uclibc/0.9.33-arc/fix-susv3-legacy-bcmp.patch delete mode 100644 package/uclibc/0.9.33-arc/fix-susv3-legacy.patch delete mode 100644 package/uclibc/0.9.33-arc/uclibc-arc-add-__kernel_long.patch
Mischa,
I have tested these patches and they work for me. I have rebased my microblaze patches on top of them.
Spenser
Signature · 10 lines
Spenser Gilliland Computer Engineer IIT ECASP Lab -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131113/62bf817d/attachment.asc>