From patchwork Wed Jun 7 14:40:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 103264 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp1971607qgd; Wed, 7 Jun 2017 07:40:17 -0700 (PDT) X-Received: by 10.101.83.143 with SMTP id x15mr22767833pgq.205.1496846416968; Wed, 07 Jun 2017 07:40:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496846416; cv=none; d=google.com; s=arc-20160816; b=KJPNI+WnHGR1UzdkG9mJ5QWt4hUS0pUv6BFujPxzxtLkjaBG/NYsxUnMnBYxJoocIX ixmbUXMhT6kjibkV5/yzLTolk6C77BhNDyk1lJLni6BZMEejo9OZY7oqfaF1AsRe5dVj CJTSsc9oStkgx59pY7DOMvR1MU/WaCIJK28JK4buSQq7NVlk3YBprceNL0+y4G447/uT 4wmPoWQjdSfA9bwSHNL70bjJ7Cz6qD3GTdbLsSalK/qgribey7gSkLNIvMYijdypn4Ye I2zxe2LEjkaeBe9wgjT6u7oc//CIu23fYVLRUbtXCBWDIMyZRo5jsID4Nb4kRNhWCNKK dhMg== 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=OcsBZztrCaKfLRqwCBnICBw/ciLM8OpaqFUhQlXtdW0=; b=FgQs6eAkl8qkQhKCbXPdzyrbmpz71J1m9kBDBgH3eDxa97GCM7GEPtyvD6BEME6lKC 3LamwWmlnd/EWkGp9AFUe+nqf6sNR+lXZh8ZH7DbYkAuzjC63dD/RMIpkEJy7L2Rqd85 vdJ7L+esvJH/QyKtNfqCA/wSNTrualtp+ORRkmtz+cPtsvVHwAkdJoxg2/FyYdkHcGqb l4Jt5ajyu8hB3GYjOZKEu9H4PnB54CPTB3alH/8KI39BM+9HV9g7E5VLc1HN3kgGfY8d Bf5SemA1vxBXxg1AkmHULIdJeNkXzSF4n0PgXRfzrlE1meO1tGlISJBe0goQLaV77CI2 eBNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com; 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 Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id z3si1949050plh.358.2017.06.07.07.40.16; Wed, 07 Jun 2017 07:40:16 -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=@intel-com.20150623.gappssmtp.com; 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 Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0669678170; Wed, 7 Jun 2017 14:40:10 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr0-f179.google.com (mail-wr0-f179.google.com [209.85.128.179]) by mail.openembedded.org (Postfix) with ESMTP id 644E171B69 for ; Wed, 7 Jun 2017 14:40:07 +0000 (UTC) Received: by mail-wr0-f179.google.com with SMTP id g76so7113916wrd.1 for ; Wed, 07 Jun 2017 07:40:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=K5nBvGj4kfGerliaym3bdXMYfAZuE8LQOJ2cOkuQHzg=; b=QpbqoM2XYDUS9YRyrwkjpF7UvInQYgeZpqumYW8hviOXQUSkVqw9MdTO7cVLTR8SoU 9E17DDxfIs4YtEw1g0YpZoc5IXmGHz+iOvZfNLs7pNQkLsk+BHoOQ/rNTYngO3fsj3Yy LKRHfFrjzfaqBqWNqbQOra7EaJpB0dkiOVzX1pTqFAGWAn0yIIay74uxHQledDCVvsv2 G2GdApbt1OX+TVeBzx2kN/mJjg+pKCGn60qOiqGOPhKBnyDzRkDvLAPdfMh3/dSjFzCx rXclV868AguWtTdJY9ss0j/WFGUbh+Qu24CG/i5dT3RSlZzAr2SH09KTvPQLAXfJ4H1e +K8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=K5nBvGj4kfGerliaym3bdXMYfAZuE8LQOJ2cOkuQHzg=; b=UBNtOwxAtCg5Q1xLx8l6RM31HZ+4QYp20f1luBlbIWK6b46WktggQpdCF+fIDwnzln FYgr26+uOwcQBI9SHsw+Hm9qZkvzF9UxUoOWy5foYfDxrLVldy0UgpK0oY6GLAiTZnEW 0mrpcLNYkk2llIB2emmSx7reuWc+oOIyGIN97qaUa8esBWMMRkMIgguHH2mMIDQSeXGH 2azDnzWVDqXLFHPo8dzwDiMvrVrqhrwAVC6gp0vmxlYD1jqcgD9lS+K6FCHX64QBJiss rku+cOIoYn21N8pJ+7wuPqtMLxdO1x6A2HF2a1awTmDSNgHyJDVlqxvLiH8ycACID45Z aWTw== X-Gm-Message-State: AODbwcAzD1052XutkshpC3D73uc4ZluuI2ytKlri1Hk8yzDLdTkxbFKs a+1m0nhP6+me6PV5wNA= X-Received: by 10.223.136.216 with SMTP id g24mr12935320wrg.162.1496846408867; Wed, 07 Jun 2017 07:40:08 -0700 (PDT) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id x20sm1848874wrd.63.2017.06.07.07.40.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Jun 2017 07:40:08 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Wed, 7 Jun 2017 15:40:06 +0100 Message-Id: <1496846406-18518-1-git-send-email-ross.burton@intel.com> X-Mailer: git-send-email 2.8.1 Subject: [OE-core] [PATCH] libunwind: don't mess around with ARM atomic detection 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 This recipe explictly sets -DAO_USE_PTHREAD_DEFS on ARM, but with libunwind 1.2 this causes the linker to fail: hidden symbol `__sync_synchronize' in libgcc.a(linux-atomic.o) is referenced by DSO Removing these defines lets configure do the right thing and build libunwind. Signed-off-by: Ross Burton --- meta/recipes-support/libunwind/libunwind.inc | 5 ----- 1 file changed, 5 deletions(-) -- 2.8.1 -- _______________________________________________ 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.inc b/meta/recipes-support/libunwind/libunwind.inc index 4f64ad7..fc33786 100644 --- a/meta/recipes-support/libunwind/libunwind.inc +++ b/meta/recipes-support/libunwind/libunwind.inc @@ -13,11 +13,6 @@ PACKAGECONFIG[lzma] = "--enable-minidebuginfo,--disable-minidebuginfo,xz" EXTRA_OECONF_arm = "--enable-debug-frame" EXTRA_OECONF_aarch64 = "--enable-debug-frame" -CFLAGS += "${ATOMICOPS}" -ATOMICOPS_armv5 = "-DAO_USE_PTHREAD_DEFS=1" -ATOMICOPS_armv4 = "-DAO_USE_PTHREAD_DEFS=1" -ATOMICOPS ?= "" - SECURITY_LDFLAGS_append_libc-musl = " -lssp_nonshared -lssp" BBCLASSEXTEND = "native"