From patchwork Tue Jun 6 17:13:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 103168 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp1530878qgd; Tue, 6 Jun 2017 10:14:03 -0700 (PDT) X-Received: by 10.84.169.36 with SMTP id g33mr12076724plb.101.1496769243711; Tue, 06 Jun 2017 10:14:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496769243; cv=none; d=google.com; s=arc-20160816; b=h5rYqrZRxeqAiYB6Zn9u1JGeMpCiatxFdl6HgAvH92LddrP/4+1JAD0IxJqvXNBIM2 SnDfW2UBg3ROevKxoSn638SFB4NznqwD7gc6Lqn6oXwma1OOEaklvOXovzR+M6UR8oH6 6xglwH3NvJRlHhgeGK1Q2fGehaY0DOQ6WShK+7ndHAcovn33/QapNwtA/bnE4LNURWCR IVCCpMrUk+xIX5+H18rdHYhTziOTBegXWea448cHkEGZHxx2Pm4asDL0ME20VoRy/y/q O00s8lYAW0EWnjYwDFfAalHEU5GKI5loXNJtZYQ/6LljPR6kdsyM6+yAS5t6yhNXR0X1 NEXQ== 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=MLEXlTLbtHqRLTY/3uas4aiYD+FVH76sWsSwqTSZfXo=; b=KRLdRLNmm/qDis1e31RQRe1j00I3Qeoe7ROIc29n8D161LVfJRCilp6lFNub0nibbX oZsFWepylwUAv9IZi4wDJy0Cb7mOpHUWd62YBWWl1jr/0QfDMGb63Vv2L7bZDkD3uisV lpH0dkDWM+is+xdKPWxA/s2p0TgS18Z1UagrtUwIBOZFY1mLOoamSuXNSyv7u7qFNose FvHDGa+kj1aDh1P+KagYuYwxLWskvVaJ3+b171r2ThTDZndL/Hm4SaQMHhPQ/5aQ1AZb 2aBJAJhtx854Ee2P8YIn+meZ4NNP3rOusydrnRKbdd//R2O0M99jrJ5FsjIW9iSsbQjb F3Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.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; 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 s4si4833779pfi.251.2017.06.06.10.14.03; Tue, 06 Jun 2017 10:14:03 -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; 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 BAE6D77F38; Tue, 6 Jun 2017 17:13:56 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id DBBBA7757F for ; Tue, 6 Jun 2017 17:13:54 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id u26so24910915pfd.2 for ; Tue, 06 Jun 2017 10:13:56 -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=iJY6wILyW85Bqz/MCmi5E0iX1bY4dEh6c32BPxbLfmw=; b=j9u4PX44C5NRJ+rNgncWIbLR3QLEZblG7MixCly/29XZwnRpyv4K+nPJuGEq+qPpzc T2yrczvNE6SW4Qwc304eeJOKZm8/boYCYtwZXiavO1HwXdqrlyhKDMar0IBSecgm3lyS /HjiFX8XT2vswELSRJO/+ekoosbh1Zu94KTbbeeYD8W6PJr4DNt26O9RdoeFanEIj2w1 cnH5enskjQKX+B9SuALfd06xLXYGXvnmy5YxYSCDQ/u23NlJtbL575wAU8RAApkPGWCb fcVshw2GViIzqCL5gxnyC33QMXH4/LHYR9+VljaRWB5/gyQYN5Wuqbx1A3JwU56VbVc5 Ajjw== 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=iJY6wILyW85Bqz/MCmi5E0iX1bY4dEh6c32BPxbLfmw=; b=To0cK2T3slR7SmIyHWtOeWKHu0KX+S7NWeZGbi3mz+pG1P4ng9FfZQJUTANhU8SFNn xEcoc+7OgTYx/cM3iFGqNKy8lI+oBsq6xNugs4NyiKCRzDboh6tpKOYozEpE/oO7Jfty 6Gl3VvWgG92W7iKHJ1Ayl62IVfMFfpxBkF7WK9zHBE8MOYAFybL987rudM9Qywnc7Yss ozSZAfdJOxfiOEuU3YKrSKbM9+/ypLGQvGWIqFVOo0lZwx+WLh3DihI6vWhJegrfSuqt j93WH9hjwwkdk6rF025kFE8Nvxq8D065lK7B8+LOvaeLmnEHJhqDQeQntNgLYf8JBGR2 Y9nw== X-Gm-Message-State: AODbwcAPUV3BBaW89J62Iv/85wHmSIhBuy4rRPvpZuC+ENvjLRIs4Ma6 MjSJeI8wW89nVg4I X-Received: by 10.99.174.5 with SMTP id q5mr27164472pgf.196.1496769235605; Tue, 06 Jun 2017 10:13:55 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::748]) by smtp.gmail.com with ESMTPSA id g10sm56239412pgr.18.2017.06.06.10.13.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Jun 2017 10:13:54 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Tue, 6 Jun 2017 10:13:46 -0700 Message-Id: <20170606171346.21413-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.0 Subject: [OE-core] [PATCH] mesa: Add define to indicate missing 64bit atomics on armv5 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 is wrongly detected by configure since it only checks for __sync_add_and_fetch and not __atomic_fetch_add, it decides to let compiler emit references to atomic functions which it expects to be provided by libgcc, but thats not the case for armv5 arch [YOCTO #11616] Signed-off-by: Khem Raj --- meta/recipes-graphics/mesa/mesa.inc | 2 ++ 1 file changed, 2 insertions(+) -- 2.13.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 67039a9962..014044f381 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -79,6 +79,8 @@ PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind" # llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2) FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer" +CFLAGS_append_armv5 = " -DMISSING_64BIT_ATOMICS" + # Multiple virtual/gl providers being built breaks staging EXCLUDE_FROM_WORLD = "1"