From patchwork Mon Nov 19 11:29:14 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 199989 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 424C12C00A6 for ; Mon, 19 Nov 2012 22:29:29 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5208387799; Mon, 19 Nov 2012 11:29:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1AziDjJogrGt; Mon, 19 Nov 2012 11:29:24 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 7B828856D3; Mon, 19 Nov 2012 11:29:23 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id E3A108F74A for ; Mon, 19 Nov 2012 11:29:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id EC2D8A01A0 for ; Mon, 19 Nov 2012 11:29:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FNyByIgT1ARh for ; Mon, 19 Nov 2012 11:29:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-bk0-f46.google.com (mail-bk0-f46.google.com [209.85.214.46]) by hemlock.osuosl.org (Postfix) with ESMTPS id 9A9A6A0046 for ; Mon, 19 Nov 2012 11:29:19 +0000 (UTC) Received: by mail-bk0-f46.google.com with SMTP id q16so2030835bkw.33 for ; Mon, 19 Nov 2012 03:29:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:x-mailer; bh=zTINm/dsqPa8if1LoRMXk074RlyO2DKXwyiUSmjYhmE=; b=HUirficacZyFaz5+h12e6TCq7cciK5R49Yb5ax0dq5gtfvOauS443eHG8Zg+QIXmcR BzRZlGtjtRkA9556rUF9k47nsbVLU61TNl/JwqVhzTfDuirfIIwAaIB9ltpI92Tx7j44 sNtKRKciuT1xV4hT9+w8uh+wbZ6yO2zZmgW/kTcTVR6a6EYUPaFBr24dLFPJ6QgC2qdh IsufkeT+jCceanhsSkHfoOzw0t0ZzvBEHJg1CH2Tn44P1F84nzOY3n8OWxd8x58f0oBc dsooxJ4fAWKDB9QhYl4cZaSrfvy/4SW0e9aRgYJe3RlVC7R/pXlw9vNIcLscNRxebkAh Devw== Received: by 10.204.145.144 with SMTP id d16mr4609429bkv.84.1353324557846; Mon, 19 Nov 2012 03:29:17 -0800 (PST) Received: from ld2036.tmt.telital.com ([213.205.6.118]) by mx.google.com with ESMTPS id u3sm4099091bkw.9.2012.11.19.03.29.16 (version=SSLv3 cipher=OTHER); Mon, 19 Nov 2012 03:29:16 -0800 (PST) From: Fabio Porcedda To: buildroot@uclibc.org Date: Mon, 19 Nov 2012 12:29:14 +0100 Message-Id: <1353324554-23461-1-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 1.8.0 Subject: [Buildroot] [PATCH] external-toolchain: add Sourcery CodeBench ARM 2012.09 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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 Signed-off-by: Fabio Porcedda --- toolchain/toolchain-external/Config.in | 24 ++++++++++++++++++++++++ toolchain/toolchain-external/ext-tool.mk | 3 +++ 2 files changed, 27 insertions(+) diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in index f04ced6..f8c4899 100644 --- a/toolchain/toolchain-external/Config.in +++ b/toolchain/toolchain-external/Config.in @@ -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 diff --git a/toolchain/toolchain-external/ext-tool.mk b/toolchain/toolchain-external/ext-tool.mk index a6025db..2b1c2ba 100644 --- a/toolchain/toolchain-external/ext-tool.mk +++ b/toolchain/toolchain-external/ext-tool.mk @@ -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