From patchwork Mon May 10 20:37:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1476723 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=PiY6E1LC; dkim-atps=neutral Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FfCYf3fHMz9sX2 for ; Tue, 11 May 2021 06:38:13 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 586E884344; Mon, 10 May 2021 20:38:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cUHZRg-j6C2E; Mon, 10 May 2021 20:38:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 57C688424C; Mon, 10 May 2021 20:38:07 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 8B3131BF3F7 for ; Mon, 10 May 2021 20:38:06 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 8327283EE0 for ; Mon, 10 May 2021 20:38:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 230O9QNzBVlK for ; Mon, 10 May 2021 20:38:05 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by smtp1.osuosl.org (Postfix) with ESMTPS id 4A2838377F for ; Mon, 10 May 2021 20:38:05 +0000 (UTC) Received: by mail-wr1-x42f.google.com with SMTP id l2so17944765wrm.9 for ; Mon, 10 May 2021 13:38:05 -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:mime-version :content-transfer-encoding; bh=taGCEMy25ppNHeTWBgpngiM3Wx+Whw8sQnlMcvViX1o=; b=PiY6E1LCzTzOPcIPRR96Pu8OXeuo2Wiq7eh6vZPBrMsFfAdyRPb0Vc+MGpRJR0RVq/ QOmeoBOf+qQrmn6K3H1MpQPaPb/Z5ArUvXzZZi2F2XNl5DKkcPceP8c2fdR/4WgX/zLC qmAdiReq1lNwnaYCsYvj8LyjLwKiqSMU1MWmC+7f0MleOlv0XOifT6YQQiXM/TGwnNlV 1yDjQB8WjkuP+mTd8S0ccunU/rZ3kXDXG9QRYgm0oaPnc9GZvA/Et84FoxKnP29xftab /B7LEBaBLcGOK2Tq2UaQqu41YT6HJH14JFO05L3AIcpU1aa9Oj3HHQvaCTeLaP6r///g Pqgg== 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=taGCEMy25ppNHeTWBgpngiM3Wx+Whw8sQnlMcvViX1o=; b=p/Vj7BVMU17kKKyAf3g/doJuBQhIcejbCA1khdO1aeKpMsG5nPjuBZr1/qACu7PD3D MuCDW+L0YHcMW/7mwXfKiKRbLaNIhRxxpAzUE9YnlNxLuF2WfNSE45F7Yh3HHWPrqy97 mTZhwcWhvotlhikGs9jUcS0qX+g/VOHkDADbtpxklob3tyt3uB1lMlIFbmLXsiBOQP17 16A45k+yhCh5Jp5XWMmjcJJUOjF+YOapMPnpe1MjpJgpvzqdJaFbpqZHgwgNK36xHGqb BUvxWJCV2w8FNcCUoWj8/ZWc8nJz3yLgHIujobV8PLFkoxHTBBfQrO3JKUGqc+cyVMqV W67w== X-Gm-Message-State: AOAM531fw5LMmhCcHDWk8ge/iUC3upEf2aJo90IiH8yEySmrA6uZ8xve 7c9UWdZIr7sojzpDnOQrTCN8STorAQw= X-Google-Smtp-Source: ABdhPJzmhMdCYp1UyLz8Ied3bVRa0/ofIJd0HfAVAlhKeYpyy22DKJe1TV7hY6spej9OhNzqTIDbZQ== X-Received: by 2002:a5d:5052:: with SMTP id h18mr32606710wrt.365.1620679083320; Mon, 10 May 2021 13:38:03 -0700 (PDT) Received: from kali.home (lfbn-ren-1-1383-171.w86-229.abo.wanadoo.fr. [86.229.230.171]) by smtp.gmail.com with ESMTPSA id j13sm24631000wrw.93.2021.05.10.13.38.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 13:38:02 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Mon, 10 May 2021 22:37:10 +0200 Message-Id: <20210510203710.1582289-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/ruby: links with atomic if needed X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Build fails since bump to version 3.0.0 in commit af5226f2fd1292a26f2dfda32f41cbbad7aa4cc because ruby needs atomic operation support since https://github.com/ruby/ruby/commit/6ed6b85ece8733518a7da0c3ec714f20d1102bf5 Fixes: - http://autobuild.buildroot.org/results/84ee5f4688be994a5440c3a61bddabee72ca3b3c Signed-off-by: Fabrice Fontaine --- package/ruby/ruby.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/ruby/ruby.mk b/package/ruby/ruby.mk index fded7acebc..a71ca3a8a2 100644 --- a/package/ruby/ruby.mk +++ b/package/ruby/ruby.mk @@ -23,6 +23,10 @@ RUBY_CPE_ID_VENDOR = ruby-lang # 0001-fix-default-coroutine-selection.patch RUBY_AUTORECONF = YES +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +RUBY_CONF_ENV += LIBS=-latomic +endif + ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) # On uClibc, finite, isinf and isnan are not directly implemented as # functions. Instead math.h #define's these to __finite, __isinf and