From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 6wVlCDBy4mqnDQUAWB0awg (envelope-from ) for ; Wed, 28 Oct 2026 18:07:44 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=sociotechnical.xyz header.i=@sociotechnical.xyz header.a=rsa-sha256 header.s=fm3 header.b=c1WkMHwN; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=Y97dh6oN; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 08047378002; Wed, 28 Oct 2026 18:07:44 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham 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 346241E007 for ; Wed, 28 Oct 2026 18:07:43 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E81B44BA540B for ; Wed, 28 Oct 2026 22:07:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E81B44BA540B Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=sociotechnical.xyz header.i=@sociotechnical.xyz header.a=rsa-sha256 header.s=fm3 header.b=c1WkMHwN; dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=Y97dh6oN Received: from fout-a5-smtp.messagingengine.com (fout-a5-smtp.messagingengine.com [103.168.172.148]) by sourceware.org (Postfix) with ESMTPS id ABDC64BA2E18 for ; Wed, 28 Oct 2026 22:07:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ABDC64BA2E18 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=sociotechnical.xyz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=sociotechnical.xyz ARC-Filter: OpenARC Filter v1.0.0 sourceware.org ABDC64BA2E18 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=103.168.172.148 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1793225226; cv=none; b=DRwwDBTLrbJmVmO2x6xa+G/C7cgUsFZ9GgisNfM+KyXXu3gLrvM6vXOsAg5w34/pvmL4pZNDmxm1Vqw/dQm0rpF67v+HUL14QknWzLBz1k7uHWJzMU4Y2VooBuZgNNCGorQGItlhN8NfHlwQz7aaF7S5FCQe0Q13cSft90yIles= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1793225226; c=relaxed/simple; bh=THwJ8KuzZbAeTyVELTPRj171MEXS6bBjZqwc5hdnGBE=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=ayAoeOHb5FJCKGv8Ds/jRpP0ZJ8HqdnxULOiKRZzaE+csgssREX9fg8zbjYA+ytzbDqBFh/1L+j5P4joBpY9zG4zfcLc1gyKy0GXAW8ZPSefR3S/aLuJYFHXVHoG4i+1dVjVR9+WnbDhoAekHfyp7h3PYKcd86uNZ959sIOOSgE= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=sociotechnical.xyz header.i=@sociotechnical.xyz header.a=rsa-sha256 header.s=fm3 header.b=c1WkMHwN; dkim=pass (2048-bit key, unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm2 header.b=Y97dh6oN DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ABDC64BA2E18 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id 760A6EC06A5 for ; Wed, 28 Oct 2026 18:07:06 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Wed, 28 Oct 2026 18:07:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= sociotechnical.xyz; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to; s=fm3; t= 1793225226; x=1793311626; bh=7MIuF5EoOYRGEgfwfby81Jw/cTk5uaQI7Qf R6RQE7CU=; b=c1WkMHwNJEg228TxfPE4Sf9x+G5J9L82/BJh40TDDEhPip/92WT y2L/8Q1FSA3Ca0hFP76bcY4dqKWD5SXEVUc7MsLpuR8Q31HKwatz9ppgLN0PwWuM BsJQ8IBGdQyb6jpgpGJzobotVgPhHpboXkRk8PJOT1IFnJKsxsl2+cw0NkT/gJ1U cvHMRT0FpJDoupGazLdayTpCBzH5FpoUWWRWJOdek1DP6vFcMseqmXFE80UkAOTB E3xmiCB7mZGIAv9AtxR/PIaKI0OEucXEu5FaAkOfx27f5v9KucHv1hIXl6jA1Qve 4BBvaSPSYTGcuWMaaASsn0Ew3Q46iDiVBNA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1793225226; x=1793311626; bh=7MIuF5EoOYRGEgfwfby81Jw/cTk5uaQI7Qf R6RQE7CU=; b=Y97dh6oN13csx6cTLkUUe7CbkuJvz333qPylj0qdYeq9hq6Gpq+ CBjVDvrZhD1I0MGorYNXj9uehp/WGkjKvWLUb8IxXH2JyFvRJoq0zgXgAp2qxL2W AgzkxeX/3h05OmL/JOOWCApTcQQtoZ3UqqREDYwFHjgkmilhZf5qPjeoRn8K+bUz UhfgoWUFNgVBtlLvvmfH+p2QyXhJqyLEasZb3U7BsYDhZtlQ/Gg0j+DzT3DoyvY0 N/PZrRg82IciFcIYZwg5DI46dp9KsH/B0+48Lgv0ISRdOa4hN/qPGgUUKa/5iIrW Iq9InkIv6vajIerseNeX6IwOceDgFWmLhyw== X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-08; repo=github.com/dkim2wg/interop; date=2026-10-28; sw=lmtpprox; action=sign d=sociotechnical.xyz a=rsa-sha256; DKIM2-Signature: i=1; m=1; t=1793225226; d=sociotechnical.xyz; mf=PHBpZXRyb0Bzb2Npb3RlY2huaWNhbC54eXo+; rt=PGdkYi1wYXRjaGVzQHNvdXJjZXdhcmUub3JnPg==; s=fm3:rsa-sha256:jMDBY0lM8eqTTp17+HftKqB/48ZlBTrhyTGnl5YB3ikCAIt UQsm+uhFkv9xYCCbLY53PUyMjUzOld5xY0DGOGEkn9rNM0hb12sGU2+p8YOKI7ox fAFQzPG5uQYaKtvYZiSEDPNSYDZHLZkP80oy/wqyepjjEjAjEBmkhpEjnatFqoNz GBYGR7vaYkg5TkeCoHneUxw2/OwjP7Y+c5dMfXWTcDClnKv/zZuXqYISylOgrm07 YaThTprH6zjhzbZ8I1GdAeWaqfKvCJ7YterLfkZb3iDhMn/HGufrqDDd2WpvD0d1 RFOxpli6TKEB6OUtAQ2Jfz5UUVWHhSOhC943Z9g==; X-DKIM2-Info: draft=ietf-dkim-dkim2-spec-08; repo=github.com/dkim2wg/interop; date=2026-10-28; sw=lmtpprox; action=mi-m=1; hc=9; hn=cc,content-transfer-encoding,date,feedback-id,from, message-id,mime-version,subject,to; Message-Instance: m=1; h=sha256:lHM/icYQCaiNCBmxBFxqS/FHm21kjCq63XZ75ju6uhU=:THwJ8KuzZbAeTyVELTPRj171MEXS6bBjZqwc5hdnGBE=; X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTET7t7rGICqVhkhsBPKIHygg3dXJHWVgkA1k0BLnvdODJv882hU5D9nagyP6MjfK+ 8eWIYPHxAcRPd+VmIF3+QsvCa6h04t7b4CuGW/eb0wpDii9yyU1i51SoaweP6d9mka7K+Y XbF8EbCpc6WJu53+YcLc/NeV+NVkI7NJobohvxLWLae/h9pqAH00AdZoW9gBHi3pczzsy7 HNX0C//OdmqZtLVmWwvE95pdPM7YkMvIxtBLSDJulu7gR+x5sE+KMKhGaog8yqBj0y6xEs Sx4b0R4jAbs3RFYTnYRgdN4VLkcd1fQrz0FMRUlRcXquiGBZslgoSWo0YkLJSYv8jMTwPH IKwADli/Cfowmyh2szCUTnE7VHTKIuDz6hBGw0A2pyo5fGQWSWRW5SRR+fVIxZKQHDGNe5 iz+hF9W119PYzqYd809ACniThQ5DxHkpG+yM2SjsRYRpGDmyocJPRIXV1Ql9JOjaD94iQW dgZqlg/Ra9yWnPocXZXxe/IJG2J8hKR5awXdUhiIEGmn3FiOdDnP+a179dLxtn0iTxxvpc 0oxLYa8kP0E+6zraIdXmrpn134OuTkG27aMmAQpQkbZF+qdJ6St+ONbN0qlz/ApV9CCvMk u12KRENYuBaUYi1s10VURL2FmDaMtwzzs3DN/htRotraChG48KZ2zWj7ryBw X-ME-Proxy: Feedback-ID: i7f494689:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 28 Oct 2026 18:07:05 -0400 (EDT) From: Pietro Monteiro To: binutils@sourceware.org, gdb-patches@sourceware.org Cc: Pietro Monteiro Subject: [COMMITTED] config: Sync from GCC Date: Wed, 28 Oct 2026 18:05:49 -0400 Message-ID: <20261028220548.84273-2-pietro@sociotechnical.xyz> X-Mailer: git-send-email 2.54.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Sync the following changes from GCC and regenerate all autoconf files. commit 3d61ec632f9292fb7642865d8b588bb82d51d466 Author: Sam James Date: Sun Oct 11 20:15:54 2026 +0100 config: sync ax_check_define.m4 from autoconf-archive config/ChangeLog: * ax_check_define.m4: Update to serial 12. commit 9d3338579f6448dcffa6f0b818c45374f925f3d5 Author: Zhongteng Gui Date: Sat Oct 10 01:17:17 2026 +0800 lto, mingw: Do not export symbols from some frontends [PR115300] config/ChangeLog: * bootstrap-lto-lean.mk (STAGE3_CFLAGS): Add -ffat-lto-objects for mingw targets. (STAGEfeedback_CFLAGS): Likewise. commit c767ce6c57c2a4b60c6c7725ac7e06cb18b9258b Author: Pietro Monteiro Date: Mon Oct 26 18:22:21 2026 -0400 config: Update AC_PROG_LD to LT_PATH_LD. config/ChangeLog: * hwcaps.m4 (GCC_CHECK_LINKER_HWCAP): Update AC_PROG_LD to LT_PATH_LD. Signed-off-by: Pietro Monteiro --- config/ax_check_define.m4 | 39 +++++++++--------------------------- config/bootstrap-lto-lean.mk | 4 ++++ config/hwcaps.m4 | 2 +- 3 files changed, 15 insertions(+), 30 deletions(-) diff --git a/config/ax_check_define.m4 b/config/ax_check_define.m4 index 4bc694861c0..ef15e713005 100644 --- a/config/ax_check_define.m4 +++ b/config/ax_check_define.m4 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_check_define.html +# https://www.gnu.org/software/autoconf-archive/ax_check_define.html # =========================================================================== # # SYNOPSIS @@ -18,33 +18,12 @@ # # Copyright (c) 2008 Guido U. Draheim # -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 3 of the License, or (at your -# option) any later version. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -# Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program. If not, see . -# -# As a special exception, the respective Autoconf Macro's copyright owner -# gives unlimited permission to copy, distribute and modify the configure -# scripts that are the output of Autoconf when processing the Macro. You -# need not follow the terms of the GNU General Public License when using -# or distributing such scripts, even though portions of the text of the -# Macro appear in them. The GNU General Public License (GPL) does govern -# all other use of the material that constitutes the Autoconf Macro. -# -# This special exception to the GPL applies to versions of the Autoconf -# Macro released by the Autoconf Archive. When you make and distribute a -# modified version of the Autoconf Macro, you may extend this special -# exception to the GPL to apply to your modified version as well. +# Copying and distribution of this file, with or without modification, are +# permitted in any medium without royalty provided the copyright notice +# and this notice are preserved. This file is offered as-is, without any +# warranty. -#serial 8 +#serial 12 AU_ALIAS([AC_CHECK_DEFINED], [AC_CHECK_DEFINE]) AC_DEFUN([AC_CHECK_DEFINE],[ @@ -53,6 +32,7 @@ AC_CACHE_CHECK([for $1 defined], ac_var, AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[ #ifdef $1 int ok; + (void)ok; #else choke me #endif @@ -68,6 +48,7 @@ AC_CACHE_CHECK([for $2 defined in $1], ac_var, AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <$1>]], [[ #ifdef $2 int ok; + (void)ok; #else choke me #endif @@ -82,8 +63,8 @@ AC_CACHE_CHECK([for $2], ac_var, dnl AC_LANG_FUNC_LINK_TRY [AC_LINK_IFELSE([AC_LANG_PROGRAM([$1 #undef $2 - char $2 ();],[ - char (*f) () = $2; + char $2 (void);],[ + char (*f) (void) = $2; return f != $2; ])], [AS_VAR_SET(ac_var, yes)], [AS_VAR_SET(ac_var, no)])]) diff --git a/config/bootstrap-lto-lean.mk b/config/bootstrap-lto-lean.mk index 42cb3394c70..5f3d2b56fbf 100644 --- a/config/bootstrap-lto-lean.mk +++ b/config/bootstrap-lto-lean.mk @@ -5,6 +5,10 @@ STAGE3_CFLAGS += -flto=jobserver override STAGEtrain_CFLAGS := $(filter-out -flto=jobserver,$(STAGEtrain_CFLAGS)) STAGEtrain_GENERATOR_CFLAGS += -flto=jobserver STAGEfeedback_CFLAGS += -flto=jobserver +ifneq (,$(findstring mingw,$(host_os))) +STAGE3_CFLAGS += -ffat-lto-objects +STAGEfeedback_CFLAGS += -ffat-lto-objects +endif # assumes the host supports the linker plugin LTO_AR = $$r/$(HOST_SUBDIR)/prev-gcc/gcc-ar$(exeext) -B$$r/$(HOST_SUBDIR)/prev-gcc/ diff --git a/config/hwcaps.m4 b/config/hwcaps.m4 index f3d03906447..aedbc4913fb 100644 --- a/config/hwcaps.m4 +++ b/config/hwcaps.m4 @@ -42,7 +42,7 @@ dnl LD (as a side effect of testing) dnl AC_DEFUN([GCC_CHECK_LINKER_HWCAP], [ test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS='' - AC_REQUIRE([AC_PROG_LD]) + AC_REQUIRE([LT_PATH_LD]) ac_save_LDFLAGS="$LDFLAGS" LDFLAGS="$LFLAGS -mclear-hwcap" -- 2.54.0