From patchwork Wed Sep 18 16:16:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 1986896 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=acTWggaK; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X83h56MxYz1y1m for ; Thu, 19 Sep 2024 02:17:09 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 010AE3858C31 for ; Wed, 18 Sep 2024 16:17:08 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id 447723858D29 for ; Wed, 18 Sep 2024 16:16:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 447723858D29 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 447723858D29 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1726676214; cv=none; b=c92Ebm38x0fFaRlwY7O5FnaIa/8yUsOWedXQuvtIMIUEEtvd5NNGfiudgCef2XWgXAy2atXZiNtr/AtbAyi6ZvrqpQ2Gx6/zf3756u5HIG5LV1EF3SbBxdjv3U9ylCZg2ETDc8k4vs5OhGJNTfYnClt8T6F0Yz47F2sfmAwwTig= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1726676214; c=relaxed/simple; bh=GOF3LJnF/hidSYopv4gPzda1MWR2N8sl8+fZ2qbMPyY=; h=DKIM-Signature:From:To:Subject:Message-ID:Date:MIME-Version; b=V65PDxccR7RGcLSZhnR+GXz6uU+ja2BReUZIMcOk9PSgbIrNVjmwlI67qfEtJf8tS9a9dRQoSnFHCIqw94N+2iaud7Xx483qLWDgzJgh8WZgdkgkgJ07gAT+rn1KPfMR8EKJdIB9bYBZ+u51jS6ehm1pdFSWfyDAuN2ogqI+j9Q= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1726676213; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=JwwpJ0cYejlxMQT7Uyi9diaImZi4oR3l3LY/VkkFAl0=; b=acTWggaKTIS3GxBV9VboejlpuXcfuii4WJ+FqacqzpHBj5OlcY/+Mac82xfh5kRgsYP/Bb alLvVpXFZVWiMKl7Uw1OaqVnPioPWQvcwPFS07Wb0MGAjpbkNAUXpG6kjEzwanAeKkr65D Kz5gWhU89KN8QZOvCrXTq2gJ1vZrAvw= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-679-qnBOx5dRP7KShHhxj9j-Ow-1; Wed, 18 Sep 2024 12:16:49 -0400 X-MC-Unique: qnBOx5dRP7KShHhxj9j-Ow-1 Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 41F57195608C; Wed, 18 Sep 2024 16:16:48 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.45.224.25]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 416EB3001FEF; Wed, 18 Sep 2024 16:16:45 +0000 (UTC) From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH v2 1/2] scripts: Remove arceb-linux-gnu from build-many-glibcs.py Message-ID: <45f362f437df67b60e16cb45f781519c68531cf3.1726676118.git.fweimer@redhat.com> X-From-Line: 45f362f437df67b60e16cb45f781519c68531cf3 Mon Sep 17 00:00:00 2001 CC: Alexey Brodkin , Luis Manuel Silva , Pavel Kozlov , Vineet Gupta Date: Wed, 18 Sep 2024 18:16:43 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-10.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP 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: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org This was discussed on the hallway track at GNU Tools Cauldron 2024. There are concerns about stability of the big-endian GCC backend, and Linux removed support for the only big-endian ARC platform in commit dd7c7ab01a04d645b7e7baa8530bfd81e31a2202 ("ARC: [plat-eznps]: Drop support for EZChip NPS platform"). --- scripts/build-many-glibcs.py | 3 --- 1 file changed, 3 deletions(-) base-commit: e64a1e81aadf6c401174ac9471ced0f0125c2912 diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index 7882d7d6fb..5ee45011a1 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -189,9 +189,6 @@ class Context(object): self.add_config(arch='arc', os_name='linux-gnuhf', gcc_cfg=['--disable-multilib', '--with-cpu=hs38_linux']) - self.add_config(arch='arceb', - os_name='linux-gnu', - gcc_cfg=['--disable-multilib', '--with-cpu=hs38']) self.add_config(arch='alpha', os_name='linux-gnu') self.add_config(arch='arm', From patchwork Wed Sep 18 16:17:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 1986897 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=GR0kS9iW; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X83j92NvRz1y1m for ; Thu, 19 Sep 2024 02:18:05 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 25CF13858C78 for ; Wed, 18 Sep 2024 16:18:03 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id 5632F3858D29 for ; Wed, 18 Sep 2024 16:17:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5632F3858D29 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5632F3858D29 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1726676267; cv=none; b=bMxxkMnZz7Pby78Fhi9ZXglJLiiklXEPCYQ4elz5XBJvB5KGlXOdGNvZ+PV63JGqbgGhanPU7PacRQStIaqX0YxXRQ0KqGOL+EAvMatuwtCYj+FpET8pIGNyJf9hI2HSmVusGKEdJy1ksa4ggeK+hNBwDA2tv8LPZiCDMacsF7k= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1726676267; c=relaxed/simple; bh=NwTCEo486wWczej3wTBSJP1oPsVC+/RlMwn3giR/ljo=; h=DKIM-Signature:From:To:Subject:Message-ID:Date:MIME-Version; b=i2mY4vZxX+9tuWR8BZgypoyZd6b7U7NymSUpAYbnXWeTDFzOl50k7fxWbrgbmNnpf1Z2+YxZwFU+nvRY0z+/LN2IWTdyIdcaMnBpWhswIDJCZ8xl/zrCiqKCGvaVaITmwNINWHDFzm43m7IWxacr9jT22i6l+5tBXCVlCp+n4hw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1726676266; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qYg1uemYtV9po4liM8F9RsVjq/5DXuOZaHfIqnrXMfI=; b=GR0kS9iW98LpLTVe+lurhAh9FKOPzgUxmckDXqYvNhV9tEOF15tNaIH8jKJjrXf7MslXsj ebt2NSadJR/0hY9fR98zBj12MDmWEO/6rGFf3Vx+kz1ptlsE0wylXRz11dRE7VP2/hgbNa ZvAV5nCtNsclgFqafoNAnkQ1dsBXYZE= Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-1-Hi-LpDtgOCqQVMfPM71ZBQ-1; Wed, 18 Sep 2024 12:17:42 -0400 X-MC-Unique: Hi-LpDtgOCqQVMfPM71ZBQ-1 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 97C191955F3C; Wed, 18 Sep 2024 16:17:40 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.45.224.25]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 5F3CC19560AA; Wed, 18 Sep 2024 16:17:38 +0000 (UTC) From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH 2/2] arc: Remove HAVE_ARC_BE macro and disable big-endian port In-Reply-To: <45f362f437df67b60e16cb45f781519c68531cf3.1726676118.git.fweimer@redhat.com> Message-ID: <6d245f490b5a13fdb9bb5de2940dc7ede3195712.1726676118.git.fweimer@redhat.com> References: <45f362f437df67b60e16cb45f781519c68531cf3.1726676118.git.fweimer@redhat.com> X-From-Line: 6d245f490b5a13fdb9bb5de2940dc7ede3195712 Mon Sep 17 00:00:00 2001 CC: Alexey Brodkin , Luis Manuel Silva , Pavel Kozlov , Vineet Gupta Date: Wed, 18 Sep 2024 18:17:35 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-10.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP 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: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org It is no longer needed, now that ARC is always little endian. Tested with a compilers/glibcs build-many-glibcs.py cycle. --- NEWS | 2 +- config.h.in | 3 --- sysdeps/arc/configure | 11 +++-------- sysdeps/arc/configure.ac | 7 ++----- sysdeps/unix/sysv/linux/arc/shlib-versions | 4 ---- 5 files changed, 6 insertions(+), 21 deletions(-) diff --git a/NEWS b/NEWS index 10894e7b5a..6b72cb86d3 100644 --- a/NEWS +++ b/NEWS @@ -30,7 +30,7 @@ Major new features: Deprecated and removed features, and other changes affecting compatibility: - [Add deprecations, removals and changes affecting compatibility here] +* The big-endian ARC port (arceb-linux-gnu) has been removed. Changes to build and runtime requirements: diff --git a/config.h.in b/config.h.in index f495f11244..6c25c923fa 100644 --- a/config.h.in +++ b/config.h.in @@ -117,9 +117,6 @@ required version of GNU 'binutils' to 2.28 or later. */ #define HAVE_AARCH64_SVE_ASM 0 -/* ARC big endian ABI */ -#undef HAVE_ARC_BE - /* C-SKY ABI version. */ #undef CSKYABI diff --git a/sysdeps/arc/configure b/sysdeps/arc/configure index 08e4f23f89..66d5fadcdd 100644 --- a/sysdeps/arc/configure +++ b/sysdeps/arc/configure @@ -175,13 +175,8 @@ fi { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $libc_cv_arc_be" >&5 printf "%s\n" "$libc_cv_arc_be" >&6; } if test $libc_cv_arc_be = yes; then - # For shlib-versions. - printf "%s\n" "#define HAVE_ARC_BE 1" >>confdefs.h - - config_vars="$config_vars -default-abi = arcbe" -else - config_vars="$config_vars -default-abi = arcle" + as_fn_error $? "big-endian not supported" "$LINENO" 5 fi +config_vars="$config_vars +default-abi = arcle" diff --git a/sysdeps/arc/configure.ac b/sysdeps/arc/configure.ac index 619da4e088..4d79ccb00d 100644 --- a/sysdeps/arc/configure.ac +++ b/sysdeps/arc/configure.ac @@ -17,9 +17,6 @@ AC_CACHE_CHECK([for big endian], #endif ], libc_cv_arc_be=yes, libc_cv_arc_be=no)]) if test $libc_cv_arc_be = yes; then - # For shlib-versions. - AC_DEFINE(HAVE_ARC_BE) - LIBC_CONFIG_VAR([default-abi], [arcbe]) -else - LIBC_CONFIG_VAR([default-abi], [arcle]) + AC_MSG_ERROR([big-endian not supported]) fi +LIBC_CONFIG_VAR([default-abi], [arcle]) diff --git a/sysdeps/unix/sysv/linux/arc/shlib-versions b/sysdeps/unix/sysv/linux/arc/shlib-versions index 343c0a0450..62c1bd57b3 100644 --- a/sysdeps/unix/sysv/linux/arc/shlib-versions +++ b/sysdeps/unix/sysv/linux/arc/shlib-versions @@ -1,7 +1,3 @@ DEFAULT GLIBC_2.32 -%ifdef HAVE_ARC_BE -ld=ld-linux-arceb.so.2 -%else ld=ld-linux-arc.so.2 -%endif