All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [pull request] Pull request for branch for-2012.08/ext-toolchain-updates
@ 2012-06-03 14:04 Thomas Petazzoni
  2012-06-03 14:04 ` [Buildroot] [PATCH 01/10] toolchain-external: add Linaro 2012.05 Thomas Petazzoni
                   ` (10 more replies)
  0 siblings, 11 replies; 19+ messages in thread
From: Thomas Petazzoni @ 2012-06-03 14:04 UTC (permalink / raw)
  To: buildroot

The following changes since commit 54f88ee8eed9d3ae7ab670d14ba77a97a44caaca:

  nfs-utils: needs pkg-config (2012-05-31 13:16:10 +0200)

are available in the git repository at:

  git://git.free-electrons.com/users/thomas-petazzoni/buildroot.git for-2012.08/ext-toolchain-updates

for you to fetch changes up to 7a2800c2cb33d674a82e1396354225549458a708:

  toolchain-external: on SuperH, use Sourcery CodeBench 2011.09 by default (2012-06-03 16:02:55 +0200)

----------------------------------------------------------------
Thomas Petazzoni (10):
      toolchain-external: add Linaro 2012.05
      toolchain-external: adjust logic to support Linaro 2012.05
      toolchain-external: add Sourcery CodeBench SuperH 2012.03
      toolchain-external: add Sourcery CodeBench x86 2012.03
      toolchain-external: add Blackfin toolchain 2012R1-BETA1
      toolchain-external: add Sourcery CodeBench MIPS 2011.09
      toolchain-external: remove Sourcery CodeBench ARM 2009q3
      toolchain-external: remove Linaro 2012.01
      toolchain-external: on i386/x86_64, use Sourcery CodeBench 2011.09 by default
      toolchain-external: on SuperH, use Sourcery CodeBench 2011.09 by default

 toolchain/helpers.mk                     |    4 +-
 toolchain/toolchain-external/Config.in   |  178 +++++++++++++++++++++++++-----
 toolchain/toolchain-external/ext-tool.mk |   28 +++--
 3 files changed, 170 insertions(+), 40 deletions(-)

Thanks,
-- 
Thomas Petazzoni

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

* [Buildroot] [PATCH 01/10] toolchain-external: add Linaro 2012.05
  2012-06-03 14:04 [Buildroot] [pull request] Pull request for branch for-2012.08/ext-toolchain-updates Thomas Petazzoni
@ 2012-06-03 14:04 ` Thomas Petazzoni
  2012-06-03 14:04 ` [Buildroot] [PATCH 02/10] toolchain-external: adjust logic to support " Thomas Petazzoni
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 19+ messages in thread
From: Thomas Petazzoni @ 2012-06-03 14:04 UTC (permalink / raw)
  To: buildroot

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

diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index f58523f..2bf9c3e 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -3,6 +3,22 @@ if BR2_TOOLCHAIN_EXTERNAL
 choice
 	prompt "Toolchain"
 
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_05
+	bool "Linaro 2012.05"
+	depends on BR2_arm
+	depends on BR2_cortex_a8 || BR2_cortex_a9
+	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
+	select BR2_INSTALL_LIBSTDCPP
+	help
+	  Linaro toolchain for the ARM architecture. It uses Linaro
+	  GCC 2012.05 (based on gcc 4.7), Linaro GDB 2012.05 (based on
+	  GDB 7.4), eglibc 2.13. 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 the VFPv3-D16 FPU instructions.
+
+	  To use this toolchain, you must disable soft float usage.
+
 config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_04
 	bool "Linaro 2012.04"
 	depends on BR2_arm
@@ -519,6 +535,7 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
 	default "arm-linux-gnueabi"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_02
 	default "arm-linux-gnueabi"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_03
 	default "arm-linux-gnueabi"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_04
+	default "arm-linux-gnueabihf"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_05
 	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q3
 	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1
 	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201009
diff --git a/toolchain/toolchain-external/ext-tool.mk b/toolchain/toolchain-external/ext-tool.mk
index 3f58aad..27d71ab 100644
--- a/toolchain/toolchain-external/ext-tool.mk
+++ b/toolchain/toolchain-external/ext-tool.mk
@@ -203,6 +203,9 @@ TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-arm-linux-gnueabi-2012.03-20120326_linux.ta
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_04),y)
 TOOLCHAIN_EXTERNAL_SITE=https://launchpad.net/linaro-toolchain-binaries/trunk/2012.04/+download/
 TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-arm-linux-gnueabi-2012.04-20120426_linux.tar.bz2
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_05),y)
+TOOLCHAIN_EXTERNAL_SITE=https://launchpad.net/linaro-toolchain-binaries/trunk/2012.05/+download/
+TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-arm-linux-gnueabihf-2012.05-20120523_linux.tar.bz2
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS44),y)
 TOOLCHAIN_EXTERNAL_SITE=http://sourcery.mentor.com/sgpp/lite/mips/portal/package7401/public/mips-linux-gnu/
 TOOLCHAIN_EXTERNAL_SOURCE=mips-4.4-303-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2
-- 
1.7.9.5

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

* [Buildroot] [PATCH 02/10] toolchain-external: adjust logic to support Linaro 2012.05
  2012-06-03 14:04 [Buildroot] [pull request] Pull request for branch for-2012.08/ext-toolchain-updates Thomas Petazzoni
  2012-06-03 14:04 ` [Buildroot] [PATCH 01/10] toolchain-external: add Linaro 2012.05 Thomas Petazzoni
@ 2012-06-03 14:04 ` Thomas Petazzoni
  2012-06-03 14:04 ` [Buildroot] [PATCH 03/10] toolchain-external: add Sourcery CodeBench SuperH 2012.03 Thomas Petazzoni
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 19+ messages in thread
From: Thomas Petazzoni @ 2012-06-03 14:04 UTC (permalink / raw)
  To: buildroot

The check_glibc function verifies that the C library of the external
toolchain is glibc. To do so, it verified that a file matching
ld-linux*.so.* or ld.so.* was found in the lib/ directory of the
toolchain's sysroot. However, with the Linaro 2012.05 toolchain, the
lib/ directory contains two links named ld-linux-armhf.so.3 and
ld-linux.so.3, which means that the first ld-linux*.so.* wildcard
expression expands to two files, which generates a syntax error for
the "test" program. We replace that with a more elaborate find+wc
combination to determine whether at least one matching file is
present.

The check_arm_abi function verifies the ABI of an ARM toolchain. For
EABI, it tested that the target name ends with eabi. However, with
Linaro 2012.05, the tuple is now arm-linux-gnueabihf (for hard float),
so we have to adjust the logic to accept this additional "hf"
specification in the tuple.

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

diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk
index 649b91b..49a9044 100644
--- a/toolchain/helpers.mk
+++ b/toolchain/helpers.mk
@@ -196,7 +196,7 @@ check_glibc_feature = \
 #
 check_glibc = \
 	SYSROOT_DIR="$(strip $1)"; \
-	if ! test -f $${SYSROOT_DIR}/lib/ld-linux*.so.* -o -f $${SYSROOT_DIR}/lib/ld.so.* ; then \
+	if test `find $${SYSDROOT_DIR}/lib/ -maxdepth 1 -name 'ld-linux*.so.*' -o -name 'ld.so.*' | wc -l` -eq 0 ; then \
 		echo "Incorrect selection of the C library"; \
 		exit -1; \
 	fi; \
@@ -263,7 +263,7 @@ check_uclibc = \
 check_arm_abi = \
 	__CROSS_CC=$(strip $1) ; \
 	EXT_TOOLCHAIN_TARGET=`LANG=C $${__CROSS_CC} -v 2>&1 | grep ^Target | cut -f2 -d ' '` ; \
-	if echo $${EXT_TOOLCHAIN_TARGET} | grep -q 'eabi$$' ; then \
+	if echo $${EXT_TOOLCHAIN_TARGET} | grep -qE 'eabi(hf)?$$' ; then \
 		EXT_TOOLCHAIN_ABI="eabi" ; \
 	else \
 		EXT_TOOLCHAIN_ABI="oabi" ; \
-- 
1.7.9.5

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

* [Buildroot] [PATCH 03/10] toolchain-external: add Sourcery CodeBench SuperH 2012.03
  2012-06-03 14:04 [Buildroot] [pull request] Pull request for branch for-2012.08/ext-toolchain-updates Thomas Petazzoni
  2012-06-03 14:04 ` [Buildroot] [PATCH 01/10] toolchain-external: add Linaro 2012.05 Thomas Petazzoni
  2012-06-03 14:04 ` [Buildroot] [PATCH 02/10] toolchain-external: adjust logic to support " Thomas Petazzoni
@ 2012-06-03 14:04 ` Thomas Petazzoni
  2012-06-04  7:44   ` Peter Korsgaard
  2012-06-05 19:45   ` Thomas De Schampheleire
  2012-06-03 14:04 ` [Buildroot] [PATCH 04/10] toolchain-external: add Sourcery CodeBench x86 2012.03 Thomas Petazzoni
                   ` (7 subsequent siblings)
  10 siblings, 2 replies; 19+ messages in thread
From: Thomas Petazzoni @ 2012-06-03 14:04 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 toolchain/toolchain-external/Config.in   |   20 ++++++++++++++++++++
 toolchain/toolchain-external/ext-tool.mk |    3 +++
 2 files changed, 23 insertions(+)

diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 2bf9c3e..be24659 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -332,6 +332,25 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
             - 970 glibc hard-float, 64 bits
               Set BR2_TARGET_OPTIMIZATION to -m64
 
+config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
+	bool "Sourcery CodeBench SH 2012.03"
+	depends on BR2_sh4a || BR2_sh4aeb
+	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
+	select BR2_INSTALL_LIBSTDCPP
+	help
+	  Sourcery CodeBench toolchain for the SuperH architecture,
+	  from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
+	  glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers
+	  2.6.38. It has support for the following variants:
+            - SH4A, glibc, little endian
+              Default.
+            - SH4A, glibc, big endian
+              Add -mb to BR2_TARGET_OPTIMIZATION
+            - SH4A, uClibc, little endian
+              Not usable in Buildroot yet.
+            - SH4A, uClibc, big endian
+              Not usable in Buildroot yet.
+
 config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
 	bool "Sourcery CodeBench SH 2011.03"
 	depends on BR2_sh4a || BR2_sh4aeb
@@ -549,6 +568,7 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
 	default "powerpc-linux-gnu"      if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
 	default "sh-linux-gnu"           if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201009
 	default "sh-linux-gnu"           if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
+	default "sh-linux-gnu"           if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
 	default "sh-uclinux"             if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
 	default "sh-uclinux"             if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
 	default "i686-pc-linux-gnu"	 if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201009
diff --git a/toolchain/toolchain-external/ext-tool.mk b/toolchain/toolchain-external/ext-tool.mk
index 27d71ab..263a30c 100644
--- a/toolchain/toolchain-external/ext-tool.mk
+++ b/toolchain/toolchain-external/ext-tool.mk
@@ -224,6 +224,9 @@ TOOLCHAIN_EXTERNAL_SOURCE=renesas-2010.09-45-sh-linux-gnu-i686-pc-linux-gnu.tar.
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103),y)
 TOOLCHAIN_EXTERNAL_SITE=https://sourcery.mentor.com/sgpp/lite/superh/portal/package8759/public/sh-linux-gnu/
 TOOLCHAIN_EXTERNAL_SOURCE=renesas-2011.03-37-sh-linux-gnu-i686-pc-linux-gnu.tar.bz2
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203),y)
+TOOLCHAIN_EXTERNAL_SITE=https://sourcery.mentor.com/GNUToolchain/package10148/public/sh-linux-gnu/
+TOOLCHAIN_EXTERNAL_SOURCE=renesas-2012.03-35-sh-linux-gnu-i686-pc-linux-gnu.tar.bz2
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009),y)
 TOOLCHAIN_EXTERNAL_SITE=http://sourcery.mentor.com/sgpp/lite/superh/portal/package7859/public/sh-uclinux/
 TOOLCHAIN_EXTERNAL_SOURCE=renesas-2010.09-60-sh-uclinux-i686-pc-linux-gnu.tar.bz2
-- 
1.7.9.5

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

* [Buildroot] [PATCH 04/10] toolchain-external: add Sourcery CodeBench x86 2012.03
  2012-06-03 14:04 [Buildroot] [pull request] Pull request for branch for-2012.08/ext-toolchain-updates Thomas Petazzoni
                   ` (2 preceding siblings ...)
  2012-06-03 14:04 ` [Buildroot] [PATCH 03/10] toolchain-external: add Sourcery CodeBench SuperH 2012.03 Thomas Petazzoni
@ 2012-06-03 14:04 ` Thomas Petazzoni
  2012-06-03 14:04 ` [Buildroot] [PATCH 05/10] toolchain-external: add Blackfin toolchain 2012R1-BETA1 Thomas Petazzoni
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 19+ messages in thread
From: Thomas Petazzoni @ 2012-06-03 14:04 UTC (permalink / raw)
  To: buildroot

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

diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index be24659..ce84c7d 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -423,6 +423,31 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
 	  has support for the following variants:
             - SH2A, uClibc, big endian
 
+config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
+	bool "Sourcery CodeBench x86/x86_64 2012.03"
+	depends on BR2_i386 || BR2_x86_64
+	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
+	select BR2_INSTALL_LIBSTDCPP
+	help
+	  Sourcery CodeBench toolchain for the x86/x86_64
+	  architectures, from Mentor Graphics. It uses gcc 4.6.3,
+	  binutils 2.21.53, glibc 2.15, gdb 7.2.50 and kernel headers
+	  3.2.10. It has support for the following variants:
+	    - Intel Pentium 4, glibc, 32 bits
+	      Default for x86, nothing special to do.
+	    - Intel Atom, glibc, 32 bits
+	      Select an Atom core
+	    - Intel Xeon, glibc, 64 bits
+	      Default for x86_64, nothing special to do.
+	    - Intel Core 2, glibc, 64 bits
+	      Select a Core 2 core
+	  Other architecture variants (beyond Pentium-4/Xeon) are
+	  supported as well, but glibc is not optimised for it.
+
+	  Note that due to the upgrade to glibc 2.15, this toolchain
+	  no longer provides RPC functions. The TI-RPC library should
+	  be used instead, but isn't available in Buildroot yet.
+
 config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
 	bool "Sourcery CodeBench x86/x86_64 2011.09"
 	depends on BR2_i386 || BR2_x86_64
@@ -573,6 +598,7 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
 	default "sh-uclinux"             if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
 	default "i686-pc-linux-gnu"	 if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201009
 	default "i686-pc-linux-gnu"	 if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109
+	default "i686-pc-linux-gnu"	 if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203
 	default "bfin-uclinux"		 if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1 && !BR2_BFIN_FDPIC
 	default "bfin-linux-uclibc"	 if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1 && BR2_BFIN_FDPIC
 	default "bfin-uclinux"		 if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2011R1 && !BR2_BFIN_FDPIC
diff --git a/toolchain/toolchain-external/ext-tool.mk b/toolchain/toolchain-external/ext-tool.mk
index 263a30c..91555e1 100644
--- a/toolchain/toolchain-external/ext-tool.mk
+++ b/toolchain/toolchain-external/ext-tool.mk
@@ -239,6 +239,9 @@ TOOLCHAIN_EXTERNAL_SOURCE=ia32-2010.09-44-i686-pc-linux-gnu-i386-linux.tar.bz2
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109),y)
 TOOLCHAIN_EXTERNAL_SITE=https://sourcery.mentor.com/public/gnu_toolchain/i686-pc-linux-gnu/
 TOOLCHAIN_EXTERNAL_SOURCE=ia32-2011.09-24-i686-pc-linux-gnu-i386-linux.tar.bz2
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201203),y)
+TOOLCHAIN_EXTERNAL_SITE=https://sourcery.mentor.com/GNUToolchain/package10163/public/i686-pc-linux-gnu/
+TOOLCHAIN_EXTERNAL_SOURCE=ia32-2012.03-27-i686-pc-linux-gnu-i386-linux.tar.bz2
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1),y)
 TOOLCHAIN_EXTERNAL_SITE_1   = http://blackfin.uclinux.org/gf/download/frsrelease/501/8378/
 TOOLCHAIN_EXTERNAL_SOURCE_1 = blackfin-toolchain-2010R1-RC4.i386.tar.bz2
-- 
1.7.9.5

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

* [Buildroot] [PATCH 05/10] toolchain-external: add Blackfin toolchain 2012R1-BETA1
  2012-06-03 14:04 [Buildroot] [pull request] Pull request for branch for-2012.08/ext-toolchain-updates Thomas Petazzoni
                   ` (3 preceding siblings ...)
  2012-06-03 14:04 ` [Buildroot] [PATCH 04/10] toolchain-external: add Sourcery CodeBench x86 2012.03 Thomas Petazzoni
@ 2012-06-03 14:04 ` Thomas Petazzoni
  2012-06-03 14:04 ` [Buildroot] [PATCH 06/10] toolchain-external: add Sourcery CodeBench MIPS 2011.09 Thomas Petazzoni
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 19+ messages in thread
From: Thomas Petazzoni @ 2012-06-03 14:04 UTC (permalink / raw)
  To: buildroot

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

diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index ce84c7d..fcac7da 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -490,6 +490,21 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201009
 	  Other architecture variants (beyond Pentium-4/Xeon) are
 	  supported as well, but glibc is not optimised for it.
 
+config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
+	bool "Blackfin.uclinux.org 2012R1-BETA1"
+	depends on BR2_bfin
+	select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
+	select BR2_INSTALL_LIBSTDCPP
+	select BR2_LARGEFILE
+	select BR2_INET_IPV6
+	select BR2_INET_RPC
+	select BR2_USE_WCHAR
+	select BR2_TOOLCHAIN_HAS_THREADS
+	select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
+	help
+	  Toolchain for the Blackfin architecture, from
+	  http://blackfin.uclinux.org.
+
 config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2011R1
 	bool "Blackfin.uclinux.org 2011R1-RC4"
 	depends on BR2_bfin
@@ -603,6 +618,8 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
 	default "bfin-linux-uclibc"	 if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1 && BR2_BFIN_FDPIC
 	default "bfin-uclinux"		 if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2011R1 && !BR2_BFIN_FDPIC
 	default "bfin-linux-uclibc"	 if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2011R1 && BR2_BFIN_FDPIC
+	default "bfin-uclinux"		 if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 && !BR2_BFIN_FDPIC
+	default "bfin-linux-uclibc"	 if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 && BR2_BFIN_FDPIC
 	default $(BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX) \
 					 if BR2_TOOLCHAIN_EXTERNAL_CUSTOM
 
diff --git a/toolchain/toolchain-external/ext-tool.mk b/toolchain/toolchain-external/ext-tool.mk
index 91555e1..88e0619 100644
--- a/toolchain/toolchain-external/ext-tool.mk
+++ b/toolchain/toolchain-external/ext-tool.mk
@@ -254,6 +254,12 @@ TOOLCHAIN_EXTERNAL_SOURCE_1 = blackfin-toolchain-2011R1-RC4.i386.tar.bz2
 TOOLCHAIN_EXTERNAL_SITE_2   = http://blackfin.uclinux.org/gf/download/frsrelease/531/9517/
 TOOLCHAIN_EXTERNAL_SOURCE_2 = blackfin-toolchain-uclibc-full-2011R1-RC4.i386.tar.bz2
 TOOLCHAIN_EXTERNAL_SOURCE   = $(TOOLCHAIN_EXTERNAL_SOURCE_1) $(TOOLCHAIN_EXTERNAL_SOURCE_2)
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1),y)
+TOOLCHAIN_EXTERNAL_SITE_1   = http://blackfin.uclinux.org/gf/download/frsrelease/544/9749/
+TOOLCHAIN_EXTERNAL_SOURCE_1 = blackfin-toolchain-2012R1-BETA1.i386.tar.bz2
+TOOLCHAIN_EXTERNAL_SITE_2   = http://blackfin.uclinux.org/gf/download/frsrelease/544/9773/
+TOOLCHAIN_EXTERNAL_SOURCE_2 = blackfin-toolchain-uclibc-full-2012R1-BETA1.i386.tar.bz2
+TOOLCHAIN_EXTERNAL_SOURCE   = $(TOOLCHAIN_EXTERNAL_SOURCE_1) $(TOOLCHAIN_EXTERNAL_SOURCE_2)
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2),y)
 TOOLCHAIN_EXTERNAL_SITE=http://git.xilinx.com/?p=xldk/microblaze_v2.0_le.git;a=blob;h=d7b493c5dbcc24ba9cc3be2e4c14d6d9701e6805;hb=00163583b771bb4e937632765dd0c5516b3e31c4;f=
 TOOLCHAIN_EXTERNAL_SOURCE=microblazeel-unknown-linux-gnu.tgz
@@ -272,7 +278,7 @@ endif
 # contain ./opt/uClinux/{bfin-uclinux,bfin-linux-uclibc} directories,
 # which themselves contain the toolchain. This is why we strip more
 # components than usual.
-ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1)$(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2011R1),y)
+ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1)$(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2011R1)$(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1),y)
 $(DL_DIR)/$(TOOLCHAIN_EXTERNAL_SOURCE_1):
 	$(call DOWNLOAD,$(TOOLCHAIN_EXTERNAL_SITE_1)/$(TOOLCHAIN_EXTERNAL_SOURCE_1))
 
-- 
1.7.9.5

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

* [Buildroot] [PATCH 06/10] toolchain-external: add Sourcery CodeBench MIPS 2011.09
  2012-06-03 14:04 [Buildroot] [pull request] Pull request for branch for-2012.08/ext-toolchain-updates Thomas Petazzoni
                   ` (4 preceding siblings ...)
  2012-06-03 14:04 ` [Buildroot] [PATCH 05/10] toolchain-external: add Blackfin toolchain 2012R1-BETA1 Thomas Petazzoni
@ 2012-06-03 14:04 ` Thomas Petazzoni
  2012-06-05 19:43   ` Thomas De Schampheleire
  2012-06-03 14:04 ` [Buildroot] [PATCH 07/10] toolchain-external: remove Sourcery CodeBench ARM 2009q3 Thomas Petazzoni
                   ` (4 subsequent siblings)
  10 siblings, 1 reply; 19+ messages in thread
From: Thomas Petazzoni @ 2012-06-03 14:04 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 toolchain/toolchain-external/Config.in   |   68 ++++++++++++++++++++++++++++++
 toolchain/toolchain-external/ext-tool.mk |    3 ++
 2 files changed, 71 insertions(+)

diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index fcac7da..1452cad 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -180,6 +180,73 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q3
               Select BR2_SOFT_FLOAT
               Set BR2_TARGET_OPTIMIZATION to -mthumb
 
+config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201109
+	bool "Sourcery CodeBench MIPS 2011.09"
+	depends on BR2_mips || BR2_mipsel
+	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
+	select BR2_INSTALL_LIBSTDCPP
+	help
+	  Sourcery CodeBench toolchain for the MIPS architecture, from
+	  Mentor Graphics. It uses gcc 4.5.2, binutils 2.21.53, glibc
+	  2.13, uClibc 0.9.30 and gdb 7.2.50, kernel headers
+	  3.0.1. 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 the n64 ABI
+              Disable BR2_SOFT_FLOAT
+            - MIPS32 O32 little endian glibc
+              Select a MIPS generic core
+              Disable BR2_SOFT_FLOAT
+              Set BR2_TARGET_OPTIMIZATION to -EL
+            - MIPS64 little endian glibc
+              Select a MIPS generic core
+              Select the n64 ABI
+              Disable BR2_SOFT_FLOAT
+              Set BR2_TARGET_OPTIMIZATION to -EL
+            - 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 the n64 ABI
+              Select BR2_SOFT_FLOAT
+            - MIPS32 little endian soft float glibc
+              Select a MIPS generic core
+              Select BR2_SOFT_FLOAT
+              Set BR2_TARGET_OPTIMIZATION to -EL
+            - MIPS64 little endian soft float glibc
+              Select a MIPS generic core
+              Select the n64 ABI
+              Select BR2_SOFT_FLOAT
+              Set BR2_TARGET_OPTIMIZATION to -EL
+            - MIPS32 big endian microMIPS glibc
+              Select a MIPS generic core
+              Disable BR2_SOFT_FLOAT
+              Set BR2_TARGET_OPTIMIZATION to -mips16
+            - MIPS32 little endian microMIPS glibc
+              Select a MIPS generic core
+              Disable BR2_SOFT_FLOAT
+              Set BR2_TARGET_OPTIMIZATION to -EL -mips16
+            - MIPS32 big endian soft float microMIPS glibc
+              Select a MIPS generic core
+              Select BR2_SOFT_FLOAT
+              Set BR2_TARGET_OPTIMIZATION to -mips16
+            - MIPS32 little endian soft float microMIPS glibc
+              Select a MIPS generic core
+              Select BR2_SOFT_FLOAT
+              Set BR2_TARGET_OPTIMIZATION to -EL -mips16
+            - MIPS32 big endian uclibc
+              Not usable in Buildroot yet.
+            - MIPS32 little endian uclibc
+              Not usable in Buildroot yet.
+            - MIPS32 big endian soft float uclibc
+              Not usable in Buildroot yet.
+            - MIPS32 little endian soft float uclibc
+              Not usable in Buildroot yet.
+
 config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201103
 	bool "Sourcery CodeBench MIPS 2011.03"
 	depends on BR2_mips || BR2_mipsel
@@ -604,6 +671,7 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
 	default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
 	default "mips-linux-gnu"         if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS44
 	default "mips-linux-gnu"         if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201103
+	default "mips-linux-gnu"         if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201109
 	default "powerpc-linux-gnu"      if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
 	default "powerpc-linux-gnu"      if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
 	default "sh-linux-gnu"           if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201009
diff --git a/toolchain/toolchain-external/ext-tool.mk b/toolchain/toolchain-external/ext-tool.mk
index 88e0619..867480a 100644
--- a/toolchain/toolchain-external/ext-tool.mk
+++ b/toolchain/toolchain-external/ext-tool.mk
@@ -212,6 +212,9 @@ TOOLCHAIN_EXTERNAL_SOURCE=mips-4.4-303-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201103),y)
 TOOLCHAIN_EXTERNAL_SITE=http://sourcery.mentor.com/sgpp/lite/mips/portal/package9469/public/mips-linux-gnu/
 TOOLCHAIN_EXTERNAL_SOURCE=mips-2011.03-110-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201109),y)
+TOOLCHAIN_EXTERNAL_SITE=https://sourcery.mentor.com/GNUToolchain/package9761/public/mips-linux-gnu/
+TOOLCHAIN_EXTERNAL_SOURCE=mips-2011.09-75-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009),y)
 TOOLCHAIN_EXTERNAL_SITE=http://sourcery.mentor.com/sgpp/lite/power/portal/package7703/public/powerpc-linux-gnu/
 TOOLCHAIN_EXTERNAL_SOURCE=freescale-2010.09-55-powerpc-linux-gnu-i686-pc-linux-gnu.tar.bz2
-- 
1.7.9.5

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

* [Buildroot] [PATCH 07/10] toolchain-external: remove Sourcery CodeBench ARM 2009q3
  2012-06-03 14:04 [Buildroot] [pull request] Pull request for branch for-2012.08/ext-toolchain-updates Thomas Petazzoni
                   ` (5 preceding siblings ...)
  2012-06-03 14:04 ` [Buildroot] [PATCH 06/10] toolchain-external: add Sourcery CodeBench MIPS 2011.09 Thomas Petazzoni
@ 2012-06-03 14:04 ` Thomas Petazzoni
  2012-06-05 19:44   ` Thomas De Schampheleire
  2012-06-03 14:04 ` [Buildroot] [PATCH 08/10] toolchain-external: remove Linaro 2012.01 Thomas Petazzoni
                   ` (3 subsequent siblings)
  10 siblings, 1 reply; 19+ messages in thread
From: Thomas Petazzoni @ 2012-06-03 14:04 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 toolchain/toolchain-external/Config.in   |   22 ----------------------
 toolchain/toolchain-external/ext-tool.mk |    5 +----
 2 files changed, 1 insertion(+), 26 deletions(-)

diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 1452cad..d17fc9b 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -159,27 +159,6 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1
                Select BR2_SOFT_FLOAT
                Set BR2_TARGET_OPTIMIZATION to -mthumb
 
-config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q3
-	bool "Sourcery CodeBench ARM 2009q3"
-	depends on BR2_arm
-	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
-	select BR2_INSTALL_LIBSTDCPP
-	help
-	  Sourcery CodeBench toolchain for the ARM architecture, from
-	  Mentor Graphics. It uses gcc 4.4.1, binutils 2.19, glibc
-	  2.10 and gdb 6.8 and kernel headers 2.6.30. It has support
-	  for the following variants:
-            - ARMv5T, little endian, soft-float, glibc
-              Select ARM926T, ARM10T, XScale or another ARMv5 core
-              Select BR2_SOFT_FLOAT
-            - ARMv4T, little endian, soft-float, glibc
-              Select ARM720T, ARM920T, ARM922T or another ARMv4 core
-              Select BR2_SOFT_FLOAT
-            - ARMv7-A, Thumb 2, little endian, soft-float, glibc
-              Select Cortex-A8, Cortex-A9 or another ARMv7-A core
-              Select BR2_SOFT_FLOAT
-              Set BR2_TARGET_OPTIMIZATION to -mthumb
-
 config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201109
 	bool "Sourcery CodeBench MIPS 2011.09"
 	depends on BR2_mips || BR2_mipsel
@@ -662,7 +641,6 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
 	default "arm-linux-gnueabi"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_03
 	default "arm-linux-gnueabi"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_04
 	default "arm-linux-gnueabihf"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_05
-	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q3
 	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1
 	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201009
 	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103
diff --git a/toolchain/toolchain-external/ext-tool.mk b/toolchain/toolchain-external/ext-tool.mk
index 867480a..fce7412 100644
--- a/toolchain/toolchain-external/ext-tool.mk
+++ b/toolchain/toolchain-external/ext-tool.mk
@@ -176,10 +176,7 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y)
 TOOLCHAIN_EXTERNAL_DEPENDENCIES = $(TOOLCHAIN_EXTERNAL_DIR)/.extracted
 endif
 
-ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q3),y)
-TOOLCHAIN_EXTERNAL_SITE=http://sourcery.mentor.com/sgpp/lite/arm/portal/package5383/public/arm-none-linux-gnueabi/
-TOOLCHAIN_EXTERNAL_SOURCE=arm-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1),y)
+ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1),y)
 TOOLCHAIN_EXTERNAL_SITE=http://sourcery.mentor.com/sgpp/lite/arm/portal/package6488/public/arm-none-linux-gnueabi/
 TOOLCHAIN_EXTERNAL_SOURCE=arm-2010q1-202-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201009),y)
-- 
1.7.9.5

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

* [Buildroot] [PATCH 08/10] toolchain-external: remove Linaro 2012.01
  2012-06-03 14:04 [Buildroot] [pull request] Pull request for branch for-2012.08/ext-toolchain-updates Thomas Petazzoni
                   ` (6 preceding siblings ...)
  2012-06-03 14:04 ` [Buildroot] [PATCH 07/10] toolchain-external: remove Sourcery CodeBench ARM 2009q3 Thomas Petazzoni
@ 2012-06-03 14:04 ` Thomas Petazzoni
  2012-06-03 14:04 ` [Buildroot] [PATCH 09/10] toolchain-external: on i386/x86_64, use Sourcery CodeBench 2011.09 by default Thomas Petazzoni
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 19+ messages in thread
From: Thomas Petazzoni @ 2012-06-03 14:04 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 toolchain/toolchain-external/Config.in   |   15 ---------------
 toolchain/toolchain-external/ext-tool.mk |    3 ---
 2 files changed, 18 deletions(-)

diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index d17fc9b..aebd205 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -61,20 +61,6 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_02
 	  Thumb 2, with the softfp calling convention, and uses the
 	  VFPv3-D16 FPU instructions.
 
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_01
-	bool "Linaro 2012.01"
-	depends on BR2_arm
-	depends on BR2_cortex_a8 || BR2_cortex_a9
-	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
-	select BR2_INSTALL_LIBSTDCPP
-	help
-	  Linaro toolchain for the ARM architecture. It uses Linaro
-	  GCC 2012.01 (based on gcc 4.6), Linaro GDB 2011.12, eglibc
-	  2.13. 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 softfp calling convention, and uses the
-	  VFPv3-D16 FPU instructions.
-
 config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109
 	bool "Sourcery CodeBench ARM 2011.09"
 	depends on BR2_arm
@@ -636,7 +622,6 @@ config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
 
 config BR2_TOOLCHAIN_EXTERNAL_PREFIX
 	string
-	default "arm-linux-gnueabi"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_01
 	default "arm-linux-gnueabi"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_02
 	default "arm-linux-gnueabi"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_03
 	default "arm-linux-gnueabi"	 if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_04
diff --git a/toolchain/toolchain-external/ext-tool.mk b/toolchain/toolchain-external/ext-tool.mk
index fce7412..5ad6598 100644
--- a/toolchain/toolchain-external/ext-tool.mk
+++ b/toolchain/toolchain-external/ext-tool.mk
@@ -188,9 +188,6 @@ TOOLCHAIN_EXTERNAL_SOURCE=arm-2011.03-41-arm-none-linux-gnueabi-i686-pc-linux-gn
 else 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_LINARO_2012_01),y)
-TOOLCHAIN_EXTERNAL_SITE=http://launchpad.net/linaro-toolchain-binaries/trunk/2012.01/+download/
-TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-arm-linux-gnueabi-2012.01-20120125_linux.tar.bz2
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_02),y)
 TOOLCHAIN_EXTERNAL_SITE=http://launchpad.net/linaro-toolchain-binaries/trunk/2012.02/+download/
 TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-arm-linux-gnueabi-2012.02-20120222_linux.tar.bz2
-- 
1.7.9.5

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

* [Buildroot] [PATCH 09/10] toolchain-external: on i386/x86_64, use Sourcery CodeBench 2011.09 by default
  2012-06-03 14:04 [Buildroot] [pull request] Pull request for branch for-2012.08/ext-toolchain-updates Thomas Petazzoni
                   ` (7 preceding siblings ...)
  2012-06-03 14:04 ` [Buildroot] [PATCH 08/10] toolchain-external: remove Linaro 2012.01 Thomas Petazzoni
@ 2012-06-03 14:04 ` Thomas Petazzoni
  2012-06-03 14:04 ` [Buildroot] [PATCH 10/10] toolchain-external: on SuperH, " Thomas Petazzoni
  2012-07-22 16:24 ` [Buildroot] [pull request] Pull request for branch for-2012.08/ext-toolchain-updates Thomas Petazzoni
  10 siblings, 0 replies; 19+ messages in thread
From: Thomas Petazzoni @ 2012-06-03 14:04 UTC (permalink / raw)
  To: buildroot

The 2012.03 version of the x86 toolchain uses glibc 2.15, which
doesn't provide RPC functions. This breaks most packages for now,
until we package TI-RPC properly.

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

diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index aebd205..f632deb 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -2,6 +2,9 @@ if BR2_TOOLCHAIN_EXTERNAL
 
 choice
 	prompt "Toolchain"
+	# Don't use the latest Sourcery CodeBench on x86 by default,
+	# because it uses glibc 2.15, which lacks RPC functions.
+	default BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109 if BR2_i386 || BR2_x86_64
 
 config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_05
 	bool "Linaro 2012.05"
-- 
1.7.9.5

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

* [Buildroot] [PATCH 10/10] toolchain-external: on SuperH, use Sourcery CodeBench 2011.09 by default
  2012-06-03 14:04 [Buildroot] [pull request] Pull request for branch for-2012.08/ext-toolchain-updates Thomas Petazzoni
                   ` (8 preceding siblings ...)
  2012-06-03 14:04 ` [Buildroot] [PATCH 09/10] toolchain-external: on i386/x86_64, use Sourcery CodeBench 2011.09 by default Thomas Petazzoni
@ 2012-06-03 14:04 ` Thomas Petazzoni
  2012-06-04  7:48   ` Peter Korsgaard
  2012-07-22 16:24 ` [Buildroot] [pull request] Pull request for branch for-2012.08/ext-toolchain-updates Thomas Petazzoni
  10 siblings, 1 reply; 19+ messages in thread
From: Thomas Petazzoni @ 2012-06-03 14:04 UTC (permalink / raw)
  To: buildroot

The 2012.03 version of the x86 toolchain uses glibc 2.15, which
doesn't provide RPC functions. This breaks most packages for now,
until we package TI-RPC properly.

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 f632deb..c8c1f14 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -5,6 +5,10 @@ choice
 	# Don't use the latest Sourcery CodeBench on x86 by default,
 	# because it uses glibc 2.15, which lacks RPC functions.
 	default BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201109 if BR2_i386 || BR2_x86_64
+	# Don't use the latest Sourcery CodeBench on SuperH by
+	# default, because it uses glibc 2.15, which lacks RPC
+	# functions.
+	default BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103 if BR2_sh4a || BR2_sh4aeb
 
 config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_05
 	bool "Linaro 2012.05"
-- 
1.7.9.5

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

* [Buildroot] [PATCH 03/10] toolchain-external: add Sourcery CodeBench SuperH 2012.03
  2012-06-03 14:04 ` [Buildroot] [PATCH 03/10] toolchain-external: add Sourcery CodeBench SuperH 2012.03 Thomas Petazzoni
@ 2012-06-04  7:44   ` Peter Korsgaard
  2012-06-06 20:01     ` Thomas Petazzoni
  2012-06-05 19:45   ` Thomas De Schampheleire
  1 sibling, 1 reply; 19+ messages in thread
From: Peter Korsgaard @ 2012-06-04  7:44 UTC (permalink / raw)
  To: buildroot

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

 Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 Thomas> ---
 Thomas>  toolchain/toolchain-external/Config.in   |   20 ++++++++++++++++++++
 Thomas>  toolchain/toolchain-external/ext-tool.mk |    3 +++
 Thomas>  2 files changed, 23 insertions(+)

 Thomas> diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
 Thomas> index 2bf9c3e..be24659 100644
 Thomas> --- a/toolchain/toolchain-external/Config.in
 Thomas> +++ b/toolchain/toolchain-external/Config.in
 Thomas> @@ -332,6 +332,25 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
 Thomas>              - 970 glibc hard-float, 64 bits
 Thomas>                Set BR2_TARGET_OPTIMIZATION to -m64
 
 Thomas> +config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
 Thomas> +	bool "Sourcery CodeBench SH 2012.03"
 Thomas> +	depends on BR2_sh4a || BR2_sh4aeb
 Thomas> +	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
 Thomas> +	select BR2_INSTALL_LIBSTDCPP
 Thomas> +	help
 Thomas> +	  Sourcery CodeBench toolchain for the SuperH architecture,
 Thomas> +	  from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
 Thomas> +	  glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers

How does this fit with patch 10/10 where you state it uses glibc 2.15?

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 10/10] toolchain-external: on SuperH, use Sourcery CodeBench 2011.09 by default
  2012-06-03 14:04 ` [Buildroot] [PATCH 10/10] toolchain-external: on SuperH, " Thomas Petazzoni
@ 2012-06-04  7:48   ` Peter Korsgaard
  2012-06-06 20:00     ` Thomas Petazzoni
  0 siblings, 1 reply; 19+ messages in thread
From: Peter Korsgaard @ 2012-06-04  7:48 UTC (permalink / raw)
  To: buildroot

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

 Thomas> The 2012.03 version of the x86 toolchain uses glibc 2.15, which
 Thomas> doesn't provide RPC functions. This breaks most packages for now,
 Thomas> until we package TI-RPC properly.

Seems like cut'n'paste from patch 9.

"Most packages" is probably somewhat exaggerated - We have very few
packages depending on BR2_INET_RPC:

git grep -l BR2_INET_RPC package/**/Config.in
package/lmbench/Config.in
package/netkitbase/Config.in
package/netkittelnet/Config.in
package/nfs-utils/Config.in
package/portmap/Config.in

Or have you found other packages where we're missing the BR2_INET_RPC
annotation?

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH 06/10] toolchain-external: add Sourcery CodeBench MIPS 2011.09
  2012-06-03 14:04 ` [Buildroot] [PATCH 06/10] toolchain-external: add Sourcery CodeBench MIPS 2011.09 Thomas Petazzoni
@ 2012-06-05 19:43   ` Thomas De Schampheleire
  0 siblings, 0 replies; 19+ messages in thread
From: Thomas De Schampheleire @ 2012-06-05 19:43 UTC (permalink / raw)
  To: buildroot

On Sun, Jun 3, 2012 at 4:04 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> ?toolchain/toolchain-external/Config.in ? | ? 68 ++++++++++++++++++++++++++++++
> ?toolchain/toolchain-external/ext-tool.mk | ? ?3 ++
> ?2 files changed, 71 insertions(+)
>
> diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
> index fcac7da..1452cad 100644
> --- a/toolchain/toolchain-external/Config.in
> +++ b/toolchain/toolchain-external/Config.in
> @@ -180,6 +180,73 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q3
> ? ? ? ? ? ? ? Select BR2_SOFT_FLOAT
> ? ? ? ? ? ? ? Set BR2_TARGET_OPTIMIZATION to -mthumb
>
> +config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201109
> + ? ? ? bool "Sourcery CodeBench MIPS 2011.09"
> + ? ? ? depends on BR2_mips || BR2_mipsel
> + ? ? ? select BR2_TOOLCHAIN_EXTERNAL_GLIBC
> + ? ? ? select BR2_INSTALL_LIBSTDCPP
> + ? ? ? help
> + ? ? ? ? Sourcery CodeBench toolchain for the MIPS architecture, from
> + ? ? ? ? Mentor Graphics. It uses gcc 4.5.2, binutils 2.21.53, glibc
> + ? ? ? ? 2.13, uClibc 0.9.30 and gdb 7.2.50, kernel headers
> + ? ? ? ? 3.0.1. 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 the n64 ABI
> + ? ? ? ? ? ? ?Disable BR2_SOFT_FLOAT
> + ? ? ? ? ? ?- MIPS32 O32 little endian glibc
> + ? ? ? ? ? ? ?Select a MIPS generic core
> + ? ? ? ? ? ? ?Disable BR2_SOFT_FLOAT
> + ? ? ? ? ? ? ?Set BR2_TARGET_OPTIMIZATION to -EL
> + ? ? ? ? ? ?- MIPS64 little endian glibc
> + ? ? ? ? ? ? ?Select a MIPS generic core
> + ? ? ? ? ? ? ?Select the n64 ABI
> + ? ? ? ? ? ? ?Disable BR2_SOFT_FLOAT
> + ? ? ? ? ? ? ?Set BR2_TARGET_OPTIMIZATION to -EL
> + ? ? ? ? ? ?- 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 the n64 ABI
> + ? ? ? ? ? ? ?Select BR2_SOFT_FLOAT
> + ? ? ? ? ? ?- MIPS32 little endian soft float glibc
> + ? ? ? ? ? ? ?Select a MIPS generic core
> + ? ? ? ? ? ? ?Select BR2_SOFT_FLOAT
> + ? ? ? ? ? ? ?Set BR2_TARGET_OPTIMIZATION to -EL
> + ? ? ? ? ? ?- MIPS64 little endian soft float glibc
> + ? ? ? ? ? ? ?Select a MIPS generic core
> + ? ? ? ? ? ? ?Select the n64 ABI
> + ? ? ? ? ? ? ?Select BR2_SOFT_FLOAT
> + ? ? ? ? ? ? ?Set BR2_TARGET_OPTIMIZATION to -EL
> + ? ? ? ? ? ?- MIPS32 big endian microMIPS glibc
> + ? ? ? ? ? ? ?Select a MIPS generic core
> + ? ? ? ? ? ? ?Disable BR2_SOFT_FLOAT
> + ? ? ? ? ? ? ?Set BR2_TARGET_OPTIMIZATION to -mips16
> + ? ? ? ? ? ?- MIPS32 little endian microMIPS glibc
> + ? ? ? ? ? ? ?Select a MIPS generic core
> + ? ? ? ? ? ? ?Disable BR2_SOFT_FLOAT
> + ? ? ? ? ? ? ?Set BR2_TARGET_OPTIMIZATION to -EL -mips16
> + ? ? ? ? ? ?- MIPS32 big endian soft float microMIPS glibc
> + ? ? ? ? ? ? ?Select a MIPS generic core
> + ? ? ? ? ? ? ?Select BR2_SOFT_FLOAT
> + ? ? ? ? ? ? ?Set BR2_TARGET_OPTIMIZATION to -mips16
> + ? ? ? ? ? ?- MIPS32 little endian soft float microMIPS glibc
> + ? ? ? ? ? ? ?Select a MIPS generic core
> + ? ? ? ? ? ? ?Select BR2_SOFT_FLOAT
> + ? ? ? ? ? ? ?Set BR2_TARGET_OPTIMIZATION to -EL -mips16
> + ? ? ? ? ? ?- MIPS32 big endian uclibc
> + ? ? ? ? ? ? ?Not usable in Buildroot yet.
> + ? ? ? ? ? ?- MIPS32 little endian uclibc
> + ? ? ? ? ? ? ?Not usable in Buildroot yet.
> + ? ? ? ? ? ?- MIPS32 big endian soft float uclibc
> + ? ? ? ? ? ? ?Not usable in Buildroot yet.
> + ? ? ? ? ? ?- MIPS32 little endian soft float uclibc
> + ? ? ? ? ? ? ?Not usable in Buildroot yet.
> +

The indentation isn't entirely as it should be here.
In my toolchain-external series (sent today) I fixed the indentation
in this file for the existing toolchains. Awaiting acceptance of that
patch, it would already be good if new toolchains use the correct
indentation (tab + two spaces as base) for their help text.

> ?config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201103
> ? ? ? ?bool "Sourcery CodeBench MIPS 2011.03"
> ? ? ? ?depends on BR2_mips || BR2_mipsel
> @@ -604,6 +671,7 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
> ? ? ? ?default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
> ? ? ? ?default "mips-linux-gnu" ? ? ? ? if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS44
> ? ? ? ?default "mips-linux-gnu" ? ? ? ? if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201103
> + ? ? ? default "mips-linux-gnu" ? ? ? ? if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201109
> ? ? ? ?default "powerpc-linux-gnu" ? ? ?if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
> ? ? ? ?default "powerpc-linux-gnu" ? ? ?if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
> ? ? ? ?default "sh-linux-gnu" ? ? ? ? ? if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201009
> diff --git a/toolchain/toolchain-external/ext-tool.mk b/toolchain/toolchain-external/ext-tool.mk
> index 88e0619..867480a 100644
> --- a/toolchain/toolchain-external/ext-tool.mk
> +++ b/toolchain/toolchain-external/ext-tool.mk
> @@ -212,6 +212,9 @@ TOOLCHAIN_EXTERNAL_SOURCE=mips-4.4-303-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2
> ?else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201103),y)
> ?TOOLCHAIN_EXTERNAL_SITE=http://sourcery.mentor.com/sgpp/lite/mips/portal/package9469/public/mips-linux-gnu/
> ?TOOLCHAIN_EXTERNAL_SOURCE=mips-2011.03-110-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2
> +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201109),y)
> +TOOLCHAIN_EXTERNAL_SITE=https://sourcery.mentor.com/GNUToolchain/package9761/public/mips-linux-gnu/
> +TOOLCHAIN_EXTERNAL_SOURCE=mips-2011.09-75-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2
> ?else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009),y)
> ?TOOLCHAIN_EXTERNAL_SITE=http://sourcery.mentor.com/sgpp/lite/power/portal/package7703/public/powerpc-linux-gnu/
> ?TOOLCHAIN_EXTERNAL_SOURCE=freescale-2010.09-55-powerpc-linux-gnu-i686-pc-linux-gnu.tar.bz2
> --
> 1.7.9.5
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 07/10] toolchain-external: remove Sourcery CodeBench ARM 2009q3
  2012-06-03 14:04 ` [Buildroot] [PATCH 07/10] toolchain-external: remove Sourcery CodeBench ARM 2009q3 Thomas Petazzoni
@ 2012-06-05 19:44   ` Thomas De Schampheleire
  0 siblings, 0 replies; 19+ messages in thread
From: Thomas De Schampheleire @ 2012-06-05 19:44 UTC (permalink / raw)
  To: buildroot

On Sun, Jun 3, 2012 at 4:04 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> ?toolchain/toolchain-external/Config.in ? | ? 22 ----------------------
> ?toolchain/toolchain-external/ext-tool.mk | ? ?5 +----
> ?2 files changed, 1 insertion(+), 26 deletions(-)
>
> diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
> index 1452cad..d17fc9b 100644
> --- a/toolchain/toolchain-external/Config.in
> +++ b/toolchain/toolchain-external/Config.in
> @@ -159,27 +159,6 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1
> ? ? ? ? ? ? ? ?Select BR2_SOFT_FLOAT
> ? ? ? ? ? ? ? ?Set BR2_TARGET_OPTIMIZATION to -mthumb
>
> -config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q3
> - ? ? ? bool "Sourcery CodeBench ARM 2009q3"
> - ? ? ? depends on BR2_arm
> - ? ? ? select BR2_TOOLCHAIN_EXTERNAL_GLIBC
> - ? ? ? select BR2_INSTALL_LIBSTDCPP
> - ? ? ? help
> - ? ? ? ? Sourcery CodeBench toolchain for the ARM architecture, from
> - ? ? ? ? Mentor Graphics. It uses gcc 4.4.1, binutils 2.19, glibc
> - ? ? ? ? 2.10 and gdb 6.8 and kernel headers 2.6.30. It has support
> - ? ? ? ? for the following variants:
> - ? ? ? ? ? ?- ARMv5T, little endian, soft-float, glibc
> - ? ? ? ? ? ? ?Select ARM926T, ARM10T, XScale or another ARMv5 core
> - ? ? ? ? ? ? ?Select BR2_SOFT_FLOAT
> - ? ? ? ? ? ?- ARMv4T, little endian, soft-float, glibc
> - ? ? ? ? ? ? ?Select ARM720T, ARM920T, ARM922T or another ARMv4 core
> - ? ? ? ? ? ? ?Select BR2_SOFT_FLOAT
> - ? ? ? ? ? ?- ARMv7-A, Thumb 2, little endian, soft-float, glibc
> - ? ? ? ? ? ? ?Select Cortex-A8, Cortex-A9 or another ARMv7-A core
> - ? ? ? ? ? ? ?Select BR2_SOFT_FLOAT
> - ? ? ? ? ? ? ?Set BR2_TARGET_OPTIMIZATION to -mthumb
> -

Same indentation remark as for mips.

> ?config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201109
> ? ? ? ?bool "Sourcery CodeBench MIPS 2011.09"
> ? ? ? ?depends on BR2_mips || BR2_mipsel
> @@ -662,7 +641,6 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
> ? ? ? ?default "arm-linux-gnueabi" ? ? ?if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_03
> ? ? ? ?default "arm-linux-gnueabi" ? ? ?if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_04
> ? ? ? ?default "arm-linux-gnueabihf" ? ?if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_05
> - ? ? ? default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q3
> ? ? ? ?default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1
> ? ? ? ?default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201009
> ? ? ? ?default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103
> diff --git a/toolchain/toolchain-external/ext-tool.mk b/toolchain/toolchain-external/ext-tool.mk
> index 867480a..fce7412 100644
> --- a/toolchain/toolchain-external/ext-tool.mk
> +++ b/toolchain/toolchain-external/ext-tool.mk
> @@ -176,10 +176,7 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y)
> ?TOOLCHAIN_EXTERNAL_DEPENDENCIES = $(TOOLCHAIN_EXTERNAL_DIR)/.extracted
> ?endif
>
> -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q3),y)
> -TOOLCHAIN_EXTERNAL_SITE=http://sourcery.mentor.com/sgpp/lite/arm/portal/package5383/public/arm-none-linux-gnueabi/
> -TOOLCHAIN_EXTERNAL_SOURCE=arm-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
> -else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1),y)
> +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1),y)
> ?TOOLCHAIN_EXTERNAL_SITE=http://sourcery.mentor.com/sgpp/lite/arm/portal/package6488/public/arm-none-linux-gnueabi/
> ?TOOLCHAIN_EXTERNAL_SOURCE=arm-2010q1-202-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
> ?else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201009),y)
> --
> 1.7.9.5
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 03/10] toolchain-external: add Sourcery CodeBench SuperH 2012.03
  2012-06-03 14:04 ` [Buildroot] [PATCH 03/10] toolchain-external: add Sourcery CodeBench SuperH 2012.03 Thomas Petazzoni
  2012-06-04  7:44   ` Peter Korsgaard
@ 2012-06-05 19:45   ` Thomas De Schampheleire
  1 sibling, 0 replies; 19+ messages in thread
From: Thomas De Schampheleire @ 2012-06-05 19:45 UTC (permalink / raw)
  To: buildroot

On Sun, Jun 3, 2012 at 4:04 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> ?toolchain/toolchain-external/Config.in ? | ? 20 ++++++++++++++++++++
> ?toolchain/toolchain-external/ext-tool.mk | ? ?3 +++
> ?2 files changed, 23 insertions(+)
>
> diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
> index 2bf9c3e..be24659 100644
> --- a/toolchain/toolchain-external/Config.in
> +++ b/toolchain/toolchain-external/Config.in
> @@ -332,6 +332,25 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
> ? ? ? ? ? ? - 970 glibc hard-float, 64 bits
> ? ? ? ? ? ? ? Set BR2_TARGET_OPTIMIZATION to -m64
>
> +config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
> + ? ? ? bool "Sourcery CodeBench SH 2012.03"
> + ? ? ? depends on BR2_sh4a || BR2_sh4aeb
> + ? ? ? select BR2_TOOLCHAIN_EXTERNAL_GLIBC
> + ? ? ? select BR2_INSTALL_LIBSTDCPP
> + ? ? ? help
> + ? ? ? ? Sourcery CodeBench toolchain for the SuperH architecture,
> + ? ? ? ? from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
> + ? ? ? ? glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers
> + ? ? ? ? 2.6.38. It has support for the following variants:
> + ? ? ? ? ? ?- SH4A, glibc, little endian
> + ? ? ? ? ? ? ?Default.
> + ? ? ? ? ? ?- SH4A, glibc, big endian
> + ? ? ? ? ? ? ?Add -mb to BR2_TARGET_OPTIMIZATION
> + ? ? ? ? ? ?- SH4A, uClibc, little endian
> + ? ? ? ? ? ? ?Not usable in Buildroot yet.
> + ? ? ? ? ? ?- SH4A, uClibc, big endian
> + ? ? ? ? ? ? ?Not usable in Buildroot yet.

Same indentation remark.

> +
> ?config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
> ? ? ? ?bool "Sourcery CodeBench SH 2011.03"
> ? ? ? ?depends on BR2_sh4a || BR2_sh4aeb
> @@ -549,6 +568,7 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
> ? ? ? ?default "powerpc-linux-gnu" ? ? ?if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103
> ? ? ? ?default "sh-linux-gnu" ? ? ? ? ? if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201009
> ? ? ? ?default "sh-linux-gnu" ? ? ? ? ? if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103
> + ? ? ? default "sh-linux-gnu" ? ? ? ? ? if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
> ? ? ? ?default "sh-uclinux" ? ? ? ? ? ? if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
> ? ? ? ?default "sh-uclinux" ? ? ? ? ? ? if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201103
> ? ? ? ?default "i686-pc-linux-gnu" ? ? ?if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86_201009
> diff --git a/toolchain/toolchain-external/ext-tool.mk b/toolchain/toolchain-external/ext-tool.mk
> index 27d71ab..263a30c 100644
> --- a/toolchain/toolchain-external/ext-tool.mk
> +++ b/toolchain/toolchain-external/ext-tool.mk
> @@ -224,6 +224,9 @@ TOOLCHAIN_EXTERNAL_SOURCE=renesas-2010.09-45-sh-linux-gnu-i686-pc-linux-gnu.tar.
> ?else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103),y)
> ?TOOLCHAIN_EXTERNAL_SITE=https://sourcery.mentor.com/sgpp/lite/superh/portal/package8759/public/sh-linux-gnu/
> ?TOOLCHAIN_EXTERNAL_SOURCE=renesas-2011.03-37-sh-linux-gnu-i686-pc-linux-gnu.tar.bz2
> +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203),y)
> +TOOLCHAIN_EXTERNAL_SITE=https://sourcery.mentor.com/GNUToolchain/package10148/public/sh-linux-gnu/
> +TOOLCHAIN_EXTERNAL_SOURCE=renesas-2012.03-35-sh-linux-gnu-i686-pc-linux-gnu.tar.bz2
> ?else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009),y)
> ?TOOLCHAIN_EXTERNAL_SITE=http://sourcery.mentor.com/sgpp/lite/superh/portal/package7859/public/sh-uclinux/
> ?TOOLCHAIN_EXTERNAL_SOURCE=renesas-2010.09-60-sh-uclinux-i686-pc-linux-gnu.tar.bz2
> --
> 1.7.9.5
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH 10/10] toolchain-external: on SuperH, use Sourcery CodeBench 2011.09 by default
  2012-06-04  7:48   ` Peter Korsgaard
@ 2012-06-06 20:00     ` Thomas Petazzoni
  0 siblings, 0 replies; 19+ messages in thread
From: Thomas Petazzoni @ 2012-06-06 20:00 UTC (permalink / raw)
  To: buildroot

Le Mon, 04 Jun 2012 09:48:38 +0200,
Peter Korsgaard <jacmet@uclibc.org> a ?crit :

> >>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> 
>  Thomas> The 2012.03 version of the x86 toolchain uses glibc 2.15, which
>  Thomas> doesn't provide RPC functions. This breaks most packages for now,
>  Thomas> until we package TI-RPC properly.
> 
> Seems like cut'n'paste from patch 9.

Yes :)

> "Most packages" is probably somewhat exaggerated - We have very few
> packages depending on BR2_INET_RPC:
> 
> git grep -l BR2_INET_RPC package/**/Config.in
> package/lmbench/Config.in
> package/netkitbase/Config.in
> package/netkittelnet/Config.in
> package/nfs-utils/Config.in
> package/portmap/Config.in
> 
> Or have you found other packages where we're missing the BR2_INET_RPC
> annotation?

There are some packages that do not depend on BR2_INET_RPC, but that
enable stuff when BR2_INET_RPC is enable. Take for example
package/busybox :-)

For the moment, the external toolchain code assumes that if the
external toolchain uses (e)glibc, then it has RPC support, so it always
enables BR2_INET_RPC. Obviously, this is what is broken, but I'd prefer
to add proper support for TI-RPC to not leave users using modern
toolchains with absolutely no solution for RPC support.

For now, if you choose one of those toolchains, even Busybox does not
build (complains that rpc.h doesn't exist), which explains why I
preferred to not make those toolchains the default ones, until I find
the time to work on TI-RPC integration.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* [Buildroot] [PATCH 03/10] toolchain-external: add Sourcery CodeBench SuperH 2012.03
  2012-06-04  7:44   ` Peter Korsgaard
@ 2012-06-06 20:01     ` Thomas Petazzoni
  0 siblings, 0 replies; 19+ messages in thread
From: Thomas Petazzoni @ 2012-06-06 20:01 UTC (permalink / raw)
  To: buildroot

Le Mon, 04 Jun 2012 09:44:25 +0200,
Peter Korsgaard <jacmet@uclibc.org> a ?crit :

>  Thomas> +config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201203
>  Thomas> +	bool "Sourcery CodeBench SH 2012.03"
>  Thomas> +	depends on BR2_sh4a || BR2_sh4aeb
>  Thomas> +	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
>  Thomas> +	select BR2_INSTALL_LIBSTDCPP
>  Thomas> +	help
>  Thomas> +	  Sourcery CodeBench toolchain for the SuperH architecture,
>  Thomas> +	  from Mentor Graphics. It uses gcc 4.5.2, binutils 2.20,
>  Thomas> +	  glibc 2.13, uClibc 0.9.30, gdb 7.2.50 and kernel headers
> 
> How does this fit with patch 10/10 where you state it uses glibc 2.15?

It fits with the "too-much-copy-paste" problem :)

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* [Buildroot] [pull request] Pull request for branch for-2012.08/ext-toolchain-updates
  2012-06-03 14:04 [Buildroot] [pull request] Pull request for branch for-2012.08/ext-toolchain-updates Thomas Petazzoni
                   ` (9 preceding siblings ...)
  2012-06-03 14:04 ` [Buildroot] [PATCH 10/10] toolchain-external: on SuperH, " Thomas Petazzoni
@ 2012-07-22 16:24 ` Thomas Petazzoni
  10 siblings, 0 replies; 19+ messages in thread
From: Thomas Petazzoni @ 2012-07-22 16:24 UTC (permalink / raw)
  To: buildroot

Le Sun,  3 Jun 2012 16:04:34 +0200,
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> a ?crit :

>       toolchain-external: add Linaro 2012.05

Applied. I've also added 2012.06.

>       toolchain-external: adjust logic to support Linaro 2012.05

Applied.

>       toolchain-external: add Sourcery CodeBench SuperH 2012.03

Not applied, need to work more on RPC integration.

>       toolchain-external: add Sourcery CodeBench x86 2012.03

Not applied, need to work more on RPC integration.

>       toolchain-external: add Blackfin toolchain 2012R1-BETA1

Applied.

>       toolchain-external: add Sourcery CodeBench MIPS 2011.09

Applied.

>       toolchain-external: remove Sourcery CodeBench ARM 2009q3

Applied.

>       toolchain-external: remove Linaro 2012.01

Applied.

>       toolchain-external: on i386/x86_64, use Sourcery CodeBench 2011.09 by default
>       toolchain-external: on SuperH, use Sourcery CodeBench 2011.09 by default

Not applied, need to work more on RPC integration.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

end of thread, other threads:[~2012-07-22 16:24 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-03 14:04 [Buildroot] [pull request] Pull request for branch for-2012.08/ext-toolchain-updates Thomas Petazzoni
2012-06-03 14:04 ` [Buildroot] [PATCH 01/10] toolchain-external: add Linaro 2012.05 Thomas Petazzoni
2012-06-03 14:04 ` [Buildroot] [PATCH 02/10] toolchain-external: adjust logic to support " Thomas Petazzoni
2012-06-03 14:04 ` [Buildroot] [PATCH 03/10] toolchain-external: add Sourcery CodeBench SuperH 2012.03 Thomas Petazzoni
2012-06-04  7:44   ` Peter Korsgaard
2012-06-06 20:01     ` Thomas Petazzoni
2012-06-05 19:45   ` Thomas De Schampheleire
2012-06-03 14:04 ` [Buildroot] [PATCH 04/10] toolchain-external: add Sourcery CodeBench x86 2012.03 Thomas Petazzoni
2012-06-03 14:04 ` [Buildroot] [PATCH 05/10] toolchain-external: add Blackfin toolchain 2012R1-BETA1 Thomas Petazzoni
2012-06-03 14:04 ` [Buildroot] [PATCH 06/10] toolchain-external: add Sourcery CodeBench MIPS 2011.09 Thomas Petazzoni
2012-06-05 19:43   ` Thomas De Schampheleire
2012-06-03 14:04 ` [Buildroot] [PATCH 07/10] toolchain-external: remove Sourcery CodeBench ARM 2009q3 Thomas Petazzoni
2012-06-05 19:44   ` Thomas De Schampheleire
2012-06-03 14:04 ` [Buildroot] [PATCH 08/10] toolchain-external: remove Linaro 2012.01 Thomas Petazzoni
2012-06-03 14:04 ` [Buildroot] [PATCH 09/10] toolchain-external: on i386/x86_64, use Sourcery CodeBench 2011.09 by default Thomas Petazzoni
2012-06-03 14:04 ` [Buildroot] [PATCH 10/10] toolchain-external: on SuperH, " Thomas Petazzoni
2012-06-04  7:48   ` Peter Korsgaard
2012-06-06 20:00     ` Thomas Petazzoni
2012-07-22 16:24 ` [Buildroot] [pull request] Pull request for branch for-2012.08/ext-toolchain-updates Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.