From patchwork Fri Mar 9 11:00:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 131095 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp842858lja; Fri, 9 Mar 2018 03:01:08 -0800 (PST) X-Google-Smtp-Source: AG47ELvSQsBv9K34eH19+jOuiWRe+cI16vB/Y5pp5wgFUcTTPhFWoKzL63b4OeVbqlo3IphN+g5H X-Received: by 2002:a17:902:b416:: with SMTP id x22-v6mr26973103plr.279.1520593268438; Fri, 09 Mar 2018 03:01:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520593268; cv=none; d=google.com; s=arc-20160816; b=CDHWiscBoTaNg3x6730CEarZtpPWZZG4AChTdyJwxUiwJ/t+/zCaLqmeMuE8tY1+8U 38bX5FqioCpL9aHAI/sNH4xh2FQvk75v3UVa/kDTMsnC2CczkPmwsZn4TC1ugrdvrF3v agSzLJnJqF4K81pqPjxXlLrSxDZr5VkANyniKTScWB9FpJCiktD8aWz3EOXEQ6e7FAfb MCuEVZvjeMYxUSiCFKiiMe+LrwadP1o553R8DRBjUliCqi1ukAhv+JcXwRD6XWlFZ4Q9 CvB+zy7NSNkvuIwv4CJ+RPMfiKQAIBdS4E/JuKBF0hYqi4vu8qiMXXtQxTtkdym1CQEI 61LA== 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:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=Di/Nmp6+kOAe9EayqoermxkiJPpm/9+kpJBBnJwBGdw=; b=pV06GlXCk9uRPGLWPm507ORK5ixH+Ivu4h3FOIu/M2rwtOCSKf2aVIFl7JxfIqo1xh LYprE/Jfqn/2RFnQ3JEM6HuVjFoIk6THDHKxdklsTi6cSdvBWdyjWQyozwGktZI18cz+ SCBedvuSeEOEhMs3yrenlfnKRQW1k2TzUwFsX20rg/WwdeFGP0cupOc2Q1paloDpyKX6 rRngVRYaxENfc3auULOBtSbgCfktCan9CNaHMqfNPm5ay3GvsM9uHPA61e3zZSU9Q9lc O3Zezwub4wwLG4glU3wbLtMz2CJSv8R79yyNuYsGN8mhKym8dq9Gls7aS6uycfvVOLxa haig== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=s+MNw8lS; 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 w184si568617pgb.739.2018.03.09.03.01.04; Fri, 09 Mar 2018 03:01:07 -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=s+MNw8lS; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 074F478961; Fri, 9 Mar 2018 11:01:02 +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 243F77895A for ; Fri, 9 Mar 2018 11:00:59 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id y26so3416653pgv.4 for ; Fri, 09 Mar 2018 03:01:01 -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:in-reply-to:references; bh=4mxr8T4as7uXix+nh2nk2/vFvnuHOg8by6x3qkjJpSc=; b=s+MNw8lSsR1cesJt4s1aLsPftjWmkxc5+3XT8XFQYgEWFDpnRYS6bmNWnij5aGWTlv D8fLkandxJGHwbz/IPCeAW6S/GKxHb0NaSD5/7mN6N+SYjenXT2LN/o1SugfnbR8WPe7 msSxsA2Q6x3GUmJW/3uLBr4xuKlrIMcMltfa3up78RuqDaypYxN4xyWoXNiUDE0zm/ys JapQ2Ys25skpwzIvPhRYl3SmtUGMAAWmuYQ2G0hQYU+3MrkKoSoAhtXr5y8LQFTmJbDY rPHqveOcRM4PqNgQfRBacBoqroQaTpM3iHkWEC5IDs7CsLqbyIS+gwNTalBEJl5e2HCy t5Lw== 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:in-reply-to :references; bh=4mxr8T4as7uXix+nh2nk2/vFvnuHOg8by6x3qkjJpSc=; b=lSauEgLGgePP1Z05bFSzRu5jdssRPAn0m4EChohxCYwyyhuloHrDDP7+f/QXrifXlf BL7G2julrM27z356DYsNa078KYZfniIxMHkfgBvH3LqHuasJlpp+PB8LWQ/QVQLV4hlH i+yOUMmbxd5j82sfuWcW8sizuosDIWSDlH4ZEWJo1RJq6BUcIhk4+xaQhpEDHXC05WaR j9/rbhsqRRmPFUNbbJi4YaH8jJqYCOVJVTmOM3I/p9djw4odvqlMzzySCgLDtgEmNIT/ zLaJx52DHEF+hti8mWwFYhtlvjMy9lhKUyln9vA4QYcN1nZPazMRReKou6GLB7kVl9CI Hw0w== X-Gm-Message-State: APf1xPA7laKl8dfC4JRZhZA09IezE/jd/6KDsArSjvOYBaIMAIqZPXwN 2YXzWdZuQ0BLQ/v9CGImQthkew== X-Received: by 10.98.224.65 with SMTP id f62mr29738431pfh.191.1520593259606; Fri, 09 Mar 2018 03:00:59 -0800 (PST) Received: from localhost.localdomain ([2601:646:8880:466c:6245:cbff:fe64:591]) by smtp.gmail.com with ESMTPSA id 205sm2447295pfy.117.2018.03.09.03.00.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Mar 2018 03:00:57 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Fri, 9 Mar 2018 03:00:48 -0800 Message-Id: <20180309110049.10725-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180309110049.10725-1-raj.khem@gmail.com> References: <20180309110049.10725-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 2/3] liburcu: Explicitly add pthread options to cflags 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 Some architectures e.g. riscv gcc does not add -D_REENTRANT when enabling pthreads. Help it here by adding these options while gcc gets fixed Signed-off-by: Khem Raj --- meta/recipes-support/liburcu/liburcu_0.10.1.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.16.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-support/liburcu/liburcu_0.10.1.bb b/meta/recipes-support/liburcu/liburcu_0.10.1.bb index 0c8cd3571a..a73890af90 100644 --- a/meta/recipes-support/liburcu/liburcu_0.10.1.bb +++ b/meta/recipes-support/liburcu/liburcu_0.10.1.bb @@ -15,3 +15,5 @@ SRC_URI[sha256sum] = "9c09220be4435dc27fcd22d291707b94b97f159e0c442fbcd60c168f8f S = "${WORKDIR}/userspace-rcu-${PV}" inherit autotools + +CPPFLAGS += "-pthread -D_REENTRANT"