Skip to contentSkip to conversation

Pull request for branch for-2012.08/ext-toolchain-updates

GIT PULL New Thomas Petazzoni 3 participants 19 messages Jun 3, 2012 – Jul 22, 2012

lore
Share & tools
lore
#0 lore raw

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,

Signature · 1 line
Thomas Petazzoni
#1 lore raw

PATCH 1/10 toolchain-external: add Linaro 2012.05

---
 toolchain/toolchain-external/Config.in   |   17 +++++++++++++++++
 toolchain/toolchain-external/ext-tool.mk |    3 +++
 2 files changed, 20 insertions(+)
toolchain/toolchain-external/Config.in +17 -0
index f58523f..2bf9c3e 100644
@@ -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
toolchain/toolchain-external/ext-tool.mk +3 -0
index 3f58aad..27d71ab 100644
@@ -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
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 2/10 toolchain-external: adjust logic to support Linaro 2012.05

In reply to Thomas Petazzoni

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.

---
 toolchain/helpers.mk |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
toolchain/helpers.mk +2 -2
index 649b91b..49a9044 100644
@@ -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" ; \
Signature · 1 line
1.7.9.5
#3 lore raw

PATCH 3/10 toolchain-external: add Sourcery CodeBench SuperH 2012.03

In reply to Thomas Petazzoni
---
 toolchain/toolchain-external/Config.in   |   20 ++++++++++++++++++++
 toolchain/toolchain-external/ext-tool.mk |    3 +++
 2 files changed, 23 insertions(+)
toolchain/toolchain-external/Config.in +20 -0
index 2bf9c3e..be24659 100644
@@ -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
toolchain/toolchain-external/ext-tool.mk +3 -0
index 27d71ab..263a30c 100644
@@ -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
Signature · 1 line
1.7.9.5
#7 lore raw

PATCH 4/10 toolchain-external: add Sourcery CodeBench x86 2012.03

In reply to Thomas Petazzoni
---
 toolchain/toolchain-external/Config.in   |   26 ++++++++++++++++++++++++++
 toolchain/toolchain-external/ext-tool.mk |    3 +++
 2 files changed, 29 insertions(+)
toolchain/toolchain-external/Config.in +26 -0
index be24659..ce84c7d 100644
@@ -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
toolchain/toolchain-external/ext-tool.mk +3 -0
index 263a30c..91555e1 100644
@@ -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
Signature · 1 line
1.7.9.5
#8 lore raw

PATCH 5/10 toolchain-external: add Blackfin toolchain 2012R1-BETA1

In reply to Thomas Petazzoni
---
 toolchain/toolchain-external/Config.in   |   17 +++++++++++++++++
 toolchain/toolchain-external/ext-tool.mk |    8 +++++++-
 2 files changed, 24 insertions(+), 1 deletion(-)
toolchain/toolchain-external/Config.in +17 -0
index ce84c7d..fcac7da 100644
@@ -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
 
toolchain/toolchain-external/ext-tool.mk +7 -1
index 91555e1..88e0619 100644
@@ -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))
 
Signature · 1 line
1.7.9.5
#9 lore raw

PATCH 6/10 toolchain-external: add Sourcery CodeBench MIPS 2011.09

In reply to Thomas Petazzoni
---
 toolchain/toolchain-external/Config.in   |   68 ++++++++++++++++++++++++++++++
 toolchain/toolchain-external/ext-tool.mk |    3 ++
 2 files changed, 71 insertions(+)
toolchain/toolchain-external/Config.in +68 -0
index fcac7da..1452cad 100644
@@ -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
toolchain/toolchain-external/ext-tool.mk +3 -0
index 88e0619..867480a 100644
@@ -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
Signature · 1 line
1.7.9.5
#11 lore raw

PATCH 7/10 toolchain-external: remove Sourcery CodeBench ARM 2009q3

In reply to Thomas Petazzoni
---
 toolchain/toolchain-external/Config.in   |   22 ----------------------
 toolchain/toolchain-external/ext-tool.mk |    5 +----
 2 files changed, 1 insertion(+), 26 deletions(-)
toolchain/toolchain-external/Config.in +0 -22
index 1452cad..d17fc9b 100644
@@ -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
toolchain/toolchain-external/ext-tool.mk +1 -4
index 867480a..fce7412 100644
@@ -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)
Signature · 1 line
1.7.9.5
#13 lore raw

PATCH 8/10 toolchain-external: remove Linaro 2012.01

In reply to Thomas Petazzoni
---
 toolchain/toolchain-external/Config.in   |   15 ---------------
 toolchain/toolchain-external/ext-tool.mk |    3 ---
 2 files changed, 18 deletions(-)
toolchain/toolchain-external/Config.in +0 -15
index d17fc9b..aebd205 100644
@@ -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
toolchain/toolchain-external/ext-tool.mk +0 -3
index fce7412..5ad6598 100644
@@ -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
Signature · 1 line
1.7.9.5
#14 lore raw

PATCH 9/10 toolchain-external: on i386/x86_64, use Sourcery CodeBench 2011.09 by default

In reply to Thomas Petazzoni

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.

---
 toolchain/toolchain-external/Config.in |    3 +++
 1 file changed, 3 insertions(+)
toolchain/toolchain-external/Config.in +3 -0
index aebd205..f632deb 100644
@@ -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"
Signature · 1 line
1.7.9.5
#15 lore raw

PATCH 10/10 toolchain-external: on SuperH, use Sourcery CodeBench 2011.09 by default

In reply to Thomas Petazzoni

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.

---
 toolchain/toolchain-external/Config.in |    4 ++++
 1 file changed, 4 insertions(+)
toolchain/toolchain-external/Config.in +4 -0
index f632deb..c8c1f14 100644
@@ -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"
Signature · 1 line
1.7.9.5
#4 lore raw

PATCH 3/10 toolchain-external: add Sourcery CodeBench SuperH 2012.03

In reply to Thomas Petazzoni
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Thomas> Signed-off-by: Thomas Petazzoni <[email protected]> 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?

Signature · 1 line
Bye, Peter Korsgaard
#16 lore raw

PATCH 10/10 toolchain-external: on SuperH, use Sourcery CodeBench 2011.09 by default

In reply to Thomas Petazzoni
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> 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?

Signature · 1 line
Bye, Peter Korsgaard
#10 lore raw

PATCH 6/10 toolchain-external: add Sourcery CodeBench MIPS 2011.09

In reply to Thomas Petazzoni
Quoted 71 lines · Thomas Petazzoni

---
?toolchain/toolchain-external/Config.in ? | ? 68 ++++++++++++++++++++++++++++++ ?toolchain/toolchain-external/ext-tool.mk | ? ?3 ++
?2 files changed, 71 insertions(+)

toolchain/toolchain-external/Config.in +0 -0
index fcac7da..1452cad 100644
@@ -180,6 +180,73 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q3

? ? ? ? ? ? ? Select BR2_SOFT_FLOAT
? ? ? ? ? ? ? Set BR2_TARGET_OPTIMIZATION to -mthumb

toolchain/toolchain-external/Config.in +57 -0
+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

toolchain/toolchain-external/Config.in

Quoted 10 lines
toolchain/toolchain-external/Config.in +10 -0
+ ? ? ? ? ? ? ?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.

Quoted 32 lines

?config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201103 ? ? ? ?bool "Sourcery CodeBench MIPS 2011.03" ? ? ? ?depends on BR2_mips || BR2_mipsel

toolchain/toolchain-external/Config.in +0 -0
@@ -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

toolchain/toolchain-external/ext-tool.mk +0 -0
index 88e0619..867480a 100644
@@ -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

toolchain/toolchain-external/ext-tool.mk +3 -0
+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

#12 lore raw

PATCH 7/10 toolchain-external: remove Sourcery CodeBench ARM 2009q3

In reply to Thomas Petazzoni
Quoted 25 lines · Thomas Petazzoni

---
?toolchain/toolchain-external/Config.in ? | ? 22 ---------------------- ?toolchain/toolchain-external/ext-tool.mk | ? ?5 +----
?2 files changed, 1 insertion(+), 26 deletions(-)

toolchain/toolchain-external/Config.in +0 -0
index 1452cad..d17fc9b 100644
@@ -159,27 +159,6 @@ config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1

? ? ? ? ? ? ? ?Select BR2_SOFT_FLOAT
? ? ? ? ? ? ? ?Set BR2_TARGET_OPTIMIZATION to -mthumb

toolchain/toolchain-external/Config.in +0 -11
-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

toolchain/toolchain-external/Config.in

Quoted 10 lines
toolchain/toolchain-external/Config.in +0 -10
- ? ? ? ? ? ? ?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.

Quoted 34 lines

?config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201109 ? ? ? ?bool "Sourcery CodeBench MIPS 2011.09" ? ? ? ?depends on BR2_mips || BR2_mipsel

toolchain/toolchain-external/Config.in +0 -0
@@ -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

toolchain/toolchain-external/ext-tool.mk +0 -0
index 867480a..fce7412 100644
@@ -176,10 +176,7 @@ ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y)

?TOOLCHAIN_EXTERNAL_DEPENDENCIES = $(TOOLCHAIN_EXTERNAL_DIR)/.extracted ?endif

toolchain/toolchain-external/ext-tool.mk +1 -4
-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

#6 lore raw

PATCH 3/10 toolchain-external: add Sourcery CodeBench SuperH 2012.03

In reply to Thomas Petazzoni
Quoted 24 lines · Thomas Petazzoni

---
?toolchain/toolchain-external/Config.in ? | ? 20 ++++++++++++++++++++ ?toolchain/toolchain-external/ext-tool.mk | ? ?3 +++
?2 files changed, 23 insertions(+)

toolchain/toolchain-external/Config.in +0 -0
index 2bf9c3e..be24659 100644
@@ -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:

Quoted 8 lines

+ ? ? ? ? ? ?- 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.

Quoted 33 lines

+
?config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201103 ? ? ? ?bool "Sourcery CodeBench SH 2011.03" ? ? ? ?depends on BR2_sh4a || BR2_sh4aeb

toolchain/toolchain-external/Config.in +0 -0
@@ -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

toolchain/toolchain-external/ext-tool.mk +0 -0
index 27d71ab..263a30c 100644
@@ -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

toolchain/toolchain-external/ext-tool.mk +3 -0
+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

#17 lore raw

PATCH 10/10 toolchain-external: on SuperH, use Sourcery CodeBench 2011.09 by default

In reply to Peter Korsgaard

Le Mon, 04 Jun 2012 09:48:38 +0200,
Peter Korsgaard <[email protected]> a ?crit :

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> 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 :)

Quoted 10 lines

"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

Quoted 2 lines

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

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#5 lore raw

PATCH 3/10 toolchain-external: add Sourcery CodeBench SuperH 2012.03

In reply to Peter Korsgaard

Le Mon, 04 Jun 2012 09:44:25 +0200,
Peter Korsgaard <[email protected]> a ?crit :

Quoted 11 lines

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

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
author Applied
#18 lore raw
In reply to Thomas Petazzoni

Le Sun, 3 Jun 2012 16:04:34 +0200,
Thomas Petazzoni <[email protected]> a ?crit :

Quoted 1 line

toolchain-external: add Linaro 2012.05

Applied. I've also added 2012.06.

Quoted 1 line

toolchain-external: adjust logic to support Linaro 2012.05

Applied.

Quoted 1 line

toolchain-external: add Sourcery CodeBench SuperH 2012.03

Not applied, need to work more on RPC integration.

Quoted 1 line

toolchain-external: add Sourcery CodeBench x86 2012.03

Not applied, need to work more on RPC integration.

Quoted 1 line

toolchain-external: add Blackfin toolchain 2012R1-BETA1

Applied.

Quoted 1 line

toolchain-external: add Sourcery CodeBench MIPS 2011.09

Applied.

Quoted 1 line

toolchain-external: remove Sourcery CodeBench ARM 2009q3

Applied.

Quoted 1 line

toolchain-external: remove Linaro 2012.01

Applied.

Quoted 2 lines

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

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