Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/6] Various external toolchain updates
@ 2013-12-27 11:32 Thomas Petazzoni
  2013-12-27 11:32 ` [Buildroot] [PATCH 1/6] toolchain-external: add Sourcery ARM 2013.11, remove Sourcery ARM 2011.09 Thomas Petazzoni
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: Thomas Petazzoni @ 2013-12-27 11:32 UTC (permalink / raw)
  To: buildroot

Hello,

Here is a round of misc external toolchain updates: Sourcery ARM,
Sourcery MIPS, Linaro ARM, Linaro AArch64, Blackfin, and deprecation
of Microblaze toolchains.

Thomas

Thomas Petazzoni (6):
  toolchain-external: add Sourcery ARM 2013.11, remove Sourcery ARM
    2011.09
  toolchain-external: add Sourcery MIPS 2013.11, remove Sourcery MIPS
    2012.03
  toolchain-external: update Linaro ARM toolchains
  toolchain-external: update Linaro AArch64 toolchains
  toolchain-external: mark Microblaze external toolchains as deprecated
  toolchain-external: add support for the Blackfin 2013R1 toolchain

 toolchain/toolchain-external/Config.in             | 133 ++++++++++++---------
 toolchain/toolchain-external/toolchain-external.mk |  48 ++++----
 2 files changed, 104 insertions(+), 77 deletions(-)

-- 
1.8.3.2

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [PATCH 1/6] toolchain-external: add Sourcery ARM 2013.11, remove Sourcery ARM 2011.09
  2013-12-27 11:32 [Buildroot] [PATCH 0/6] Various external toolchain updates Thomas Petazzoni
@ 2013-12-27 11:32 ` Thomas Petazzoni
  2013-12-29 17:19   ` Yann E. MORIN
  2013-12-27 11:32 ` [Buildroot] [PATCH 2/6] toolchain-external: add Sourcery MIPS 2013.11, remove Sourcery MIPS 2012.03 Thomas Petazzoni
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 19+ messages in thread
From: Thomas Petazzoni @ 2013-12-27 11:32 UTC (permalink / raw)
  To: buildroot

This commit adds the support for the recently release Sourcery ARM
2013.11 toolchain (gcc 4.8, gdb 7.6, glibc 2.18, gdb 7.6), and
consequently removes the support for the Sourcery ARM 2011.09
toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 toolchain/toolchain-external/Config.in             | 26 +++++++++++-----------
 toolchain/toolchain-external/toolchain-external.mk |  8 +++----
 2 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 22e3fb2..0607693 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -77,8 +77,8 @@ comment "Linaro toolchains available for Cortex-A + EABIhf"
 	depends on BR2_GCC_TARGET_ARCH != "armv7-a" || !BR2_ARM_EABIHF
 	depends on !BR2_PREFER_STATIC_LIB
 
-config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
-	bool "Sourcery CodeBench ARM 2013.05"
+config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
+	bool "Sourcery CodeBench ARM 2013.11"
 	depends on BR2_arm
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
 	depends on BR2_ARM_EABI
@@ -89,8 +89,8 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
 	select BR2_HOSTARCH_NEEDS_IA32_LIBS
 	help
 	  Sourcery CodeBench toolchain for the ARM architecture, from
-	  Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52, glibc
-	  2.17 and gdb 7.4.50, kernel headers 3.8.2. It has support
+	  Mentor Graphics. It uses gcc 4.8.1, binutils 2.23.52, glibc
+	  2.18 and gdb 7.6.50, kernel headers 3.11. It has support
 	  for the following variants:
 	    - ARMv5TE, little endian, soft-float, glibc
 	      Select ARM926T, ARM10T, XScale or another ARMv5 core
@@ -103,8 +103,8 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
 	      Select BR2_SOFT_FLOAT
 	      Set BR2_TARGET_OPTIMIZATION to -mthumb
 
-config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
-	bool "Sourcery CodeBench ARM 2012.03"
+config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
+	bool "Sourcery CodeBench ARM 2013.05"
 	depends on BR2_arm
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
 	depends on BR2_ARM_EABI
@@ -115,8 +115,8 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
 	select BR2_HOSTARCH_NEEDS_IA32_LIBS
 	help
 	  Sourcery CodeBench toolchain for the ARM architecture, from
-	  Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53, glibc
-	  2.15 and gdb 7.2.50, kernel headers 3.2.10. It has support
+	  Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52, glibc
+	  2.17 and gdb 7.4.50, kernel headers 3.8.2. It has support
 	  for the following variants:
 	    - ARMv5TE, little endian, soft-float, glibc
 	      Select ARM926T, ARM10T, XScale or another ARMv5 core
@@ -129,8 +129,8 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
 	      Select BR2_SOFT_FLOAT
 	      Set BR2_TARGET_OPTIMIZATION to -mthumb
 
-config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109
-	bool "Sourcery CodeBench ARM 2011.09"
+config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
+	bool "Sourcery CodeBench ARM 2012.03"
 	depends on BR2_arm
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
 	depends on BR2_ARM_EABI
@@ -141,8 +141,8 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109
 	select BR2_HOSTARCH_NEEDS_IA32_LIBS
 	help
 	  Sourcery CodeBench toolchain for the ARM architecture, from
-	  Mentor Graphics. It uses gcc 4.6.1, binutils 2.21.53, glibc
-	  2.13 and gdb 7.2.50, kernel headers 3.0.1. It has support
+	  Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53, glibc
+	  2.15 and gdb 7.2.50, kernel headers 3.2.10. It has support
 	  for the following variants:
 	    - ARMv5TE, little endian, soft-float, glibc
 	      Select ARM926T, ARM10T, XScale or another ARMv5 core
@@ -839,9 +839,9 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
 	default "arm-linux-gnueabihf"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09
 	default "arm-linux-gnueabihf"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_08
 	default "arm-linux-gnueabihf"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_07
-	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109
 	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
 	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
+	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
 	default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
 	default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
 	default "aarch64-linux-gnu"      if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_09
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index bd4f375..747d7e3 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -242,15 +242,15 @@ define TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK
 	ln -sf . $(TARGET_DIR)/usr/lib/arm-linux-gnueabihf
 endef
 
-ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109),y)
-TOOLCHAIN_EXTERNAL_SITE = http://sourcery.mentor.com/public/gnu_toolchain/arm-none-linux-gnueabi/
-TOOLCHAIN_EXTERNAL_SOURCE = arm-2011.09-70-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203),y)
+ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203),y)
 TOOLCHAIN_EXTERNAL_SITE = http://sourcery.mentor.com/public/gnu_toolchain/arm-none-linux-gnueabi/
 TOOLCHAIN_EXTERNAL_SOURCE = arm-2012.03-57-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305),y)
 TOOLCHAIN_EXTERNAL_SITE = http://sourcery.mentor.com/public/gnu_toolchain/arm-none-linux-gnueabi/
 TOOLCHAIN_EXTERNAL_SOURCE = arm-2013.05-24-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311),y)
+TOOLCHAIN_EXTERNAL_SITE = http://sourcery.mentor.com/public/gnu_toolchain/arm-none-linux-gnueabi/
+TOOLCHAIN_EXTERNAL_SOURCE = arm-2013.11-33-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109),y)
 TOOLCHAIN_EXTERNAL_SITE = http://software-dl.ti.com/sdoemb/sdoemb_public_sw/arago_toolchain/2011_09/exports/
 TOOLCHAIN_EXTERNAL_SOURCE = arago-2011.09-armv7a-linux-gnueabi-sdk.tar.bz2
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [Buildroot] [PATCH 2/6] toolchain-external: add Sourcery MIPS 2013.11, remove Sourcery MIPS 2012.03
  2013-12-27 11:32 [Buildroot] [PATCH 0/6] Various external toolchain updates Thomas Petazzoni
  2013-12-27 11:32 ` [Buildroot] [PATCH 1/6] toolchain-external: add Sourcery ARM 2013.11, remove Sourcery ARM 2011.09 Thomas Petazzoni
@ 2013-12-27 11:32 ` Thomas Petazzoni
  2013-12-27 11:56   ` Baruch Siach
  2013-12-29 17:26   ` Yann E. MORIN
  2013-12-27 11:32 ` [Buildroot] [PATCH 3/6] toolchain-external: update Linaro ARM toolchains Thomas Petazzoni
                   ` (3 subsequent siblings)
  5 siblings, 2 replies; 19+ messages in thread
From: Thomas Petazzoni @ 2013-12-27 11:32 UTC (permalink / raw)
  To: buildroot

This commit adds the support for the recently release Sourcery MIPS
2013.11 toolchain (gcc 4.8, gdb 7.6, glibc 2.18, gdb 7.6), and
consequently removes the support for the Sourcery MIPS 2012.03
toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 toolchain/toolchain-external/Config.in             | 42 +++++++++++-----------
 toolchain/toolchain-external/toolchain-external.mk |  6 ++--
 2 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 0607693..d6d1960 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -201,8 +201,8 @@ config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
 
 	  This toolchain uses software-floating point.
 
-config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201305
-	bool "Sourcery CodeBench MIPS 2013.05"
+config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311
+	bool "Sourcery CodeBench MIPS 2013.11"
 	depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
 	depends on !BR2_MIPS_NABI32
@@ -213,9 +213,9 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201305
 	select BR2_HOSTARCH_NEEDS_IA32_LIBS
 	help
 	  Sourcery CodeBench toolchain for the MIPS architecture, from
-	  Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52, glibc
-	  2.17, uClibc 0.9.30 and gdb 7.4.50, kernel headers
-	  3.8.2. It has support for the following variants:
+	  Mentor Graphics. It uses gcc 4.8.1, binutils 2.23.52, glibc
+	  2.18, uClibc 0.9.30 and gdb 7.6.50, kernel headers
+	  3.11. It has support for the following variants:
 	    - MIPS32 O32 big endian glibc
 	      Select a MIPS generic core
 	      Disable BR2_SOFT_FLOAT
@@ -269,9 +269,9 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201305
 	    - MIPS32 little endian soft float uclibc
 	      Not usable in Buildroot yet.
 
-config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209
-	bool "Sourcery CodeBench MIPS 2012.09"
-	depends on BR2_mips || BR2_mipsel
+config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201305
+	bool "Sourcery CodeBench MIPS 2013.05"
+	depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
 	depends on !BR2_MIPS_NABI32
 	depends on !BR2_PREFER_STATIC_LIB
@@ -281,35 +281,35 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209
 	select BR2_HOSTARCH_NEEDS_IA32_LIBS
 	help
 	  Sourcery CodeBench toolchain for the MIPS architecture, from
-	  Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51, glibc
-	  2.16, uClibc 0.9.30 and gdb 7.4.50, kernel headers
-	  3.5.4. It has support for the following variants:
+	  Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52, glibc
+	  2.17, uClibc 0.9.30 and gdb 7.4.50, kernel headers
+	  3.8.2. It has support for the following variants:
 	    - MIPS32 O32 big endian glibc
 	      Select a MIPS generic core
 	      Disable BR2_SOFT_FLOAT
 	    - MIPS64 big endian glibc
-	      Select a MIPS generic core
+	      Select a MIPS64 generic core
 	      Select the n64 ABI
 	      Disable BR2_SOFT_FLOAT
 	    - MIPS32 O32 little endian glibc
 	      Select a MIPS generic core
 	      Disable BR2_SOFT_FLOAT
 	    - MIPS64 little endian glibc
-	      Select a MIPS generic core
+	      Select a MIPS64 generic core
 	      Select the n64 ABI
 	      Disable BR2_SOFT_FLOAT
 	    - MIPS32 big endian soft float glibc
 	      Select a MIPS generic core
 	      Select BR2_SOFT_FLOAT
 	    - MIPS64 big endian soft float glibc
-	      Select a MIPS generic core
+	      Select a MIPS64 generic core
 	      Select the n64 ABI
 	      Select BR2_SOFT_FLOAT
 	    - MIPS32 little endian soft float glibc
 	      Select a MIPS generic core
 	      Select BR2_SOFT_FLOAT
 	    - MIPS64 little endian soft float glibc
-	      Select a MIPS generic core
+	      Select a MIPS64 generic core
 	      Select the n64 ABI
 	      Select BR2_SOFT_FLOAT
 	    - MIPS32 big endian microMIPS glibc
@@ -337,8 +337,8 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209
 	    - MIPS32 little endian soft float uclibc
 	      Not usable in Buildroot yet.
 
-config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201203
-	bool "Sourcery CodeBench MIPS 2012.03"
+config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209
+	bool "Sourcery CodeBench MIPS 2012.09"
 	depends on BR2_mips || BR2_mipsel
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
 	depends on !BR2_MIPS_NABI32
@@ -349,9 +349,9 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201203
 	select BR2_HOSTARCH_NEEDS_IA32_LIBS
 	help
 	  Sourcery CodeBench toolchain for the MIPS architecture, from
-	  Mentor Graphics. It uses gcc 4.6.3, binutils 2.21.53, glibc
-	  2.15, uClibc 0.9.30 and gdb 7.2.50, kernel headers
-	  3.2.10. It has support for the following variants:
+	  Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51, glibc
+	  2.16, uClibc 0.9.30 and gdb 7.4.50, kernel headers
+	  3.5.4. It has support for the following variants:
 	    - MIPS32 O32 big endian glibc
 	      Select a MIPS generic core
 	      Disable BR2_SOFT_FLOAT
@@ -851,9 +851,9 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
 	default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
 	default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
 	default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
-	default "mips-linux-gnu"         if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201203
 	default "mips-linux-gnu"         if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209
 	default "mips-linux-gnu"         if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201305
+	default "mips-linux-gnu"         if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311
 	default "nios2-linux-gnu"        if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
 	default "powerpc-linux-gnu"      if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
 	default "powerpc-linux-gnu"      if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index 747d7e3..64c4d0b 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -277,15 +277,15 @@ else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09),y)
 TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.09/components/toolchain/binaries/
 TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux.tar.xz
 TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201203),y)
-TOOLCHAIN_EXTERNAL_SITE = http://sourcery.mentor.com/public/gnu_toolchain/mips-linux-gnu/
-TOOLCHAIN_EXTERNAL_SOURCE = mips-2012.03-63-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209),y)
 TOOLCHAIN_EXTERNAL_SITE = http://sourcery.mentor.com/public/gnu_toolchain/mips-linux-gnu/
 TOOLCHAIN_EXTERNAL_SOURCE = mips-2012.09-99-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201305),y)
 TOOLCHAIN_EXTERNAL_SITE = http://sourcery.mentor.com/public/gnu_toolchain/mips-linux-gnu/
 TOOLCHAIN_EXTERNAL_SOURCE = mips-2013.05-66-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201311),y)
+TOOLCHAIN_EXTERNAL_SITE = http://sourcery.mentor.com/public/gnu_toolchain/mips-linux-gnu/
+TOOLCHAIN_EXTERNAL_SOURCE = mips-2013.11-36-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305),y)
 TOOLCHAIN_EXTERNAL_SITE = http://sourcery.mentor.com/public/gnu_toolchain/nios2-linux-gnu/
 TOOLCHAIN_EXTERNAL_SOURCE = sourceryg++-2013.05-43-nios2-linux-gnu-i686-pc-linux-gnu.tar.bz2
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [Buildroot] [PATCH 3/6] toolchain-external: update Linaro ARM toolchains
  2013-12-27 11:32 [Buildroot] [PATCH 0/6] Various external toolchain updates Thomas Petazzoni
  2013-12-27 11:32 ` [Buildroot] [PATCH 1/6] toolchain-external: add Sourcery ARM 2013.11, remove Sourcery ARM 2011.09 Thomas Petazzoni
  2013-12-27 11:32 ` [Buildroot] [PATCH 2/6] toolchain-external: add Sourcery MIPS 2013.11, remove Sourcery MIPS 2012.03 Thomas Petazzoni
@ 2013-12-27 11:32 ` Thomas Petazzoni
  2013-12-27 11:32 ` [Buildroot] [PATCH 4/6] toolchain-external: update Linaro AArch64 toolchains Thomas Petazzoni
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 19+ messages in thread
From: Thomas Petazzoni @ 2013-12-27 11:32 UTC (permalink / raw)
  To: buildroot

Add Linaro ARM 2013.10 and Linaro ARM 2013.11, and remove Linaro ARM
2013.07 and Linaro ARM 2013.08.

The main change for those versions is the switch to eglibc 2.18.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 toolchain/toolchain-external/Config.in             | 26 +++++++++++-----------
 toolchain/toolchain-external/toolchain-external.mk | 16 ++++++-------
 2 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index d6d1960..e32a16e 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -6,8 +6,8 @@ choice
 comment "(e)glibc toolchains only available with shared lib support"
 	depends on BR2_PREFER_STATIC_LIB
 
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09
-	bool "Linaro 2013.09"
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11
+	bool "Linaro 2013.11"
 	depends on BR2_arm
 	depends on BR2_GCC_TARGET_ARCH = "armv7-a"
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
@@ -19,8 +19,8 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09
 	select BR2_HOSTARCH_NEEDS_IA32_LIBS
 	help
 	  Linaro toolchain for the ARM architecture. It uses Linaro
-	  GCC 2013.09 (based on gcc 4.8), Linaro GDB 2013.05 (based on
-	  GDB 7.6), eglibc 2.17, Binutils 2013.06 (based on 2.23). It
+	  GCC 2013.11 (based on gcc 4.8), Linaro GDB 2013.10 (based on
+	  GDB 7.6), eglibc 2.18, Binutils 2013.10 (based on 2.23). It
 	  generates code that runs on all Cortex-A profile devices,
 	  but tuned for the Cortex-A9. The code generated is Thumb 2,
 	  with the hard floating point calling convention, and uses
@@ -28,8 +28,8 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09
 
 	  To use this toolchain, you must disable soft float usage.
 
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_08
-	bool "Linaro 2013.08"
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10
+	bool "Linaro 2013.10"
 	depends on BR2_arm
 	depends on BR2_GCC_TARGET_ARCH = "armv7-a"
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
@@ -41,8 +41,8 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_08
 	select BR2_HOSTARCH_NEEDS_IA32_LIBS
 	help
 	  Linaro toolchain for the ARM architecture. It uses Linaro
-	  GCC 2013.08 (based on gcc 4.8), Linaro GDB 2013.05 (based on
-	  GDB 7.6), eglibc 2.17, Binutils 2013.06 (based on 2.23). It
+	  GCC 2013.10 (based on gcc 4.8), Linaro GDB 2013.10 (based on
+	  GDB 7.6), eglibc 2.18, Binutils 2013.10 (based on 2.23). It
 	  generates code that runs on all Cortex-A profile devices,
 	  but tuned for the Cortex-A9. The code generated is Thumb 2,
 	  with the hard floating point calling convention, and uses
@@ -50,8 +50,8 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_08
 
 	  To use this toolchain, you must disable soft float usage.
 
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_07
-	bool "Linaro 2013.07"
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09
+	bool "Linaro 2013.09"
 	depends on BR2_arm
 	depends on BR2_GCC_TARGET_ARCH = "armv7-a"
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
@@ -63,7 +63,7 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_07
 	select BR2_HOSTARCH_NEEDS_IA32_LIBS
 	help
 	  Linaro toolchain for the ARM architecture. It uses Linaro
-	  GCC 2013.07 (based on gcc 4.8), Linaro GDB 2013.05 (based on
+	  GCC 2013.09 (based on gcc 4.8), Linaro GDB 2013.05 (based on
 	  GDB 7.6), eglibc 2.17, Binutils 2013.06 (based on 2.23). It
 	  generates code that runs on all Cortex-A profile devices,
 	  but tuned for the Cortex-A9. The code generated is Thumb 2,
@@ -836,9 +836,9 @@ config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
 
 config BR2_TOOLCHAIN_EXTERNAL_PREFIX
 	string
+	default "arm-linux-gnueabihf"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11
+	default "arm-linux-gnueabihf"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10
 	default "arm-linux-gnueabihf"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09
-	default "arm-linux-gnueabihf"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_08
-	default "arm-linux-gnueabihf"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_07
 	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
 	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
 	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index 64c4d0b..0e12c76 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -265,18 +265,18 @@ define TOOLCHAIN_EXTERNAL_FIXUP_CMDS
 	mv $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/arago-2011.09/armv5te/* $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/
 	rm -rf $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/arago-2011.09/
 endef
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_07),y)
-TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.07/components/toolchain/binaries/
-TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.8-2013.07-1_linux.tar.xz
-TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_08),y)
-TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.08/components/toolchain/binaries/
-TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.8-2013.08_linux.tar.xz
-TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_09),y)
 TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.09/components/toolchain/binaries/
 TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux.tar.xz
 TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_10),y)
+TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.10/components/toolchain/binaries/
+TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux.tar.xz
+TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_11),y)
+TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.11/components/toolchain/binaries/
+TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.8-2013.11_linux.tar.xz
+TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209),y)
 TOOLCHAIN_EXTERNAL_SITE = http://sourcery.mentor.com/public/gnu_toolchain/mips-linux-gnu/
 TOOLCHAIN_EXTERNAL_SOURCE = mips-2012.09-99-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [Buildroot] [PATCH 4/6] toolchain-external: update Linaro AArch64 toolchains
  2013-12-27 11:32 [Buildroot] [PATCH 0/6] Various external toolchain updates Thomas Petazzoni
                   ` (2 preceding siblings ...)
  2013-12-27 11:32 ` [Buildroot] [PATCH 3/6] toolchain-external: update Linaro ARM toolchains Thomas Petazzoni
@ 2013-12-27 11:32 ` Thomas Petazzoni
  2013-12-29 17:32   ` Yann E. MORIN
  2013-12-29 17:40   ` Thomas De Schampheleire
  2013-12-27 11:32 ` [Buildroot] [PATCH 5/6] toolchain-external: mark Microblaze external toolchains as deprecated Thomas Petazzoni
  2013-12-27 11:32 ` [Buildroot] [PATCH 6/6] toolchain-external: add support for the Blackfin 2013R1 toolchain Thomas Petazzoni
  5 siblings, 2 replies; 19+ messages in thread
From: Thomas Petazzoni @ 2013-12-27 11:32 UTC (permalink / raw)
  To: buildroot

Add Linaro AArch64 2013.10 and Linaro AArch64 2013.11, and remove
Linaro AArch64 2013.07 and Linaro AArch64 2013.08.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 toolchain/toolchain-external/Config.in             | 16 ++++++++--------
 toolchain/toolchain-external/toolchain-external.mk | 12 ++++++------
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index e32a16e..4c3c8a4 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -747,8 +747,8 @@ config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
 	  Toolchain for the Microblaze architecture, from
 	  http://wiki.xilinx.com/mb-gnu-tools
 
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_09
-	bool "Linaro AArch64 13.09"
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_11
+	bool "Linaro AArch64 13.11"
 	depends on BR2_aarch64
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
 	depends on !BR2_PREFER_STATIC_LIB
@@ -760,8 +760,8 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_09
 	  Toolchain for the AArch64 architecture, from
 	  http://www.linaro.org/engineering/armv8/
 
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_08
-	bool "Linaro AArch64 13.08"
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_10
+	bool "Linaro AArch64 13.10"
 	depends on BR2_aarch64
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
 	depends on !BR2_PREFER_STATIC_LIB
@@ -773,8 +773,8 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_08
 	  Toolchain for the AArch64 architecture, from
 	  http://www.linaro.org/engineering/armv8/
 
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_07
-	bool "Linaro AArch64 13.07"
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_09
+	bool "Linaro AArch64 13.09"
 	depends on BR2_aarch64
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
 	depends on !BR2_PREFER_STATIC_LIB
@@ -844,9 +844,9 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
 	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
 	default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
 	default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
+	default "aarch64-linux-gnu"      if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_11
+	default "aarch64-linux-gnu"      if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_10
 	default "aarch64-linux-gnu"      if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_09
-	default "aarch64-linux-gnu"      if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_08
-	default "aarch64-linux-gnu"      if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_07
 	default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
 	default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
 	default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index 0e12c76..6a44eaf 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -339,15 +339,15 @@ TOOLCHAIN_EXTERNAL_SOURCE = lin32-microblaze-unknown-linux-gnu_14.3_early.tar.xz
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2),y)
 TOOLCHAIN_EXTERNAL_SITE = http://sources.buildroot.net/
 TOOLCHAIN_EXTERNAL_SOURCE = microblaze-unknown-linux-gnu.tgz
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_07),y)
-TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.07/components/toolchain/binaries/
-TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.8-2013.07-1_linux.tar.xz
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_08),y)
-TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.08/components/toolchain/binaries/
-TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.8-2013.08_linux.tar.xz
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_09),y)
 TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.09/components/toolchain/binaries/
 TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.8-2013.09_linux.tar.xz
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_10),y)
+TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.10/components/toolchain/binaries/
+TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.8-2013.10-1_linux.tar.xz
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_11),y)
+TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.11/components/toolchain/binaries/
+TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.8-2013.11_linux.tar.xz
 else
 # Custom toolchain
 TOOLCHAIN_EXTERNAL_SITE = $(dir $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_URL)))
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [Buildroot] [PATCH 5/6] toolchain-external: mark Microblaze external toolchains as deprecated
  2013-12-27 11:32 [Buildroot] [PATCH 0/6] Various external toolchain updates Thomas Petazzoni
                   ` (3 preceding siblings ...)
  2013-12-27 11:32 ` [Buildroot] [PATCH 4/6] toolchain-external: update Linaro AArch64 toolchains Thomas Petazzoni
@ 2013-12-27 11:32 ` Thomas Petazzoni
  2013-12-29 17:38   ` Yann E. MORIN
  2013-12-27 11:32 ` [Buildroot] [PATCH 6/6] toolchain-external: add support for the Blackfin 2013R1 toolchain Thomas Petazzoni
  5 siblings, 1 reply; 19+ messages in thread
From: Thomas Petazzoni @ 2013-12-27 11:32 UTC (permalink / raw)
  To: buildroot

The Xilinx Microblaze external toolchains that we had support for are
very old, and are causing a huge number of build issues. Thanks to
Spenser Gilliland, we now have support for Microblaze in the internal
toolchain backend, and the autobuilders have been using the internal
toolchain backend since then. Therefore, it's time to deprecate those
old and unusable external toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 toolchain/toolchain-external/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 4c3c8a4..e9a0548 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -704,6 +704,7 @@ config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3
 	depends on BR2_microblazeel
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
 	depends on !BR2_PREFER_STATIC_LIB
+	depends on BR2_DEPRECATED
 	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
 	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
 	select BR2_HOSTARCH_NEEDS_IA32_LIBS
@@ -717,6 +718,7 @@ config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
 	depends on BR2_microblazeel
 	depends on BR2_HOSTARCH = "x86_64"
 	depends on !BR2_PREFER_STATIC_LIB
+	depends on BR2_DEPRECATED
 	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
 	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
 	help
@@ -728,6 +730,7 @@ config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3
 	depends on BR2_microblazebe
 	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
 	depends on !BR2_PREFER_STATIC_LIB
+	depends on BR2_DEPRECATED
 	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
 	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
 	select BR2_HOSTARCH_NEEDS_IA32_LIBS
@@ -741,6 +744,7 @@ config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
 	depends on BR2_microblazebe
 	depends on BR2_HOSTARCH = "x86_64"
 	depends on !BR2_PREFER_STATIC_LIB
+	depends on BR2_DEPRECATED
 	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
 	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
 	help
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [Buildroot] [PATCH 6/6] toolchain-external: add support for the Blackfin 2013R1 toolchain
  2013-12-27 11:32 [Buildroot] [PATCH 0/6] Various external toolchain updates Thomas Petazzoni
                   ` (4 preceding siblings ...)
  2013-12-27 11:32 ` [Buildroot] [PATCH 5/6] toolchain-external: mark Microblaze external toolchains as deprecated Thomas Petazzoni
@ 2013-12-27 11:32 ` Thomas Petazzoni
  2013-12-29 17:40   ` Yann E. MORIN
  5 siblings, 1 reply; 19+ messages in thread
From: Thomas Petazzoni @ 2013-12-27 11:32 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 toolchain/toolchain-external/Config.in             | 19 +++++++++++++++++++
 toolchain/toolchain-external/toolchain-external.mk |  6 +++++-
 2 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index e9a0548..a8ec96a 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -665,6 +665,23 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
 	  Other architecture variants (beyond Pentium-4/Xeon) are
 	  supported as well, but glibc is not optimised for it.
 
+config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1
+	bool "Blackfin.uclinux.org 2013R1"
+	depends on BR2_bfin
+	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
+	select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
+	select BR2_INSTALL_LIBSTDCPP
+	select BR2_LARGEFILE
+	select BR2_INET_IPV6
+	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
+	select BR2_USE_WCHAR
+	select BR2_TOOLCHAIN_HAS_THREADS
+	select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
+	select BR2_HOSTARCH_NEEDS_IA32_LIBS
+	help
+	  Toolchain for the Blackfin architecture, from
+	  http://blackfin.uclinux.org.
+
 config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
 	bool "Blackfin.uclinux.org 2012R2-RC2"
 	depends on BR2_bfin
@@ -873,6 +890,8 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
 	default "bfin-linux-uclibc"	 if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 && BR2_BINFMT_FDPIC
 	default "bfin-uclinux"		 if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FLAT
 	default "bfin-linux-uclibc"	 if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && BR2_BINFMT_FDPIC
+	default "bfin-uclinux"		 if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FLAT
+	default "bfin-linux-uclibc"	 if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1 && BR2_BINFMT_FDPIC
 	default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX \
 					 if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
 
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index 6a44eaf..1084ee2 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -327,6 +327,10 @@ else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2),y)
 TOOLCHAIN_EXTERNAL_SITE   = http://downloads.sourceforge.net/project/adi-toolchain/2012R2/2012R2-RC2/i386/
 TOOLCHAIN_EXTERNAL_SOURCE = blackfin-toolchain-2012R2-RC2.i386.tar.bz2
 TOOLCHAIN_EXTERNAL_EXTRA_DOWNLOADS = blackfin-toolchain-uclibc-full-2012R2-RC2.i386.tar.bz2
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1),y)
+TOOLCHAIN_EXTERNAL_SITE   = http://downloads.sourceforge.net/project/adi-toolchain/2013R1/2013R1-RC1/i386/
+TOOLCHAIN_EXTERNAL_SOURCE = blackfin-toolchain-2013R1-RC1.i386.tar.bz2
+TOOLCHAIN_EXTERNAL_EXTRA_DOWNLOADS = blackfin-toolchain-uclibc-full-2013R1-RC1.i386.tar.bz2
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3),y)
 TOOLCHAIN_EXTERNAL_SITE = http://sources.buildroot.net/
 TOOLCHAIN_EXTERNAL_SOURCE = lin32-microblazeel-unknown-linux-gnu_14.3_early.tar.xz
@@ -364,7 +368,7 @@ endif
 
 TOOLCHAIN_EXTERNAL_INSTALL_STAGING = YES
 
-ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1)$(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2),y)
+ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1)$(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2)$(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1),y)
 # Special handling for Blackfin toolchain, because of the split in two
 # tarballs, and the organization of tarball contents. The tarballs
 # contain ./opt/uClinux/{bfin-uclinux,bfin-linux-uclibc} directories,
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 19+ messages in thread

* [Buildroot] [PATCH 2/6] toolchain-external: add Sourcery MIPS 2013.11, remove Sourcery MIPS 2012.03
  2013-12-27 11:32 ` [Buildroot] [PATCH 2/6] toolchain-external: add Sourcery MIPS 2013.11, remove Sourcery MIPS 2012.03 Thomas Petazzoni
@ 2013-12-27 11:56   ` Baruch Siach
  2013-12-29 17:26   ` Yann E. MORIN
  1 sibling, 0 replies; 19+ messages in thread
From: Baruch Siach @ 2013-12-27 11:56 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

A small nit.

On Fri, Dec 27, 2013 at 12:32:18PM +0100, Thomas Petazzoni wrote:
> This commit adds the support for the recently release Sourcery MIPS
> 2013.11 toolchain (gcc 4.8, gdb 7.6, glibc 2.18, gdb 7.6), and

You mention gdb twice. The same goes for the previous patch.

baruch

> consequently removes the support for the Sourcery MIPS 2012.03
> toolchain.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [PATCH 1/6] toolchain-external: add Sourcery ARM 2013.11, remove Sourcery ARM 2011.09
  2013-12-27 11:32 ` [Buildroot] [PATCH 1/6] toolchain-external: add Sourcery ARM 2013.11, remove Sourcery ARM 2011.09 Thomas Petazzoni
@ 2013-12-29 17:19   ` Yann E. MORIN
  0 siblings, 0 replies; 19+ messages in thread
From: Yann E. MORIN @ 2013-12-29 17:19 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2013-12-27 12:32 +0100, Thomas Petazzoni spake thusly:
> This commit adds the support for the recently release Sourcery ARM
> 2013.11 toolchain (gcc 4.8, gdb 7.6, glibc 2.18, gdb 7.6), and

As Baruch pointed out: duplicate 'gdb'.

> consequently removes the support for the Sourcery ARM 2011.09
> toolchain.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [PATCH 2/6] toolchain-external: add Sourcery MIPS 2013.11, remove Sourcery MIPS 2012.03
  2013-12-27 11:32 ` [Buildroot] [PATCH 2/6] toolchain-external: add Sourcery MIPS 2013.11, remove Sourcery MIPS 2012.03 Thomas Petazzoni
  2013-12-27 11:56   ` Baruch Siach
@ 2013-12-29 17:26   ` Yann E. MORIN
  1 sibling, 0 replies; 19+ messages in thread
From: Yann E. MORIN @ 2013-12-29 17:26 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2013-12-27 12:32 +0100, Thomas Petazzoni spake thusly:
> This commit adds the support for the recently release Sourcery MIPS
> 2013.11 toolchain (gcc 4.8, gdb 7.6, glibc 2.18, gdb 7.6), and
> consequently removes the support for the Sourcery MIPS 2012.03
> toolchain.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

But see below...

> diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
> index 0607693..d6d1960 100644
> --- a/toolchain/toolchain-external/Config.in
> +++ b/toolchain/toolchain-external/Config.in
[--SNIP--]
> @@ -281,35 +281,35 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209
>  	select BR2_HOSTARCH_NEEDS_IA32_LIBS
>  	help
>  	  Sourcery CodeBench toolchain for the MIPS architecture, from
> -	  Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51, glibc
> -	  2.16, uClibc 0.9.30 and gdb 7.4.50, kernel headers
> -	  3.5.4. It has support for the following variants:
> +	  Mentor Graphics. It uses gcc 4.7.3, binutils 2.23.52, glibc
> +	  2.17, uClibc 0.9.30 and gdb 7.4.50, kernel headers
> +	  3.8.2. It has support for the following variants:
>  	    - MIPS32 O32 big endian glibc
>  	      Select a MIPS generic core
>  	      Disable BR2_SOFT_FLOAT
>  	    - MIPS64 big endian glibc
> -	      Select a MIPS generic core
> +	      Select a MIPS64 generic core

Looks like you're fixing help at the same time, too. Maybe jsut add a
small sentence to the commit log:
    Fix help texts about MIPS64 inconsistencies.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [PATCH 4/6] toolchain-external: update Linaro AArch64 toolchains
  2013-12-27 11:32 ` [Buildroot] [PATCH 4/6] toolchain-external: update Linaro AArch64 toolchains Thomas Petazzoni
@ 2013-12-29 17:32   ` Yann E. MORIN
  2013-12-29 17:40   ` Thomas De Schampheleire
  1 sibling, 0 replies; 19+ messages in thread
From: Yann E. MORIN @ 2013-12-29 17:32 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2013-12-27 12:32 +0100, Thomas Petazzoni spake thusly:
> Add Linaro AArch64 2013.10 and Linaro AArch64 2013.11, and remove
> Linaro AArch64 2013.07 and Linaro AArch64 2013.08.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

But see below, unrelated comment...

[--SNIP--]
> diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
> index 0e12c76..6a44eaf 100644
> --- a/toolchain/toolchain-external/toolchain-external.mk
> +++ b/toolchain/toolchain-external/toolchain-external.mk
> @@ -339,15 +339,15 @@ TOOLCHAIN_EXTERNAL_SOURCE = lin32-microblaze-unknown-linux-gnu_14.3_early.tar.xz
>  else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2),y)
>  TOOLCHAIN_EXTERNAL_SITE = http://sources.buildroot.net/
>  TOOLCHAIN_EXTERNAL_SOURCE = microblaze-unknown-linux-gnu.tgz
> -else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_07),y)
> -TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.07/components/toolchain/binaries/
> -TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.8-2013.07-1_linux.tar.xz
> -else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_08),y)
> -TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.08/components/toolchain/binaries/
> -TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.8-2013.08_linux.tar.xz
>  else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_09),y)
>  TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.09/components/toolchain/binaries/
>  TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.8-2013.09_linux.tar.xz
> +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_10),y)
> +TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.10/components/toolchain/binaries/
> +TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.8-2013.10-1_linux.tar.xz
> +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_11),y)
> +TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/13.11/components/toolchain/binaries/
> +TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.8-2013.11_linux.tar.xz
>  else
>  # Custom toolchain
>  TOOLCHAIN_EXTERNAL_SITE = $(dir $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_URL)))

I find it odd that the menu are listed with reverse order, most recent
first, while the Makefiles are listed in order, oldest first. This
applies to all toolchains, not only the Linaro ones.

Of course, this is not the fault of this patch, as you kept the previous
order. So it does not bar you from applying it.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [PATCH 5/6] toolchain-external: mark Microblaze external toolchains as deprecated
  2013-12-27 11:32 ` [Buildroot] [PATCH 5/6] toolchain-external: mark Microblaze external toolchains as deprecated Thomas Petazzoni
@ 2013-12-29 17:38   ` Yann E. MORIN
  0 siblings, 0 replies; 19+ messages in thread
From: Yann E. MORIN @ 2013-12-29 17:38 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2013-12-27 12:32 +0100, Thomas Petazzoni spake thusly:
> The Xilinx Microblaze external toolchains that we had support for are
> very old, and are causing a huge number of build issues. Thanks to
> Spenser Gilliland, we now have support for Microblaze in the internal
> toolchain backend, and the autobuilders have been using the internal
> toolchain backend since then. Therefore, it's time to deprecate those
> old and unusable external toolchains.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Revied-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [PATCH 6/6] toolchain-external: add support for the Blackfin 2013R1 toolchain
  2013-12-27 11:32 ` [Buildroot] [PATCH 6/6] toolchain-external: add support for the Blackfin 2013R1 toolchain Thomas Petazzoni
@ 2013-12-29 17:40   ` Yann E. MORIN
  0 siblings, 0 replies; 19+ messages in thread
From: Yann E. MORIN @ 2013-12-29 17:40 UTC (permalink / raw)
  To: buildroot

Thomas, All,

On 2013-12-27 12:32 +0100, Thomas Petazzoni spake thusly:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Reviewd-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [PATCH 4/6] toolchain-external: update Linaro AArch64 toolchains
  2013-12-27 11:32 ` [Buildroot] [PATCH 4/6] toolchain-external: update Linaro AArch64 toolchains Thomas Petazzoni
  2013-12-29 17:32   ` Yann E. MORIN
@ 2013-12-29 17:40   ` Thomas De Schampheleire
  2013-12-29 17:53     ` Thomas Petazzoni
  1 sibling, 1 reply; 19+ messages in thread
From: Thomas De Schampheleire @ 2013-12-29 17:40 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On Fri, Dec 27, 2013 at 12:32 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Add Linaro AArch64 2013.10 and Linaro AArch64 2013.11, and remove
> Linaro AArch64 2013.07 and Linaro AArch64 2013.08.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

A while back we discussed the desirability of having so many
subsequent versions of the same toolchain type (in this case Linaro).
IIRC (but I did not cross-check with the actual discussion yet) the
conclusion was that it'd be good to use the gcc version as milestone,
and keep e.g. a 4.4, 4.6, 4.8 gcc based Linaro toolchain, but not keep
multiple 4.8-based versions.

Until now this has not yet been implemented. We could do this in a
one-shot approach, or gradually as new toolchains are added. If we opt
for the second option, your current patchset could be revised to align
with the new strategy.

What do you think about that?

Best regards,
Thomas

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [PATCH 4/6] toolchain-external: update Linaro AArch64 toolchains
  2013-12-29 17:40   ` Thomas De Schampheleire
@ 2013-12-29 17:53     ` Thomas Petazzoni
  2013-12-29 21:51       ` Peter Korsgaard
  0 siblings, 1 reply; 19+ messages in thread
From: Thomas Petazzoni @ 2013-12-29 17:53 UTC (permalink / raw)
  To: buildroot

Dear Thomas De Schampheleire,

On Sun, 29 Dec 2013 18:40:50 +0100, Thomas De Schampheleire wrote:

> On Fri, Dec 27, 2013 at 12:32 PM, Thomas Petazzoni
> <thomas.petazzoni@free-electrons.com> wrote:
> > Add Linaro AArch64 2013.10 and Linaro AArch64 2013.11, and remove
> > Linaro AArch64 2013.07 and Linaro AArch64 2013.08.
> >
> > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> 
> A while back we discussed the desirability of having so many
> subsequent versions of the same toolchain type (in this case Linaro).
> IIRC (but I did not cross-check with the actual discussion yet) the
> conclusion was that it'd be good to use the gcc version as milestone,
> and keep e.g. a 4.4, 4.6, 4.8 gcc based Linaro toolchain, but not keep
> multiple 4.8-based versions.
> 
> Until now this has not yet been implemented. We could do this in a
> one-shot approach, or gradually as new toolchains are added. If we opt
> for the second option, your current patchset could be revised to align
> with the new strategy.
> 
> What do you think about that?

I continue to think that it doesn't work, as I already expressed
originally. Using the gcc version as a way of keeping different
generations of toolchain is, in my opinion, broken: in the present
update of the ARM Linaro toolchain, we continue to have only gcc 4.8
based toolchains, but the newer ones are based on eglibc 2.18, while the
previous ones are based on eglibc 2.17. This is a fairly significant
difference, but if we use only the gcc version as the way of
distinguishing generations of toolchain, then we would get rid of gcc
4.8/eglibc 2.17 toolchains today.

Why would we keep a very old gcc 4.7.x toolchain, but immediately get
rid of a more recent gcc 4.8 toolchain that is based on eglibc 2.17 ?

As we never managed to come up with a reasonable model to handle this,
I believe we should in the mean time continue to update the toolchains
as we used to do in the past.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [PATCH 4/6] toolchain-external: update Linaro AArch64 toolchains
  2013-12-29 17:53     ` Thomas Petazzoni
@ 2013-12-29 21:51       ` Peter Korsgaard
  2014-01-02 13:17         ` Thomas De Schampheleire
  0 siblings, 1 reply; 19+ messages in thread
From: Peter Korsgaard @ 2013-12-29 21:51 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

Hi,

 > Why would we keep a very old gcc 4.7.x toolchain, but immediately get
 > rid of a more recent gcc 4.8 toolchain that is based on eglibc 2.17 ?

 > As we never managed to come up with a reasonable model to handle this,
 > I believe we should in the mean time continue to update the toolchains
 > as we used to do in the past.

Agreed.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [PATCH 4/6] toolchain-external: update Linaro AArch64 toolchains
  2013-12-29 21:51       ` Peter Korsgaard
@ 2014-01-02 13:17         ` Thomas De Schampheleire
  2014-01-02 13:29           ` Thomas Petazzoni
  0 siblings, 1 reply; 19+ messages in thread
From: Thomas De Schampheleire @ 2014-01-02 13:17 UTC (permalink / raw)
  To: buildroot

Hi,

On Sun, Dec 29, 2013 at 10:51 PM, Peter Korsgaard <jacmet@uclibc.org> wrote:
>>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
>
> Hi,
>
>  > Why would we keep a very old gcc 4.7.x toolchain, but immediately get
>  > rid of a more recent gcc 4.8 toolchain that is based on eglibc 2.17 ?
>
>  > As we never managed to come up with a reasonable model to handle this,
>  > I believe we should in the mean time continue to update the toolchains
>  > as we used to do in the past.
>
> Agreed.

While I agree that the existing patchset could continue in the
meanwhile, I think it is worth revisiting the core discussion. For
reference, here is the previous discussion:
http://lists.busybox.net/pipermail/buildroot/2013-October/080119.html

Back then (October) there was not much debate about the idea of only
providing sufficiently-different versions of the Linaro toolchains.
The biggest problem was how to identify the toolchains so that 'minor'
updates can keep the same config symbol (and thus be transparent to
users). This boils down to the question: which parts of the toolchain
may change to continue considering it as 'the same' toolchain.
I think everyone will agree that a new gcc version or a new C library
version means a different toolchain.
However, what about the other parts? If Linaro updates binutils, do we
consider it the same toolchain or not?

Based on this we could devise some logical names of the config symbols.
Note that this does not mean we can't change our minds later. Suppose
we start with the gcc/libc combination as key, and we'd have symbols
LINARO_GCC_4_8_GLIBC_2_17
LINARO_GCC_4_8_GLIBC_2_18
LINARO_GCC_5_0_GLIBC_2_18

and suddenly Linaro releases a toolchain with the same gcc and glibc
version, but some other change that we consider as significant. Then
at that point we can simply introduce a new symbol and keep both, for
example:
LINARO_GCC_4_8_GLIBC_2_17
LINARO_GCC_4_8_GLIBC_2_18
LINARO_GCC_5_0_GLIBC_2_18
LINARO_GCC_5_0_GLIBC_2_18_OTHER_FEATURE


Does this make sense? Did I overlook something?

Thanks,
Thomas

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [PATCH 4/6] toolchain-external: update Linaro AArch64 toolchains
  2014-01-02 13:17         ` Thomas De Schampheleire
@ 2014-01-02 13:29           ` Thomas Petazzoni
  2014-01-02 14:13             ` Thomas De Schampheleire
  0 siblings, 1 reply; 19+ messages in thread
From: Thomas Petazzoni @ 2014-01-02 13:29 UTC (permalink / raw)
  To: buildroot

Dear Thomas De Schampheleire,

Happy new year!

On Thu, 2 Jan 2014 14:17:31 +0100, Thomas De Schampheleire wrote:

> While I agree that the existing patchset could continue in the
> meanwhile, I think it is worth revisiting the core discussion. For
> reference, here is the previous discussion:
> http://lists.busybox.net/pipermail/buildroot/2013-October/080119.html
> 
> Back then (October) there was not much debate about the idea of only
> providing sufficiently-different versions of the Linaro toolchains.
> The biggest problem was how to identify the toolchains so that 'minor'
> updates can keep the same config symbol (and thus be transparent to
> users). This boils down to the question: which parts of the toolchain
> may change to continue considering it as 'the same' toolchain.
> I think everyone will agree that a new gcc version or a new C library
> version means a different toolchain.
> However, what about the other parts? If Linaro updates binutils, do we
> consider it the same toolchain or not?
> 
> Based on this we could devise some logical names of the config symbols.
> Note that this does not mean we can't change our minds later. Suppose
> we start with the gcc/libc combination as key, and we'd have symbols
> LINARO_GCC_4_8_GLIBC_2_17
> LINARO_GCC_4_8_GLIBC_2_18
> LINARO_GCC_5_0_GLIBC_2_18
> 
> and suddenly Linaro releases a toolchain with the same gcc and glibc
> version, but some other change that we consider as significant. Then
> at that point we can simply introduce a new symbol and keep both, for
> example:
> LINARO_GCC_4_8_GLIBC_2_17
> LINARO_GCC_4_8_GLIBC_2_18
> LINARO_GCC_5_0_GLIBC_2_18
> LINARO_GCC_5_0_GLIBC_2_18_OTHER_FEATURE
> 
> Does this make sense? Did I overlook something?

My personal view on this is that I still don't really understand what
is the problem with the current naming scheme. If an user upgrades from
one Buildroot version to another then the version of all components
*are* changing, without changes to the corresponding Config.in symbol.
You update Buildroot, then suddenly you get Qt 5.2 instead of Qt 5.1,
without being notified. At the next Buildroot upgrade, you may still be
using Qt 5.2, or Qt 5.2.1, or Qt 5.3, or 5.4. You have to verify it.

With Linaro toolchains, if you use Linaro 2013.02 in your Buildroot
configuration, then update to a new Buildroot version that still has
Linaro 2013.02, then you will continue to use this toolchain. However,
if Buildroot has updated a number of Linaro toolchains, and 2013.02 is
no longer available, you will automatically default to the latest
Linaro toolchain that exists for your architecture, maybe 2013.06 or
2013.07.

What's the difference with Qt? I don't see any, to be honest.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [Buildroot] [PATCH 4/6] toolchain-external: update Linaro AArch64 toolchains
  2014-01-02 13:29           ` Thomas Petazzoni
@ 2014-01-02 14:13             ` Thomas De Schampheleire
  0 siblings, 0 replies; 19+ messages in thread
From: Thomas De Schampheleire @ 2014-01-02 14:13 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On Thu, Jan 2, 2014 at 2:29 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Thomas De Schampheleire,
>
> Happy new year!

I should have started with that :)
Thanks, same to you and to all buildroot users/developers!

>
> On Thu, 2 Jan 2014 14:17:31 +0100, Thomas De Schampheleire wrote:
>
>> While I agree that the existing patchset could continue in the
>> meanwhile, I think it is worth revisiting the core discussion. For
>> reference, here is the previous discussion:
>> http://lists.busybox.net/pipermail/buildroot/2013-October/080119.html
>>
>> Back then (October) there was not much debate about the idea of only
>> providing sufficiently-different versions of the Linaro toolchains.
>> The biggest problem was how to identify the toolchains so that 'minor'
>> updates can keep the same config symbol (and thus be transparent to
>> users). This boils down to the question: which parts of the toolchain
>> may change to continue considering it as 'the same' toolchain.
>> I think everyone will agree that a new gcc version or a new C library
>> version means a different toolchain.
>> However, what about the other parts? If Linaro updates binutils, do we
>> consider it the same toolchain or not?
>>
>> Based on this we could devise some logical names of the config symbols.
>> Note that this does not mean we can't change our minds later. Suppose
>> we start with the gcc/libc combination as key, and we'd have symbols
>> LINARO_GCC_4_8_GLIBC_2_17
>> LINARO_GCC_4_8_GLIBC_2_18
>> LINARO_GCC_5_0_GLIBC_2_18
>>
>> and suddenly Linaro releases a toolchain with the same gcc and glibc
>> version, but some other change that we consider as significant. Then
>> at that point we can simply introduce a new symbol and keep both, for
>> example:
>> LINARO_GCC_4_8_GLIBC_2_17
>> LINARO_GCC_4_8_GLIBC_2_18
>> LINARO_GCC_5_0_GLIBC_2_18
>> LINARO_GCC_5_0_GLIBC_2_18_OTHER_FEATURE
>>
>> Does this make sense? Did I overlook something?
>
> My personal view on this is that I still don't really understand what
> is the problem with the current naming scheme. If an user upgrades from
> one Buildroot version to another then the version of all components
> *are* changing, without changes to the corresponding Config.in symbol.
> You update Buildroot, then suddenly you get Qt 5.2 instead of Qt 5.1,
> without being notified. At the next Buildroot upgrade, you may still be
> using Qt 5.2, or Qt 5.2.1, or Qt 5.3, or 5.4. You have to verify it.
>
> With Linaro toolchains, if you use Linaro 2013.02 in your Buildroot
> configuration, then update to a new Buildroot version that still has
> Linaro 2013.02, then you will continue to use this toolchain. However,
> if Buildroot has updated a number of Linaro toolchains, and 2013.02 is
> no longer available, you will automatically default to the latest
> Linaro toolchain that exists for your architecture, maybe 2013.06 or
> 2013.07.
>
> What's the difference with Qt? I don't see any, to be honest.

One big difference is that for qt5 you cannot select the version, you
just say "I want qt5".
For the external toolchains, you specify a particular version, out of
a set of provided versions.

The problem arises when we introduce support for a newer version. For
qt5 (and most packages) we simply replace the old version with the new
one. No notification. No migration.
For toolchains (and some other packages) we add the new version, and
typically remove one or more old versions. The question is now: which
toolchains to remove?
- The oldest one? This is the approach taken currently for Linaro toolchains.
- The latest, most similar one?

For Sourcery toolchains, there are versions and patch levels. The
introduction of a toolchain version 2013.11 patchlevel 50 will
overwrite the previous toolchain 2013.11 patchlevel 40 (just an
example). We don't keep two patchlevels of the same toolchain version.
For Linaro, there are no real patchlevels (as far as I understood, I'm
no expert there) but they call everything a new 'version'. Thus, the
Linaro toolchains are released much more frequently than for Sourcery
toolchains. This blend of the version and patchlevel is the cause of
this discussion, I believe.
Two subsequent Linaro releases could be considered as two different
versions, or as one version but different patchlevel (in Sourcery
terminology). The classification used would determine what to do with
the buildroot config symbols (which ones to add and which to remove).

If it's a new 'version' we'd remove the oldest existing version and
add the new one.
If it's a new 'patchlevel', we'd remove the most recent toolchain of
the same 'version' (same combination of most important components) but
different 'patchlevel'.

This approach more or less requires different names of the config
symbols, unless we'd accept that config symbol LINARO_2013.11 could
actually install Linaro 2013.12 (example only).

Best regards,
Thomas

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2014-01-02 14:13 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-27 11:32 [Buildroot] [PATCH 0/6] Various external toolchain updates Thomas Petazzoni
2013-12-27 11:32 ` [Buildroot] [PATCH 1/6] toolchain-external: add Sourcery ARM 2013.11, remove Sourcery ARM 2011.09 Thomas Petazzoni
2013-12-29 17:19   ` Yann E. MORIN
2013-12-27 11:32 ` [Buildroot] [PATCH 2/6] toolchain-external: add Sourcery MIPS 2013.11, remove Sourcery MIPS 2012.03 Thomas Petazzoni
2013-12-27 11:56   ` Baruch Siach
2013-12-29 17:26   ` Yann E. MORIN
2013-12-27 11:32 ` [Buildroot] [PATCH 3/6] toolchain-external: update Linaro ARM toolchains Thomas Petazzoni
2013-12-27 11:32 ` [Buildroot] [PATCH 4/6] toolchain-external: update Linaro AArch64 toolchains Thomas Petazzoni
2013-12-29 17:32   ` Yann E. MORIN
2013-12-29 17:40   ` Thomas De Schampheleire
2013-12-29 17:53     ` Thomas Petazzoni
2013-12-29 21:51       ` Peter Korsgaard
2014-01-02 13:17         ` Thomas De Schampheleire
2014-01-02 13:29           ` Thomas Petazzoni
2014-01-02 14:13             ` Thomas De Schampheleire
2013-12-27 11:32 ` [Buildroot] [PATCH 5/6] toolchain-external: mark Microblaze external toolchains as deprecated Thomas Petazzoni
2013-12-29 17:38   ` Yann E. MORIN
2013-12-27 11:32 ` [Buildroot] [PATCH 6/6] toolchain-external: add support for the Blackfin 2013R1 toolchain Thomas Petazzoni
2013-12-29 17:40   ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox