Message ID | 20241003162629.470273-1-dario.binacchi@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBCQ4XFG47UFRBQ4L7O3QMGQEGL6P7JY@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 0C0503F13F for <linux-amarula@patchwork.amarulasolutions.com>; Thu, 3 Oct 2024 18:26:45 +0200 (CEST) Received: by mail-lf1-f70.google.com with SMTP id 2adb3069b0e04-5389e45452fsf1082087e87.3 for <linux-amarula@patchwork.amarulasolutions.com>; Thu, 03 Oct 2024 09:26:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1727972804; cv=pass; d=google.com; s=arc-20240605; b=HBKWXjj9F86DO6DSBm12cDm4hR5P+Xe1NJoUxpz0OjWtpnR4R/39x23eEv7G25A7XN 6gAQTUyYotVoN0DDXCH9agzYahu2vZytldYLuCOcomU61WLjMI07RaIyXMFz8saJtVNn CpcsyG1FD1KpDhvW29GT3Z7P0+yxuDmWqT0ywdXuZkFvwOpniSZx+5gwF67P5dyk3A5z 25JIYVXfGBNletRT0bN1CMnhqtG7hjZc9DbVWmNXC7NEs9gCCQhsAcMLyIn+6fmHkcUU DbnaKl0qb9A3fqIoXE3yuEGQwhPg2XvxxDmBTvWSMxUhA2YavMt44EbpEN68UkoM6lTu Wn3A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=o2dp/jxvIs0BaKnAGuTvkBvWJKij9ka5BZBngYBwYMg=; fh=J3kNaYhu36SDkEj8YgXVYhg6U34PuqSjVI6CqbxBBpY=; b=YO/xbsQ0WKptRhCX0mA7JdiaK0YzMhfwHD3h4dgbnvvRFvnPGLlTU2/s0uqGHyEkiV KKYmmJvFLi2ADIAZD4KtQzS+OlNZwLDHfwhcQie+ZBB3PZLTSlgRLQ4kd61SZcDRSrvb 78+aGi8ztCGpm2E1ld7k0ewtFrCllHOLqmRa3VDyhzsBUVS7/2h3v/nAUGM85G2Z7MMm pK2OtSvOSsQNtYgWyRa3yAkuemTckijLgzqRgfP4HBe42O3/AryvjsOhq6Ur3AgK7tkV apbHIuWGDxQ9VwObdUdNe0BweU7Jygpn0w40Uxp4+TqGoqHuarcpwdU6HujVxqBL2CCT oC4g==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=XnOW6wcW; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1727972804; x=1728577604; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=o2dp/jxvIs0BaKnAGuTvkBvWJKij9ka5BZBngYBwYMg=; b=LI/c7NA8Vwbvyn6z0XfyN4xIa1ISQ/asj/mx4dxq0w7h5GaexbV+BYII9r1OAKyuW1 kvgkyzUXrotseCbj7cvNB/X4feiI4+ALPR1nLbNEDFr+XLkoqwthZOFolF2eQPiR094L e2e8LBhHFLzFgqS2Gk2ra0IlIWkDbuVoG/QMQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727972804; x=1728577604; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-beenthere:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=o2dp/jxvIs0BaKnAGuTvkBvWJKij9ka5BZBngYBwYMg=; b=EcegWYB+QSey/Dh0OoKrQmYqwIjsVgmxpINSbbZXcAeCIjV+1hAs6dA/+bYks6UH6p McuqUM7W2IgnhYJPoyaPX9uw/inSwVcFD2xdS7LwyYgpug0jLqjD8GJVfgP/4JgHQzQQ jEKdYBpDtnSzWVeDay5L8YlowKK4doaoC5z3m+cYQ5EbCBxXhZ97CN+ADja2PS+bSmHy MbNtjo/FFIonF6QQaN282n5hDejlthKxwTsauHb3lmCYMp06zl6ycb0Qt7CheeYwLf9r iutMuorWKR8roD79L6/75QPvL1hXC1c24GVYhTZhrY/VeacATu6shKwK5i/ILyUyqSzJ Hgyg== X-Forwarded-Encrypted: i=2; AJvYcCXXxvSNOpJaqpJzKdhWn23rxG87DzGbr8zmODqFNVe/LRFeUlAxuqeFkNz5qWGUI0tD0CsfdmCVZxoxCk+K@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yx7VZob7zqxgqgD6Pjr1UZbvp5S7y4DFQZuadvNWzhMCcTkv3+y Sm33eatKUL8PsX7Q46u4k22J1pUDFv8JZetbaajDOHD4y99EiI/ymVoRbTe54VfjVg== X-Google-Smtp-Source: AGHT+IFZURVAuqw4cscBLlPqWlnLOa5co3hLQyMSPYUZajAoHMX6PkFEI7YQqSxdxRltwWyX/MMK2A== X-Received: by 2002:a05:6512:3e1b:b0:533:43e2:6ac4 with SMTP id 2adb3069b0e04-539a07a8912mr4319365e87.49.1727972803871; Thu, 03 Oct 2024 09:26:43 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6512:ac8:b0:539:8f60:9699 with SMTP id 2adb3069b0e04-539a6323313ls52363e87.0.-pod-prod-06-eu; Thu, 03 Oct 2024 09:26:42 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXECE5/JcrCO3Uaw0Fo7IvqU51tM6HfNQeFKtKEhU+oo8ukwtpD7Nuy+JCThxJb6OK2TlFFEFA1LDBceH9h@amarulasolutions.com X-Received: by 2002:a05:6512:31d0:b0:530:e323:b1d0 with SMTP id 2adb3069b0e04-539a065dfeemr3790081e87.9.1727972802086; Thu, 03 Oct 2024 09:26:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727972802; cv=none; d=google.com; s=arc-20240605; b=Q+k1f6IM4lwgOYn5JHL5QDB/ZyOUBqhTfwIYAP0GFeOwry6MG7D+hb8DqGBA60wEm9 FR2UStUv7v+wj7DI2P4IW99xx2EhCW8SipxN6uq1WLqFWsvYcTTYcnbfcQ53+TaOpd84 NxmJGRg7XSy8sLzQDFmx9/yzqm2UPywfajxQ8guzC5huHMqhPVw1r7tXB+erfM1kFctJ H6Bpx8C3iFBTicXab+o+njeFozuf9RGrMNP8FPla3kOElAdpOdBnFnUplH8Zex6NBA// D7BkuMFFR4cKIG6pbD+zTJ2AeTpgp/dmWh0K3cPK6LM7u0aBxA58Rb2WtosttSuCE5zK V71A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=yljPPhBIPvhEqs2MDExScH56YHypaTe5kpzlqOUbBiw=; fh=2WRevDthoq26VgRtsMLPrDx/z39NUqE5ogJoexOba90=; b=H+tgxq4wBtULO+l2gN0BuPsghdFjFpBcas3fnftLNmm4epmMCcHXh/Ca6I5I0pSE7j EoFtVmQKEmmSXjdU37rPP9UR8Bgs5ki4Ww91TgMgAyic0YmPtakcRuWs7OapmWyfLcHB i+HY1xrkKhEIuTlHGKTRSaOZsE09zFKidzd6Cth4/vP2GVZNM7Xxba+TKZS802vR7Ezs orQBiYXeXCyfypWt5XLyWXHRdipRkDwgnneYfSrxy/PxHbuxkY8UQn8RUbAtUkgxcDNj lm5cpLivzKffnzTOVT1FmWqtdnmdYX8ngkcOmAytLS1VW26/8FimzhontTApKpSw7pXi b+Qw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=XnOW6wcW; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-a99100b095dsor61448866b.8.2024.10.03.09.26.41 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Thu, 03 Oct 2024 09:26:42 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCX55oyyCUvBPkZRcEJ/ZsLeRkkf97ugqgyQk2hFj5bFeAs5tDR44kp02eR+b9CNTmyIRDCBmrsf8n/eL1hP@amarulasolutions.com X-Received: by 2002:a17:907:97c4:b0:a86:9107:4c2f with SMTP id a640c23a62f3a-a98f8360b2dmr688718566b.41.1727972801326; Thu, 03 Oct 2024 09:26:41 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.43.153]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a99100a3200sm106996166b.4.2024.10.03.09.26.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 09:26:41 -0700 (PDT) From: Dario Binacchi <dario.binacchi@amarulasolutions.com> To: buildroot@buildroot.org Cc: Adrian Perez de Castro <aperez@igalia.com>, Giulio Benetti <giulio.benetti@benettiengineering.com>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Norbert Lange <nolange79@gmail.com>, Bernd Kuhls <bernd@kuhls.net>, Romain Naour <romain.naour@gmail.com>, Sen Hastings <sen@hastings.org>, "Yann E . MORIN" <yann.morin.1998@free.fr>, Marcus Folkesson <marcus.folkesson@gmail.com>, Raphael Pavlidis <raphael.pavlidis@gmail.com>, linux-amarula@amarulasolutions.com, Dario Binacchi <dario.binacchi@amarulasolutions.com> Subject: [RFC PATCH 1/2] toolchain: add BR2_TOOLCHAIN_HAS_ATOMIC_TEST_AND_SET option Date: Thu, 3 Oct 2024 18:26:28 +0200 Message-ID: <20241003162629.470273-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=XnOW6wcW; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=pass header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
diff --git a/toolchain/Config.in b/toolchain/Config.in index 6e91ab756cd4..6e2856b38ae1 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -855,6 +855,11 @@ config BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_sparc depends on !(BR2_arc && !BR2_ARC_ATOMIC_EXT) +config BR2_TOOLCHAIN_HAS_ATOMIC_TEST_AND_SET + bool + default y + depends on !(BR2_arc && !BR2_ARC_ATOMIC_EXT) + # The availability of __sync for 8-byte types on ARM is somewhat # complicated: #
The build of libcap fails for ARC Targets which don't have the ATOMICS_EXT flag set: configure:5053: checking for cap_set_proc in -lcap cap_proc.c:(.text+0x78): undefined reference to `__atomic_test_and_set' configure:5086: result: no configure:5097: error: libcap support was requested but the library was not found The patch disables BR2_TOOLCHAIN_HAS_ATOMIC_TEST_AND_SET for BR2_arc without BR2_ARC_ATOMIC_EXT. Fixes: - http://autobuild.buildroot.net/results/66ee26677777124eafb4740a3c7437e06f704f98 Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> --- toolchain/Config.in | 5 +++++ 1 file changed, 5 insertions(+)