From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id tM/PC5FTh2k5IC4AWB0awg (envelope-from ) for ; Sat, 07 Feb 2026 10:00:33 -0500 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=oGBTUpSH; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 16B3A1E08D; Sat, 07 Feb 2026 10:00:33 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=no autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 9FEE91E08D for ; Sat, 07 Feb 2026 10:00:32 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 1CDD1490030A for ; Sat, 7 Feb 2026 15:00:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1CDD1490030A Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=oGBTUpSH Received: from omta036.useast.a.cloudfilter.net (omta036.useast.a.cloudfilter.net [44.202.169.35]) by sourceware.org (Postfix) with ESMTPS id 5397848F536B for ; Sat, 7 Feb 2026 15:00:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5397848F536B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5397848F536B Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770476405; cv=none; b=xFLR99qoDlnsAJ0XlcB29M2A+uUQLAD6KsATFhQDwSXAcaudsW4j/jQhAUM7hCp70AGfr0SEqekq8t7sbluuCMJc34yC5HYqfm6LACyXa9OUFbt2ITdO7mqmMCNl693PGuz4gOk1iqRpE12RYkOfmfLvWby/rXDhmbL4Na1KkNw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770476405; c=relaxed/simple; bh=v5eE3459UhO4VT4ddl+iBLBNFdVSedRudx9W/SoteRk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=oKNynpsNodQsTA7e3XCXFT28AJePoFIVSQ99/jDdm4BcRMT7cap6NONXRRj4vpN3FN2xy9d2KR5SRBVHnMD3a9+K9RpQNoh8+B5LuxtrJ1O/M93bYo13PXSExWMCXW496XjpXT8WLop0Oh2r0xxNfnyNufhtMdCrUmWUGU/3X9s= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5397848F536B Received: from eig-obgw-6001b.ext.cloudfilter.net ([10.0.30.143]) by cmsmtp with ESMTPS id oeAev4uNaKXDJojn2vsB2g; Sat, 07 Feb 2026 15:00:05 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id ojn1vZLdvcu11ojn2vpb00; Sat, 07 Feb 2026 15:00:04 +0000 X-Authority-Analysis: v=2.4 cv=bKYWIO+Z c=1 sm=1 tr=0 ts=69875374 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=HzLeVaNsDn8A:10 a=ItBw4LHWJt0A:10 a=_ZhYKdCeAAAA:8 a=zstS-IiYAAAA:8 a=r-U5YdVLI4y7KMx6uC0A:9 a=uqOk3ZSnBfCTOznnrPA1:22 a=4G6NA9xxw8l3yy4pmD5M:22 a=DCx65vhANUyCzuf5D8fC:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=oPxkSQl/Gc8X1IAeVTS9QZXLtlTib0Y65+fPeduuIgM=; b=oGBTUpSHhJRNq1C3QYnyQpC0KO 4oZCGJH8NbX16qd7J0dbroxXbc07RBI3A8eZOvc0O+7k1p0cbq9dH74s2Yu6NEt8R40ScAmEZiEtB P0UJJva8CJdKgcmCi69QGEBI2; Received: from 97-118-49-200.hlrn.qwest.net ([97.118.49.200]:37454 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vojn1-00000002cvq-2W5t; Sat, 07 Feb 2026 08:00:03 -0700 From: Tom Tromey To: simon.marchi@polymtl.ca Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] gdb: link with libatomic when it exists In-Reply-To: <20260206222227.2847503-1-simon.marchi@polymtl.ca> (simon marchi's message of "Fri, 6 Feb 2026 17:22:14 -0500") References: <20260206222227.2847503-1-simon.marchi@polymtl.ca> X-Attribution: Tom Date: Sat, 07 Feb 2026 08:00:01 -0700 Message-ID: <87h5rswqdq.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.118.49.200 X-Source-L: No X-Exim-ID: 1vojn1-00000002cvq-2W5t X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-118-49-200.hlrn.qwest.net (prentzel) [97.118.49.200]:37454 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfKUTfhzliKIxytpgbA/2XgNfeA4HwRU6Fgzifvbgcgy0OVmvDu/5PjV64Al19mIkt+yWnzgR5IldQz71ybSNIjBDDG847cLadNXE8CQIELvaX2DD3TcU /WFRkx8f90jovoYhuOabrCFOYVhJ8cytHLpWsHLz56EYAv+lrHpHjuJ/oYCfyq3QhkX6TBStdG3u+bpV36nARczp5TOd3d7Ap2U= X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org >>>>> "Simon" == simon marchi writes: Simon> We (the ROCgdb team) considered writing a targeted configure check to Simon> determine if -latomic was needed for this specific edge case, for the Simon> toolchain in use. But we ended up thinking it would be simpler to just Simon> always link with libatomic, when it is present. We think there is no Simon> real downside to it. If libatomic is not really needed, since most Simon> toolchains now default to using --as-needed, libatomic won't be Simon> DT_NEEDED if it's not truly needed. Plus, if things change (either our Simon> code or the compilers) in the future and more things end up requiring Simon> libatomic, we'll be covered. Makes sense. This looks good to me. Thank you. Approved-By: Tom Tromey Tom