From patchwork Tue Aug 15 22:03:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 110191 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp6224167qge; Tue, 15 Aug 2017 15:03:42 -0700 (PDT) X-Received: by 10.98.33.14 with SMTP id h14mr30112360pfh.249.1502834622088; Tue, 15 Aug 2017 15:03:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502834622; cv=none; d=google.com; s=arc-20160816; b=Da75M9r9pTKpCZdy4PIFUv3YiYPdgNLj4SPpgclCc1lZxBNvBtp98nWSByvR1ahLr3 dtW+xAK++DYWKSfkReRqhX0iMaA+4D+b7yXf/fAQOtr7f2GCmXtCVBZ7v7jee3Xf+wb3 JraqLxTN45RuL+yaOuANDGTzEdaG/+vuNK24/JCg54bJkMoRmxy6XyiIUF+vK0Ph0/z5 1+QUdpRmuwECqONuidPAXbsO0E7oFCT2Dq3bc9ern0J42bcapeoHt2kVN1hU/X47wqGS 9cGiaflHdAGnhQcaCpGD+cxT/GAImQeaRnEjkkNKg0ok5s8S7Czgqvfvuz/xGTUVjwKK 6wNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=/2ml7t8AYr174WlaVhtedAqn/UlJ8ygoUk9/F3KpzYM=; b=nWBCD9x4sNfsNhsphGusmz6iAxF436EYugoBz/C1xb38IkGQuaNNxkEWd3P6XjTh9c XhQPgTnL/wpDT8vtpu6b21jIYqfzioj1yyqtEodu5/SCXXiWjZ2ayIO8zYu5xHz3UaV8 7NluEUmAeiD8ezjMOUo0hMDkJM3THLs/XMoLxGCh8LQf14q14PgAjFiV4gPsycmEoc6t OQCN0MJ9Sn6Fm6NRZs3L7YKEwHJvvslMg5ORybnWk79crVlTsnYftzmc1DX0x7NuEVnL lOLMope4v21FSoxC0I440Cf4QUwy8iMfLZhDJeoD3H4nksl5eIWyTUqql5zWnPhEc58O cd6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=VIAqn/ci; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id g4si6690586plk.926.2017.08.15.15.03.41; Tue, 15 Aug 2017 15:03:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=VIAqn/ci; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 7B7DF78490; Tue, 15 Aug 2017 22:03:39 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id BC8E078490 for ; Tue, 15 Aug 2017 22:03:37 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id y192so3315911pgd.1 for ; Tue, 15 Aug 2017 15:03:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=QNsiTYWut7FzNS4KhtHrHP9ToDyry/IHhYY/hQTOpZo=; b=VIAqn/ciyYGvfcZ2jRY3DtwM5A/hSM+7aFjx1Bm37CbRef0bjfJm1wipiA3dHvwcPd KgwHxDGUYmp5UDpFosYnXcm6IMlD9njPEyRpT53Ys/va6lbdM9gBd5Gmq0JB3hNCgw+0 AFeAozkPEqK7hWnHPRK3m8ZqC8wEtExyjl/3I5cyBu8/6d3sVIEavxHC4UPQTjTrWVUF +qh7fLXdVLyP8tVJ4Lw73VyZbRt7XQUhBK+42P6Gt7QnbIw+ZsM3p/1eOcTEv1DTpQQj ZljYepyn+0eJ5168hIJqVSs6Z9zAJZhRavGPVncYVTYw5bQXde0ROhmVQny8FHH23Fyx vn7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=QNsiTYWut7FzNS4KhtHrHP9ToDyry/IHhYY/hQTOpZo=; b=fX/aZZT2LBAhXbOoy0jNavYVss2cTfeory/xNqLmhOHpMw4peR1oFUG7W3Km3TLwIr 2uWOW0jwX/bKpaTlW4a5qiOk1gizbCgSW2T9mqBupj6pRZhRQpTv1Tftj2oBsIO2ixGj A9uPsvltAjjoTJNtgF1cxOOuuzmk8SfZBlMGn3qCuh4J2DVyHFhlFFNAf0kyhwjFlmrj wvhKgsr1ILQM5v1syo0VUUatI4+Uipebph91R8o0KjbXFdRvtjxHbt2w4jdlXBU6dJ2H /9+9jS3BaOcp+lJtLZvfeAloXrBo5wrzKwUsxX0zAS6BePL4c2Ij/BjyGxnRcSzx3lwT CIFQ== X-Gm-Message-State: AHYfb5hRuihWTbc95v7YK+ZfI+2yhR/OyaIgxdKTcuDjrmyWtJVOW1ER ZTwBGtcrP9b6aK/Z X-Received: by 10.84.212.150 with SMTP id e22mr32802679pli.398.1502834618632; Tue, 15 Aug 2017 15:03:38 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::8319]) by smtp.gmail.com with ESMTPSA id z189sm15329782pgb.12.2017.08.15.15.03.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Aug 2017 15:03:37 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Tue, 15 Aug 2017 15:03:30 -0700 Message-Id: <20170815220330.36316-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [OE-core] [PATCH] llvm: Swith to ARM ISA on armv5 and armv4t X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org When Thumb1 is used as default ISA, there are linker issues, therefore always use ARM ISA Fixes relocation truncated to fit: R_ARM_THM_CALL against symbol `__gnu_thumb1_case_uhi' defined in .text section Signed-off-by: Khem Raj --- meta/recipes-devtools/llvm/llvm_git.bb | 3 +++ 1 file changed, 3 insertions(+) -- 2.14.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index eb2049248e..bf4aeff164 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb @@ -51,6 +51,9 @@ LLVM_TARGETS ?= "${@get_llvm_target_arch(bb, d)}" LLVM_TARGETS_prepend_x86 = "AMDGPU;" LLVM_TARGETS_prepend_x86-64 = "AMDGPU;" +ARM_INSTRUCTION_SET_armv5 = "arm" +ARM_INSTRUCTION_SET_armv4t = "arm" + EXTRA_OECMAKE += "-DLLVM_ENABLE_ASSERTIONS=OFF \ -DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF \ -DLLVM_ENABLE_PIC=ON \