External toolchain updates
cover External toolchain updates
Hello,
Here are some traditional toolchain updates (for Linaro ARM and Aarch64 toolchains), a typo fix for a Blackfin toolchain, and the removal of the oldest Microblaze toolchain, since it is no longer possible to download just the toolchain tarball from the Git repository.
Thanks.
Thomas Petazzoni (4):
toolchain-external: update ARM Linaro toolchains
toolchain-external: update AArch64 Linaro toolchains
toolchain-external: fix typo in Blackfin toolchain config option
toolchain-external: remove older Microblaze toolchain
toolchain/toolchain-external/Config.in | 62 ++++++++++-------------------- toolchain/toolchain-external/ext-tool.mk | 32 +++++++-------- 2 files changed, 33 insertions(+), 61 deletions(-)
Signature · 1 line
1.7.9.5
PATCH 1/4 toolchain-external: update ARM Linaro toolchains
Add the ARM Linaro toolchains 2013.02 and 2013.03, remove 2012.11 and 2012.12.
--- toolchain/toolchain-external/Config.in | 22 +++++++++++----------- toolchain/toolchain-external/ext-tool.mk | 14 +++++++------- 2 files changed, 18 insertions(+), 18 deletions(-)
toolchain/toolchain-external/Config.in +11 -11
@@ -3,8 +3,8 @@ if BR2_TOOLCHAIN_EXTERNAL choice prompt "Toolchain" -config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_01 - bool "Linaro 2013.01" +config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_03 + bool "Linaro 2013.03" depends on BR2_arm depends on BR2_cortex_a5 || BR2_cortex_a8 || BR2_cortex_a9 || BR2_cortex_a15 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
@@ -14,7 +14,7 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_01 select BR2_HOSTARCH_NEEDS_IA32_LIBS help Linaro toolchain for the ARM architecture. It uses Linaro - GCC 2013.01 (based on gcc 4.7), Linaro GDB 2012.12 (based on + GCC 2013.03 (based on gcc 4.7), Linaro GDB 2012.12 (based on GDB 7.5), eglibc 2.15. 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
@@ -22,8 +22,8 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_01 To use this toolchain, you must disable soft float usage. -config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_12 - bool "Linaro 2012.12" +config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_02 + bool "Linaro 2013.02" depends on BR2_arm depends on BR2_cortex_a5 || BR2_cortex_a8 || BR2_cortex_a9 || BR2_cortex_a15 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
@@ -33,7 +33,7 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_12 select BR2_HOSTARCH_NEEDS_IA32_LIBS help Linaro toolchain for the ARM architecture. It uses Linaro - GCC 2012.12 (based on gcc 4.7), Linaro GDB 2012.12 (based on + GCC 2013.02 (based on gcc 4.7), Linaro GDB 2012.12 (based on GDB 7.5), eglibc 2.15. 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
@@ -41,8 +41,8 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_12 To use this toolchain, you must disable soft float usage. -config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_11 - bool "Linaro 2012.11" +config BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_01 + bool "Linaro 2013.01" depends on BR2_arm depends on BR2_cortex_a5 || BR2_cortex_a8 || BR2_cortex_a9 || BR2_cortex_a15 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
@@ -52,7 +52,7 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_11 select BR2_HOSTARCH_NEEDS_IA32_LIBS help Linaro toolchain for the ARM architecture. It uses Linaro - GCC 2012.11 (based on gcc 4.7), Linaro GDB 2012.10 (based on + GCC 2013.01 (based on gcc 4.7), Linaro GDB 2012.12 (based on GDB 7.5), eglibc 2.15. 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
@@ -758,9 +758,9 @@ config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX config BR2_TOOLCHAIN_EXTERNAL_PREFIX string + default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_03 + default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_02 default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_01 - default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_10 - default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_11 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203
toolchain/toolchain-external/ext-tool.mk +7 -7
@@ -192,15 +192,15 @@ TOOLCHAIN_EXTERNAL_SOURCE=arm-2011.09-70-arm-none-linux-gnueabi-i686-pc-linux-gn else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203),y) TOOLCHAIN_EXTERNAL_SITE=http://sourcery.mentor.com/public/gnu_toolchain/arm-none-linux-gnueabi/ TOOLCHAIN_EXTERNAL_SOURCE=arm-2012.03-57-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 -else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_11),y) -TOOLCHAIN_EXTERNAL_SITE=https://launchpad.net/linaro-toolchain-binaries/trunk/2012.11/+download/ -TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-arm-linux-gnueabihf-4.7-2012.11-20121123_linux.tar.bz2 -else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_12),y) -TOOLCHAIN_EXTERNAL_SITE=http://releases.linaro.org/12.12/components/toolchain/binaries/ -TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-arm-linux-gnueabihf-4.7-2012.12-20121214_linux.tar.bz2 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_01),y) TOOLCHAIN_EXTERNAL_SITE=https://launchpad.net/linaro-toolchain-binaries/trunk/2013.01/+download/ -TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-arm-linux-gnueabihf-4.7-2013.01-20130125_linux.tar.bz2 +TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-arm-linux-gnueabihf-4.7-2013.01-20130125_linux.tar.bz +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_02),y) +TOOLCHAIN_EXTERNAL_SITE=https://releases.linaro.org/13.02/components/toolchain/binaries/ +TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-arm-linux-gnueabihf-4.7-2013.02-01-20130221_linux.tar.xz +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2013_03),y) +TOOLCHAIN_EXTERNAL_SITE=https://releases.linaro.org/13.03/components/toolchain/binaries/ +TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux.tar.bz2 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201109),y) TOOLCHAIN_EXTERNAL_SITE=http://sourcery.mentor.com/public/gnu_toolchain/mips-linux-gnu/ TOOLCHAIN_EXTERNAL_SOURCE=mips-2011.09-75-mips-linux-gnu-i686-pc-linux-gnu.tar.bz2
Signature · 1 line
1.7.9.5
PATCH 2/4 toolchain-external: update AArch64 Linaro toolchains
In reply to Thomas PetazzoniAdd the AArch64 Linaro toolchains 2013.02 and 2013.03, remove 2012.11 and 2012.12.
--- toolchain/toolchain-external/Config.in | 16 ++++++++-------- toolchain/toolchain-external/ext-tool.mk | 12 ++++++------ 2 files changed, 14 insertions(+), 14 deletions(-)
toolchain/toolchain-external/Config.in +8 -8
@@ -675,8 +675,8 @@ config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2 Toolchain for the Microblaze architecture, from http://wiki.xilinx.com/mb-gnu-tools -config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_01 - bool "Linaro AArch64 13.01" +config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_03 + bool "Linaro AArch64 13.03" depends on BR2_aarch64 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" select BR2_TOOLCHAIN_EXTERNAL_GLIBC
@@ -686,8 +686,8 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_01 Toolchain for the AArch64 architecture, from http://www.linaro.org/engineering/armv8/ -config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_12_12 - bool "Linaro AArch64 12.12" +config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_02 + bool "Linaro AArch64 13.02" depends on BR2_aarch64 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" select BR2_TOOLCHAIN_EXTERNAL_GLIBC
@@ -697,8 +697,8 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_12_12 Toolchain for the AArch64 architecture, from http://www.linaro.org/engineering/armv8/ -config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_12_11 - bool "Linaro AArch64 12.11" +config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_01 + bool "Linaro AArch64 13.01" depends on BR2_aarch64 depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" select BR2_TOOLCHAIN_EXTERNAL_GLIBC
@@ -764,8 +764,8 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201109 default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201203 - default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_12_11 - default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_12_12 + default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_03 + default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_02 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_01 default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3 default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2
toolchain/toolchain-external/ext-tool.mk +6 -6
@@ -270,15 +270,15 @@ TOOLCHAIN_EXTERNAL_SOURCE=lin32-microblaze-unknown-linux-gnu_14.3_early.tar.xz else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2),y) TOOLCHAIN_EXTERNAL_SITE=http://git.xilinx.com/?p=xldk/microblaze_v2.0.git;a=blob;h=71e031ae990e063a5718f90d30cf97ad85e2f565;hb=569081301f0f1d8d3b24335a364e8ff1774190d4;f= TOOLCHAIN_EXTERNAL_SOURCE=microblaze-unknown-linux-gnu.tgz -else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_12_11),y) -TOOLCHAIN_EXTERNAL_SITE=http://releases.linaro.org/12.11/components/toolchain/binaries/ -TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-aarch64-linux-gnu-4.7-2012.11-1-20121127_linux.tar.bz2 -else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_12_12),y) -TOOLCHAIN_EXTERNAL_SITE=http://releases.linaro.org/12.12/components/toolchain/binaries/ -TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-aarch64-linux-gnu-4.7-2012.12-20121214_linux.tar.bz2 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_01),y) TOOLCHAIN_EXTERNAL_SITE=http://releases.linaro.org/13.01/components/toolchain/binaries/ TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-aarch64-linux-gnu-4.7-2013.01-20130125_linux.tar.xz +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_02),y) +TOOLCHAIN_EXTERNAL_SITE=https://releases.linaro.org/13.02/components/toolchain/binaries/ +TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-aarch64-linux-gnu-4.7-2013.02-01-20130221_linux.tar.xz +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_03),y) +TOOLCHAIN_EXTERNAL_SITE=https://releases.linaro.org/13.03/components/toolchain/binaries/ +TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-aarch64-linux-gnu-4.7-2013.03-20130313_linux.tar.xz else # Custom toolchain TOOLCHAIN_EXTERNAL_SITE=$(dir $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_URL)))
Signature · 1 line
1.7.9.5
PATCH 3/4 toolchain-external: fix typo in Blackfin toolchain config option
In reply to Thomas Petazzoni--- toolchain/toolchain-external/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
toolchain/toolchain-external/Config.in +1 -1
@@ -597,7 +597,7 @@ config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 Toolchain for the Blackfin architecture, from http://blackfin.uclinux.org. -config BR2_TOOLCHAIN_EXTERNAL_BLACKFI_UCLINUX_2012R1 +config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1 bool "Blackfin.uclinux.org 2012R1-RC2" depends on BR2_bfin depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
Signature · 1 line
1.7.9.5
PATCH 4/4 toolchain-external: remove older Microblaze toolchain
In reply to Thomas PetazzoniOur older Microblaze toolchain is no longer available: git.xilinx.com has moved to Github, and Github doesn't allow to download such huge binary blobs directly.
--- toolchain/toolchain-external/Config.in | 22 ---------------------- toolchain/toolchain-external/ext-tool.mk | 6 ------ 2 files changed, 28 deletions(-)
toolchain/toolchain-external/Config.in +0 -22
@@ -643,16 +643,6 @@ config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3 http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50. -config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2 - bool "Xilinx Little Endian Microblaze GNU Tools" - depends on BR2_microblazeel - depends on BR2_HOSTARCH = "x86_64" - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Toolchain for the Microblaze architecture, from - http://wiki.xilinx.com/mb-gnu-tools - config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3 bool "Xilinx Big Endian Microblaze GNU Tools" depends on BR2_microblaze
@@ -665,16 +655,6 @@ config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3 http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50. -config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2 - bool "Xilinx Big Endian Microblaze GNU Tools" - depends on BR2_microblazebe - depends on BR2_HOSTARCH = "x86_64" - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Toolchain for the Microblaze architecture, from - http://wiki.xilinx.com/mb-gnu-tools - config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_03 bool "Linaro AArch64 13.03" depends on BR2_aarch64
@@ -768,9 +748,7 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_02 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_01 default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3 - default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2 default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3 - default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201109 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201203 default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209
toolchain/toolchain-external/ext-tool.mk +0 -6
@@ -261,15 +261,9 @@ TOOLCHAIN_EXTERNAL_SOURCE = $(TOOLCHAIN_EXTERNAL_SOURCE_1) $(TOOLCHAIN_EXTERNA else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3),y) TOOLCHAIN_EXTERNAL_SITE=http://sources.buildroot.net/ TOOLCHAIN_EXTERNAL_SOURCE=lin32-microblazeel-unknown-linux-gnu_14.3_early.tar.xz -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 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3),y) TOOLCHAIN_EXTERNAL_SITE=http://sources.buildroot.net/ TOOLCHAIN_EXTERNAL_SOURCE=lin32-microblaze-unknown-linux-gnu_14.3_early.tar.xz -else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2),y) -TOOLCHAIN_EXTERNAL_SITE=http://git.xilinx.com/?p=xldk/microblaze_v2.0.git;a=blob;h=71e031ae990e063a5718f90d30cf97ad85e2f565;hb=569081301f0f1d8d3b24335a364e8ff1774190d4;f= -TOOLCHAIN_EXTERNAL_SOURCE=microblaze-unknown-linux-gnu.tgz else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_01),y) TOOLCHAIN_EXTERNAL_SITE=http://releases.linaro.org/13.01/components/toolchain/binaries/ TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-aarch64-linux-gnu-4.7-2013.01-20130125_linux.tar.xz
Signature · 1 line
1.7.9.5
PATCH 4/4 toolchain-external: remove older Microblaze toolchain
Hello,
there is an issue with the newer toolchain I'm not able to solve. I tried to google for a solution but I failed.
hidden symbol `__udivsi3' in buildroot/output/host/opt/ext-toolchain/bin/../lib/ gcc/microblazeel-unknown-linux-gnu/4.6.2/libgcc.a(udivsi3.o) is referenced by DSO
With the older one, it is possible to set LD_PRELOAD=/lib/libgcc_s.so.1 to solve (well, it is a hack...) that problem because it occurs during runtime. With the 14.3 toolchain, it occurs earlier - during compilation.
Does anybody know how to solve that?
Would it be possible to not delete the older toolchain? I think it is possible to do git clone and then just copy the archive to its place like this:
$ git clone https://github.com/Xilinx/microblaze_v2.0_le.git Initialized empty Git repository in /home/user/microblaze_v2.0_le/.git/ remote: Counting objects: 4, done. remote: Compressing objects: 100% (4/4), done. remote: Total 4 (delta 0), reused 4 (delta 0) Unpacking objects: 100% (4/4), done. $ cp microblaze_v2.0_le/microblazeel-unknown-linux-gnu.tgz SOMEWHERE $ rm -Rf microblaze_v2.0_le/
Well, I don't know how to integrate this method with Buildroot and I guess it is probably the only reason to remove it, isn't it?
Regards
Jan Viktorin
Quoted 85 lines · On Sun, 7 Apr 2013 20:01:02 +0200 Thomas Petazzoni…
Our older Microblaze toolchain is no longer available: git.xilinx.com has moved to Github, and Github doesn't allow to download such huge binary blobs directly.
Signed-off-by Thomas Petazzoni <[email protected]>--- toolchain/toolchain-external/Config.in | 22 ---------------------- toolchain/toolchain-external/ext-tool.mk | 6 ------ 2 files changed, 28 deletions(-)(quoted diff) +0
-0b/toolchain/toolchain-external/Config.in index 4e75d85..e09a122 100644
toolchain/toolchain-external/Config.in +0
-20@@ -643,16 +643,6 @@ config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3 http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50. -config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2 - bool "Xilinx Little Endian Microblaze GNU Tools" - depends on BR2_microblazeel - depends on BR2_HOSTARCH = "x86_64" - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Toolchain for the Microblaze architecture, from - http://wiki.xilinx.com/mb-gnu-tools - config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3 bool "Xilinx Big Endian Microblaze GNU Tools" depends on BR2_microblaze@@ -665,16 +655,6 @@ config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3 http://git.xilinx.com/?p=microblaze-gnu.git;a=tree;f=binaries. It uses gcc 4.6.2, binutils 2.21.53, glibc 2.14 and gdb 7.4.50. -config BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2 - bool "Xilinx Big Endian Microblaze GNU Tools" - depends on BR2_microblazebe - depends on BR2_HOSTARCH = "x86_64" - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Toolchain for the Microblaze architecture, from - http://wiki.xilinx.com/mb-gnu-tools - config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_03 bool "Linaro AArch64 13.03" depends on BR2_aarch64@@ -768,9 +748,7 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX default "aarch64-linux-gnu" if
BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_02default "aarch64-linux-gnu" ifBR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_01default "microblazeel-unknown-linux-gnu" ifBR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3toolchain/toolchain-external/Config.in +0
-1- default "microblazeel-unknown-linux-gnu" if
BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2default "microblaze-unknown-linux-gnu" ifBR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3toolchain/toolchain-external/Config.in +0
-1- default "microblaze-unknown-linux-gnu" if
BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2default
"mips-linux-gnu" ifBR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201109
default "mips-linux-gnu" ifBR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201203default
"mips-linux-gnu" ifBR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201209(quoted diff) +0
-0
b/toolchain/toolchain-external/ext-tool.mkindex d667b86..890d7d8 100644 ---a/toolchain/toolchain-external/ext-tool.mk+++b/toolchain/toolchain-external/ext-tool.mk@@ -261,15 +261,9 @@TOOLCHAIN_EXTERNAL_SOURCE= $(TOOLCHAIN_EXTERNAL_SOURCE_1)
$(TOOLCHAIN_EXTERNA else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_14_3),y) TOOLCHAIN_EXTERNAL_SITE=http://sources.buildroot.net/ TOOLCHAIN_EXTERNAL_SOURCE=lin32-microblazeel-unknown-linux-gnu_14.3_early.tar.xztoolchain/toolchain-external/Config.in +0
-3-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 else ifeq($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_14_3),y) TOOLCHAIN_EXTERNAL_SITE=http://sources.buildroot.net/ TOOLCHAIN_EXTERNAL_SOURCE=lin32-microblaze-unknown-linux-gnu_14.3_early.tar.xz
toolchain/toolchain-external/Config.in +0
-3-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2),y) -TOOLCHAIN_EXTERNAL_SITE=http://git.xilinx.com/?p=xldk/microblaze_v2.0.git;a=blob;h=71e031ae990e063a5718f90d30cf97ad85e2f565;hb=569081301f0f1d8d3b24335a364e8ff1774190d4;f= -TOOLCHAIN_EXTERNAL_SOURCE=microblaze-unknown-linux-gnu.tgz else ifeq($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_13_01),y) TOOLCHAIN_EXTERNAL_SITE=http://releases.linaro.org/13.01/components/toolchain/binaries/ TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-aarch64-linux-gnu-4.7-2013.01-20130125_linux.tar.xz
PATCH 4/4 toolchain-external: remove older Microblaze toolchain
Dear Jan Viktorin,
I'm really happy to see that there are some Microblaze developers using Buildroot! Besides this toolchain problem, we would be really happy to get your reports and feedback about how Buildroot performs for Microblaze platforms.
Quoted 7 lines · Jan Viktorin
there is an issue with the newer toolchain I'm not able to solve. I tried to google for a solution but I failed.
hidden symbol `__udivsi3' in buildroot/output/host/opt/ext-toolchain/bin/../lib/ gcc/microblazeel-unknown-linux-gnu/4.6.2/libgcc.a(udivsi3.o) is referenced by DSO
Argh. Do you have a way of reproducing this issue?
Quoted 4 lines
Would it be possible to not delete the older toolchain? I think it is possible to do
git cloneand then just copy the archive to its place like this:
Quoted 8 lines
$ git clone https://github.com/Xilinx/microblaze_v2.0_le.git Initialized empty Git repository in /home/user/microblaze_v2.0_le/.git/ remote: Counting objects: 4, done. remote: Compressing objects: 100% (4/4), done. remote: Total 4 (delta 0), reused 4 (delta 0) Unpacking objects: 100% (4/4), done. $ cp microblaze_v2.0_le/microblazeel-unknown-linux-gnu.tgz SOMEWHERE $ rm -Rf microblaze_v2.0_le/
The problem is that the external toolchain logic is not able to download a Git repo and then take a single file from it... It could be extended to do that, but I'm not really a fan of doing that just for the beauty of Microblaze toolchains.
Even the new Microblaze toolchain is problematic: it is available as a directory inside a Git repo with lots of other stuff. I've contacted Xilinx, but they don't seem to understand what the problem is. So the only solution we have found so far for the new Microblaze toolchain is to make ourselves a tarball of it, which we've stored in sources.buildroot.net.
I can do the same for the older toolchain if you're interested.
That said, the older toolchain uses a *very* old glibc, and was causing lots of problems in our autobuilders. I think it would be a lot better to see how to fix the build problem with the newer toolchain. Have you tried reporting it to the Xilinx people?
Thanks,
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH 4/4 toolchain-external: remove older Microblaze toolchain
Dear Thomas,
thanks for explaining the reasons to delete the v2 toolchain.
I am currently not able to provide a simple example that reproduces the situation. Very briefly, I've got a shared library 'libx.so' and an application 'app'. The compilation fails while linking the app with the library. The call __udivsi3 is located in the libx.so.
The readelf -d libx.so says this:
Dynamic section at offset 0x3c9c contains 14 entries:
Tag Type Name/Value
0x00000004 (HASH) 0x94 0x00000005 (STRTAB) 0x608 0x00000006 (SYMTAB) 0x228 0x0000000a (STRSZ) 731 (bytes) 0x0000000b (SYMENT) 16 (bytes) 0x00000007 (RELA) 0x8e4 0x00000008 (RELASZ) 696 (bytes) 0x00000009 (RELAENT) 12 (bytes) 0x00000003 (PLTGOT) 0x4e1c 0x00000002 (PLTRELSZ) 516 (bytes) 0x00000014 (PLTREL) RELA 0x00000017 (JMPREL) 0xb9c
0x00000018 (BIND_NOW)
0x00000000 (NULL) 0x0
while for other shared libraries that work (and use the same kind of division) I found:
Dynamic section at offset 0x47c0 contains 20 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libc.so.6] 0x0000000c (INIT) 0xffc 0x0000000d (FINI) 0x44fc 0x00000004 (HASH) 0x94 0x00000005 (STRTAB) 0x658 0x00000006 (SYMTAB) 0x238 0x0000000a (STRSZ) 639 (bytes) 0x0000000b (SYMENT) 16 (bytes) 0x00000007 (RELA) 0x99c 0x00000008 (RELASZ) 1116 (bytes) 0x00000009 (RELAENT) 12 (bytes) 0x00000003 (PLTGOT) 0x59f0 0x00000002 (PLTRELSZ) 516 (bytes) 0x00000014 (PLTREL) RELA 0x00000017 (JMPREL) 0xdf8 0x00000018 (BIND_NOW) 0x6ffffffe (VERNEED) 0x95c 0x6fffffff (VERNEEDNUM) 1 0x6ffffff0 (VERSYM) 0x8d8 0x00000000 (NULL) 0x0
So it seems to me that it is a problem with some options passed to the linker (maybe) because the libc.so.6 reference is missing in the first listing. But I didn't find anything strange yet. It needs some more review (and more time :/) but for now the workaround with v2 and LD_PRELOAD is sufficient. I will return to that issue later. I hope it is just a silly mistake and I will be able to move to the 14.3 (anyway, thanks for providing it).
Regards
Jan Viktorin
Quoted 55 lines · On Sun, 7 Apr 2013 20:55:53 +0200 Thomas Petazzoni…
Dear Jan Viktorin,
I'm really happy to see that there are some Microblaze developers using Buildroot! Besides this toolchain problem, we would be really happy to get your reports and feedback about how Buildroot performs for Microblaze platforms.
Quoted 7 lines · Jan Viktorin
there is an issue with the newer toolchain I'm not able to solve. I tried to google for a solution but I failed.
hidden symbol `__udivsi3' in buildroot/output/host/opt/ext-toolchain/bin/../lib/ gcc/microblazeel-unknown-linux-gnu/4.6.2/libgcc.a(udivsi3.o) is referenced by DSO
Argh. Do you have a way of reproducing this issue?
Quoted 4 lines
Would it be possible to not delete the older toolchain? I think it is possible to do
git cloneand then just copy the archive to its place like this:Quoted 8 lines
$ git clone https://github.com/Xilinx/microblaze_v2.0_le.git Initialized empty Git repository in /home/user/microblaze_v2.0_le/.git/ remote: Counting objects: 4, done. remote: Compressing objects: 100% (4/4), done. remote: Total 4 (delta 0), reused 4 (delta 0) Unpacking objects: 100% (4/4), done. $ cp microblaze_v2.0_le/microblazeel-unknown-linux-gnu.tgz SOMEWHERE $ rm -Rf microblaze_v2.0_le/The problem is that the external toolchain logic is not able to download a Git repo and then take a single file from it... It could be extended to do that, but I'm not really a fan of doing that just for the beauty of Microblaze toolchains.
Even the new Microblaze toolchain is problematic: it is available as a directory inside a Git repo with lots of other stuff. I've contacted Xilinx, but they don't seem to understand what the problem is. So the only solution we have found so far for the new Microblaze toolchain is to make ourselves a tarball of it, which we've stored in sources.buildroot.net.
I can do the same for the older toolchain if you're interested.
That said, the older toolchain uses a *very* old glibc, and was causing lots of problems in our autobuilders. I think it would be a lot better to see how to fix the build problem with the newer toolchain. Have you tried reporting it to the Xilinx people?
Thanks,
Thomas
PATCH 4/4 toolchain-external: remove older Microblaze toolchain
Dear Jan Viktorin,
Quoted 4 lines · Jan Viktorin
I am currently not able to provide a simple example that reproduces the situation. Very briefly, I've got a shared library 'libx.so' and an application 'app'. The compilation fails while linking the app with the library. The call
__udivsi3is located in the libx.so.
Hum, ok. It would be great to have a simple example so that we could investigate what's going on.
Quoted 6 lines
So it seems to me that it is a problem with some options passed to the linker (maybe) because the libc.so.6 reference is missing in the first listing. But I didn't find anything strange yet. It needs some more review (and more time :/) but for now the workaround with v2 and
LD_PRELOADis sufficient. I will return to that issue later. I hope it is just a silly mistake and I will be able to move to the 14.3 (anyway, thanks for providing it).
Ok.
Thanks,
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
cover External toolchain updates
In reply to Thomas PetazzoniQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Thomas> Hello,
Thomas> Here are some traditional toolchain updates (for Linaro ARM and Thomas> Aarch64 toolchains), a typo fix for a Blackfin toolchain, and the Thomas> removal of the oldest Microblaze toolchain, since it is no longer Thomas> possible to download just the toolchain tarball from the Git Thomas> repository.
Thomas> Thanks.
Thomas> Thomas Petazzoni (4):
Thomas> toolchain-external: update ARM Linaro toolchains Thomas> toolchain-external: update AArch64 Linaro toolchains Thomas> toolchain-external: fix typo in Blackfin toolchain config option
Committed these 3, thanks!
Thomas> toolchain-external: remove older Microblaze toolchain
I'm holding on to this for a little while longer until we figure out how to solve the issues.
Signature · 1 line
Bye, Peter Korsgaard
cover External toolchain updates
Dear Peter Korsgaard,
Quoted 11 lines · Peter Korsgaard
Thomas> Thomas Petazzoni (4):
Thomas> toolchain-external: update ARM Linaro toolchains Thomas> toolchain-external: update AArch64 Linaro toolchains Thomas> toolchain-external: fix typo in Blackfin toolchain config optionCommitted these 3, thanks!
Thomas> toolchain-external: remove older Microblaze toolchain
I'm holding on to this for a little while longer until we figure out how to solve the issues.
I'm not sure what to do with the last patch: the older toolchain is simply no longer available from git.xilinx.com, and github.com doesn't allow to download such a big binary blob directly. The only solution that I can see to keep the old toolchain is to keep the tarballs in
http://sources.buildroot.net (just like we happen to do for the new Microblaze toolchain). Would you be ok with that?
That said, the old toolchain is not really great to promote to users either, because it uses a _very_ old glibc that causes a number of compilation issues with our packages.
Best 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
cover External toolchain updates
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
I'm holding on to this for a little while longer until we figure out how to solve the issues.
Thomas> I'm not sure what to do with the last patch: the older toolchain is Thomas> simply no longer available from git.xilinx.com, and github.com doesn't Thomas> allow to download such a big binary blob directly. The only solution Thomas> that I can see to keep the old toolchain is to keep the tarballs in Thomas> http://sources.buildroot.net (just like we happen to do for the new Thomas> Microblaze toolchain). Would you be ok with that?
Sure, I'll put them on sources.buildroot.net tonight.
Thomas> That said, the old toolchain is not really great to promote to Thomas> users either, because it uses a _very_ old glibc that causes a Thomas> number of compilation issues with our packages.
Yes, I know :/ From the sound of it, there's issues with the newer toolchain as well though :/
Signature · 1 line
Bye, Peter Korsgaard