From patchwork Sun Jan 28 16:24:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Sayle X-Patchwork-Id: 193150 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp120704dyb; Sun, 28 Jan 2024 08:24:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IH4NLZywg8vaAOdFe7aoHTaaLjjJ7xLJNAAAqlTQ1yg63W254CW2hQzkC1NOB95SjXE3uQp X-Received: by 2002:a05:622a:134f:b0:42a:9f5c:2153 with SMTP id w15-20020a05622a134f00b0042a9f5c2153mr1230546qtk.53.1706459086319; Sun, 28 Jan 2024 08:24:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706459086; cv=pass; d=google.com; s=arc-20160816; b=PCBeLy8FLXWVCQL/KGRHPxMLYYBxzQsvyVi2STCRJ0Rs8Fej16afKqMpkMUayruMA4 kmO+DxAkqcFRSgQHAwmA1NgBzO8+efqzrIbg+EkMi9ZjN6vfNgYV3rwJczhkY7S7WCw/ rSIdsA6OXY/bFNRdjco3I9SzKTbs6WD6x4Qeio4V66PhVBqLxfziqe1J31SBtCnrcR9E 0miRzdg2WCvAjKqHh4q9ITD9UVSfJVI4GiuiOG+d+5q4kRfRiWui+kF3hGRIx8CO8rk0 byWtkuQ3rEoHLSPnR3oCcwMWHvivEbc3PS1YZWpqqwcIdKMCcjPt3xxt/kSqjtoI3TUm rgkw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-language:thread-index :mime-version:message-id:date:subject:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=Xg2LimUE9UJJSsTCOYtbGZNBZwbe8yH/CRkPgAX+ciI=; fh=gk9A5O7Gbglvz1MjrRQ4hZ2i3c68kYkpOZJg1emXh+g=; b=NbtXvhsc2ZJ1L45bRs/qwLzaKo31QpNfMnvYIehFtcUAAalpubiSh+R7uzv0TlZtZB j9kHGv0RBDDx3dD5DA0HTT4Y3MKTnj0vDAOx8PuUckCJOCQGWfqQLcndjwllvYZfGOlE jdPUKaNzaB+EQXfoB7fZJlMdMSu8unKQhTTtz13TtobHRgJLD+/Fj0zYxVIuNk2iIor0 6KEVTfsHLGoWfbf/+kfvpqpUywWSP87pILXkDr2uaU0+1Jh7vjIHYo4eyS7Fq49mCtVB X/yHO0bq+NmhmZBREZ1thfgmQNQaLiOOWTH5hSz/CVWhEknaVR6NafNmv0JK8wwwLjOH 7LnQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@nextmovesoftware.com header.s=default header.b=lk5lUqz+; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id x24-20020ac87ed8000000b0042a7cead6c1si5286677qtj.382.2024.01.28.08.24.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 08:24:46 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=fail header.i=@nextmovesoftware.com header.s=default header.b=lk5lUqz+; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 089883858407 for ; Sun, 28 Jan 2024 16:24:46 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from server.nextmovesoftware.com (server.nextmovesoftware.com [162.254.253.69]) by sourceware.org (Postfix) with ESMTPS id 6A37D3858D32 for ; Sun, 28 Jan 2024 16:24:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6A37D3858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nextmovesoftware.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nextmovesoftware.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6A37D3858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=162.254.253.69 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706459049; cv=none; b=hq4yAwbTkzGqmyFutaXgFBHZ32mw4V/bi2vQ+D/fc9Kc5U7cn8d/YT6TVQU34TRVEV85p3EuJFzC+lVg5olKD83nZFlw/c3y+lEKXThaqvHDb633CjGvTX3W0EIjE+5YKmh4n6usEHB9xOT2fCZ6TChIl/MWmNCCihuX8DFZuL0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706459049; c=relaxed/simple; bh=gR12QkQ4YDF5cxnGj5G1gnOvSBCVGGq78O3jyKoi798=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=WDrKPW/ubf8/w79jkbYJKhasr4PMuJe75IbFaF7D+YbYvQH4Kcd12kUAIETrXF3gu3pY6WNFYwJOwnfteKKUL1BFfwnGP8gg6CNGR3UIObEAKupcHnYDYGGVlQRSYGQ9f9Ug4B5+8C3Qy3oX2V3PUhKyrjsZbsgw0ckdP/E+iww= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nextmovesoftware.com; s=default; h=Content-Type:MIME-Version:Message-ID: Date:Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Xg2LimUE9UJJSsTCOYtbGZNBZwbe8yH/CRkPgAX+ciI=; b=lk5lUqz+PW5A6mOm7MC3oarWtQ Kj3EQVnJTCb59RjHM31Q13WCvSFhwR/w90k645oShg5ccNss+0M0tZTPY1OmpqfhnQyJYvKoqkb+9 rR+A9vrkSuVUBhhwBqJ06pXpy/uE03eBD22Lp92lAuAqb1FxqWp2nD/VCm7QpcYl3m9iAhgwin7Hz b88mCqFN1exrpw9EVWyLsBCVQjrYpZCqNGOU73u0ccTyhACMGy28mzcmfT9cGTg/EtGVkTRCQpfMZ c2A+lNSf2okRNI+3W4jUaxS5PAHSkmnBmwsy2+hpE/kAMThoq1lVRp490kZZcvFaZ4yMB/50MPZ0M 80s3Ta7A==; Received: from host86-160-20-123.range86-160.btcentralplus.com ([86.160.20.123]:54892 helo=Dell) by server.nextmovesoftware.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rU7x0-0005ay-1D for gcc-patches@gcc.gnu.org; Sun, 28 Jan 2024 11:24:06 -0500 From: "Roger Sayle" To: Subject: [libatomic PATCH] PR other/113336: Fix libatomic testsuite regressions on ARM. Date: Sun, 28 Jan 2024 16:24:04 -0000 Message-ID: <022801da5206$69e5a4f0$3db0eed0$@nextmovesoftware.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdpSBfmkUp0ZXaiqQ/ii45aZfeHcew== Content-Language: en-gb X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server.nextmovesoftware.com X-AntiAbuse: Original Domain - gcc.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - nextmovesoftware.com X-Get-Message-Sender-Via: server.nextmovesoftware.com: authenticated_id: roger@nextmovesoftware.com X-Authenticated-Sender: server.nextmovesoftware.com: roger@nextmovesoftware.com X-Source: X-Source-Args: X-Source-Dir: X-Spam-Status: No, score=-12.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789352042905147101 X-GMAIL-MSGID: 1789352042905147101 This patch is a revised version of the fix for PR other/113336. This patch has been tested on arm-linux-gnueabihf with --with-arch=armv6 with make bootstrap and make -k check where it fixes all of the FAILs in libatomic. Ok for mainline? 2024-01-28 Roger Sayle Victor Do Nascimento libatomic/ChangeLog PR other/113336 * Makefile.am: Build tas_1_2_.o on ARCH_ARM_LINUX * Makefile.in: Regenerate. Thanks in advance. Roger diff --git a/libatomic/Makefile.am b/libatomic/Makefile.am index cfad90124f9..eb04fa2fc60 100644 --- a/libatomic/Makefile.am +++ b/libatomic/Makefile.am @@ -139,6 +139,7 @@ if ARCH_ARM_LINUX IFUNC_OPTIONS = -march=armv7-a+fp -DHAVE_KERNEL64 libatomic_la_LIBADD += $(foreach s,$(SIZES),$(addsuffix _$(s)_1_.lo,$(SIZEOBJS))) libatomic_la_LIBADD += $(addsuffix _8_2_.lo,$(SIZEOBJS)) +libatomic_la_LIBADD += tas_1_2_.lo endif if ARCH_I386 IFUNC_OPTIONS = -march=i586