From patchwork Fri Aug 11 22:12:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 109927 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp1485214qge; Fri, 11 Aug 2017 15:12:23 -0700 (PDT) X-Received: by 10.84.237.15 with SMTP id s15mr20188245plk.100.1502489543238; Fri, 11 Aug 2017 15:12:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502489543; cv=none; d=google.com; s=arc-20160816; b=GsVC3GejRcv+0jL8RY90YtduPFbJ/gJ6rJOIH/nNiX+P+MLujA1+pRgBlsLc+sx4cP lRsMGHABaKbH6X3Bp39Ijtxln68oqHGsolw8LpB27dzV3Reyo4V8mPyaU6ZYHcEH4Uba 1/mZ2TsO0hhFmzWJ1gbi6zBryqE5wUhvp4qLm3T8q0rXWrLc1v/5FzF6P06ZNHq7Sqhm 79bVqjZmJzcHe06J49/CX2TPmQZjycJqnZ/Sk1ZdmNfPaq25sK5RGSvcPpxmOlyi3pvM L6GjpRSgGUEf1i9TcEH9y6f+5dkGGmRCcNogIfhZSjaKrdd37TFZumKUcriSMKJ0qa/W Y9yA== 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=E3L+RGtPgncpNrwr8X7/qO5J88oVpxWlgHNMaPzH2Rg=; b=NYlo9tbWXKi04+2QGYSeODSrqE2aRBsBfPFH+Cr0lz/IjoOfYeal4+UygcYmiSFdR4 GxT1Wz8MaPpBWmKALbir60R55uGwDaYExdygy4Gqzoa5HZ+phWNyK2cm1UCeqDVF+aIN WfHfmZG05019eIcdbtEHb/hSnchVD+ZyfzI+QEgCJRu3ADmGPvYlPQ7MVZkTM/TVAHMq Zht73VoBrF4EVJSJbKmXCpV4RaquFRdeGSY8Dj8FxLc6dk/rr2uXazSmlRUi5Evro133 lPT74qBi+I/ekdABkSqMxtL1PaI8U5RAGP9C0u6POgH+hcGfKkb99hiMfbbA7Z9nq4gG 0eBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=eUjH7MfN; 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 g26si1130984plj.650.2017.08.11.15.12.22; Fri, 11 Aug 2017 15:12:23 -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=eUjH7MfN; 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 60F19785B3; Fri, 11 Aug 2017 22:12:19 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id 75CB978551 for ; Fri, 11 Aug 2017 22:12:16 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id 123so3996048pga.5 for ; Fri, 11 Aug 2017 15:12:18 -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=p+kJPDadXC3KEykAW39+vcrePVynZTauHf6GDMOBJ8k=; b=eUjH7MfN4UtN1FSeqb4zzXx5K0NK4M3/SKN4mwtXDpUMGEnBsU9fC5peA/iF7rIv1N BDhOsWRVxMXNCngLbQOrM8chcYR4S+dqBFSXs0yndFmubu0x1ync8hnytpiF7TpIzQlh x4cPcgU9ZoR3RUVezREKzERZ5asjy3yu3xvaFtRx2mA4DVJPsZZSqH4Qt+6EQU0Q3Dyz TC2NwWY9Wf1ntNxJBKC0L4Pwmm3A/7uJiFzjvtIZl+NJpJK6AVSfX0NtBtmrUW5HfKgW GN1/5JQpydICrhTALtTnD7dn6mTcvxqpjSJOIkkQ23REdBAQv+0QEuj1iKcVtTNJHqmt W5iA== 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=p+kJPDadXC3KEykAW39+vcrePVynZTauHf6GDMOBJ8k=; b=Yhzz8KOgeb/zPebEiJTFcKtbzs9jhAA+IPARpj7WfmCCPhOnMNh+f6zY5/QpHg14fY sSRc15oQ/TyMhbgr6dY2aTnbLwczVdSIowvfTFbeddi+wtpO62Th0ylQjcE3Gw9v9LnL MukDcLK69B1NEOgn9GNIid4VM5trnIpgFzQVlHec+bqNGunmA10KmFofQFO/eBcV3jo/ yt4alUHNZpf/4Ky/+IlK5IJss+53PvOH/pupptDc8DRxKwkqLndO0CBM6A8cB84NKiLz 6KCx2SwOaCXZ1qcX6gAKowe9lVUXJJ4g90WX680HA7MReZ9Tv8+fyIoY77RpzzyWrSGp frZQ== X-Gm-Message-State: AHYfb5jKzZ70Z6EqJcJLhx6JBzZIL4dxtcgJGb7n/ZK2aSyu/intyhav sRwcIP1+NPpBwAHw X-Received: by 10.84.224.76 with SMTP id a12mr19085755plt.382.1502489538383; Fri, 11 Aug 2017 15:12:18 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::8e89]) by smtp.gmail.com with ESMTPSA id w63sm3182361pfw.28.2017.08.11.15.12.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Aug 2017 15:12:17 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 11 Aug 2017 15:12:08 -0700 Message-Id: <20170811221208.27335-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [OE-core] [PATCH] musl: Build only in ARM mode when using clang 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 clang 5.0 has a codegen bug when compiling musl in thumb2 mode see https://bugs.llvm.org/show_bug.cgi?id=34165 Signed-off-by: Khem Raj --- meta/recipes-core/musl/musl_git.bb | 2 ++ 1 file changed, 2 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-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index 64c7334eea..eefd23bb8e 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb @@ -28,6 +28,8 @@ export CROSS_COMPILE="${TARGET_PREFIX}" LDFLAGS += "-Wl,-soname,libc.so" +ARM_INSTRUCTION_SET_toolchain-clang = "arm" + CONFIGUREOPTS = " \ --prefix=${prefix} \ --exec-prefix=${exec_prefix} \