external-toolchain: add Sourcery CodeBench ARM 2012.09
PATCH 1/1 external-toolchain: add Sourcery CodeBench ARM 2012.09
I've added the "depends on BROKEN" because this toolchain breaks linux kernel arm builds:
"arch/arm/lib/copy_template.S:247: Error: selected processor
does not support ARM mode `ldralt r4,[r1],#4'"
https://bugzilla.redhat.com/show_bug.cgi?id=869025
http://sourceware.org/bugzilla/show_bug.cgi?id=14575
--- toolchain/toolchain-external/Config.in | 24 ++++++++++++++++++++++++ toolchain/toolchain-external/ext-tool.mk | 3 +++ 2 files changed, 27 insertions(+)
toolchain/toolchain-external/Config.in +24 -0
@@ -54,6 +54,29 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_08 To use this toolchain, you must disable soft float usage. +config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201209 + bool "Sourcery CodeBench ARM 2012.09" + depends on BROKEN + depends on BR2_arm + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + select BR2_TOOLCHAIN_HAS_NATIVE_RPC + select BR2_INSTALL_LIBSTDCPP + help + Sourcery CodeBench toolchain for the ARM architecture, from + Mentor Graphics. It uses gcc 4.7.2, binutils 2.23.51, glibc + 2.16 and gdb 7.4.50, kernel headers 3.5.4. It has support + for the following variants: + - ARMv5TE, 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_ARM201203 bool "Sourcery CodeBench ARM 2012.03" depends on BR2_arm
@@ -630,6 +653,7 @@ 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 "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201209 default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_12_10 default "microblazeel-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2 default "microblaze-unknown-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2
toolchain/toolchain-external/ext-tool.mk +3 -0
@@ -184,6 +184,9 @@ 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_CODESOURCERY_ARM201209),y) +TOOLCHAIN_EXTERNAL_SITE=http://sourcery.mentor.com/public/gnu_toolchain/arm-none-linux-gnueabi/ +TOOLCHAIN_EXTERNAL_SOURCE=arm-2012.09-64-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_2012_08),y) TOOLCHAIN_EXTERNAL_SITE=https://launchpad.net/linaro-toolchain-binaries/trunk/2012.08/+download/ TOOLCHAIN_EXTERNAL_SOURCE=gcc-linaro-arm-linux-gnueabihf-2012.08-20120827_linux.tar.bz2
Signature · 1 line
1.8.0
PATCH 1/1 external-toolchain: add Sourcery CodeBench ARM 2012.09
Quoted 4 lines · Fabio Porcedda
I've added the "depends on BROKEN" because this toolchain breaks linux kernel arm builds:
"arch/arm/lib/copy_template.S:247: Error: selected processor
does not support ARM mode `ldralt r4,[r1],#4'"
Then why would we add support for that toolchain to buildroot?
Regards,
Arnout
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286540 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
PATCH 1/1 external-toolchain: add Sourcery CodeBench ARM 2012.09
Quoted 9 lines · Arnout Vandecappelle
Quoted 5 lines · Fabio Porcedda
I've added the "depends on BROKEN" because this toolchain breaks linux kernel arm builds:
"arch/arm/lib/copy_template.S:247: Error: selected processor
does not support ARM mode `ldralt r4,[r1],#4'"Then why would we add support for that toolchain to buildroot?
You are right, that toolchain it's not useful to buildroot. At least that email can be useful as an advice for who want to use that toolchain with buildroot.
I've opened a new discussion about this bug on the Mentor's Forum:
http://communities.mentor.com/mgcx/message/36184
Regards
--
Fabio Porcedda
Software Developer - R&D Cagliari
Telit Communications S.p.A.