From patchwork Thu Dec 6 00:07:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 152976 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp9908585ljp; Wed, 5 Dec 2018 16:08:10 -0800 (PST) X-Google-Smtp-Source: AFSGD/XHVqfSTX6uQIpnIpQvQG2rb0AmjwuuLKKexm5MZaZVYebKuLZMRGtfl4FLu87iBDAphR2B X-Received: by 2002:a62:5dd1:: with SMTP id n78mr25929112pfj.58.1544054889862; Wed, 05 Dec 2018 16:08:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544054889; cv=none; d=google.com; s=arc-20160816; b=QSmDwu7ZqqBk1Sl7+44hKR/Og2oZ9pUjk59iBV8dA7nwi2uVJywNZ4QtmETHHXJ3hp Bzwq3RzqHz7ZcTPKb+/JBcU4Nq69qoPhX+lNXwB700zKkOVmPUDZmpdXod0KCvti2H4F tbs7XMyme8+08tqNht1H0JZ0G4BRx2HvpX/8sbp4TzE7uiBQmMmv/8IcF/cdp2GnFRVj EJFNQq27+7f+9OLMvL35ZLPjEQBBCVh5M6RwokJlCwSnpBx33PhdJWtUJ767mZVtUKJY c7zGG3quaKKZkAIHwYRoRJhLVKc0wSNS9j1GqbDW/g7Zjq0foE0ud8aY4qLMOMHx9xdW e+9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=g9M3kxsWEANFgWj1sLxbjGwhyVo3tP9KERNVzKjQFPQ=; b=Of7F06pH8croujfENvvM49S9oEsQZx3XaoHUySqSOaDWFAvwjCUrU8adU0FVRE9Oax RZJaH/AwE6K9aDOblY6xPyYhojEKbOQV8/F46j8r9IXmSXtqFhpt93VZLMHSY91UJ7JZ EfB4lj8Cx2C4UUyXvc+JzvbtoOPtsI0kXmzVCvtHsCnL3XbxodbZaaToCdzUF/Nm+b2w zg5txvG3qqWCkhEMm648Wxj+0kG+l1pDKWMOPLREK6Kdh6hmk/eAkPkGIRpSCb5WS0fW Wx1GXXGV/WAS6mvOrUACDOZTJ1Dd0dhElodTHt9GtTfppIV/9LlofzYWqKRzXpnn8hn1 Kf3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="Fl/1XUZR"; 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=QUARANTINE 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 a6si20377986pfo.90.2018.12.05.16.08.09; Wed, 05 Dec 2018 16:08:09 -0800 (PST) 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="Fl/1XUZR"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from 165.28.230.35.bc.googleusercontent.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 4B714745BF; Thu, 6 Dec 2018 00:08:04 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by mail.openembedded.org (Postfix) with ESMTP id F3AAC71BFC for ; Thu, 6 Dec 2018 00:08:02 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id b7so10810224pfi.8 for ; Wed, 05 Dec 2018 16:08:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GM8x1Wx2/tjCXiRPfSyY7d2ckvSE9m7FfC9sbhLMTsk=; b=Fl/1XUZR2Qezgw5F4sRkVrxaFRs+UTPHyQB5kbzgbmQGHh42p3eWZ/lzKDF4997n+L Zmh2Ugqr5Cl+JBUJN5W/cOOjhtct5Kj6BqXUVX0vXDsYnyqh8SlVkLSn47uITU6xoKk0 TwEgN8e8W8m8NyEFusIyKRsTlYPLeCLzsgU0OtcFYRnwGwKJRqpD9aiY/zsQbMIFW6H6 N9HzEccSkA9h3MdktcHBMe36iVTZs3uyPse2q85ehekuENAmuwpfMg1zczkw2glbVy4h ihxri4QmRN9VDocN9lF1riIMJCz1xm0biDEA1WzmC1hFU3Q2AeD/LL3bYrN0NDc+LdJV JJfw== 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:mime-version :content-transfer-encoding; bh=GM8x1Wx2/tjCXiRPfSyY7d2ckvSE9m7FfC9sbhLMTsk=; b=CerRRAP1WJPrytgunyYtpSdvXERXpSZZTPouQ1CGz2UhtI9+MK2sQaLyJxhmuSgtLL 81BU3VzvKHniIVd3LGyYs6C2Qk27UEMwyFqE1u3oILzt2PJNjrfXFAevyTR6Ovz4CwHD ufjqNE7LsU7pcfLrPMogqKhXEhuXrRk3eNd4gF0zauLfVym6DFSMT7kBSxwGkOp7X744 FXvUUm71+o4iLtlYK4+gpNsD0uOY0zZ41rabaKw/i9BLZAS8uUk6Vh8ILqUwgX/JWyuR clAONSI7dQdQ50QgP7yzo+vZjPLjN8RM5upuwlpl01Oa5LYimw1SMxSgIdu5otEtk1oW YmpA== X-Gm-Message-State: AA+aEWal72FQ1LyyXqPA1ij8Sq5HelLLAKNavbG8CSz16BKpNaHe6IXJ aEtNAdPLOz/g08Dhq/zI0JpG0Yv+fKc= X-Received: by 2002:a63:4b25:: with SMTP id y37mr22948323pga.181.1544054883643; Wed, 05 Dec 2018 16:08:03 -0800 (PST) Received: from localhost.localdomain ([2601:646:877f:9499::5f84]) by smtp.gmail.com with ESMTPSA id t12sm31010641pfi.45.2018.12.05.16.08.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Dec 2018 16:08:03 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Wed, 5 Dec 2018 16:07:49 -0800 Message-Id: <20181206000749.28731-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Subject: [OE-core] [PATCH] libunwind: Enable building static archive on musl 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: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This ensures that we have .a for libunwind on musl targets, this is used for stack unwinding infra e.g. in rust Help compiling rust compiler and standard library from meta-rust Signed-off-by: Khem Raj --- meta/recipes-support/libunwind/libunwind_1.2.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.19.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-support/libunwind/libunwind_1.2.1.bb b/meta/recipes-support/libunwind/libunwind_1.2.1.bb index e7fb2b2190..c9239b695e 100644 --- a/meta/recipes-support/libunwind/libunwind_1.2.1.bb +++ b/meta/recipes-support/libunwind/libunwind_1.2.1.bb @@ -14,7 +14,7 @@ SRC_URI = "http://download.savannah.nongnu.org/releases/libunwind/libunwind-${PV " SRC_URI_append_libc-musl = " file://musl-header-conflict.patch" -EXTRA_OECONF_append_libc-musl = " --disable-documentation --disable-tests " +EXTRA_OECONF_append_libc-musl = " --disable-documentation --disable-tests --enable-static" # http://errors.yoctoproject.org/Errors/Details/20487/ ARM_INSTRUCTION_SET_armv4 = "arm"