From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 0QFIDnok2mVSOysAWB0awg (envelope-from ) for ; Sat, 24 Feb 2024 12:16:42 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=WVDon6Uy; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 2BE1B1E0D2; Sat, 24 Feb 2024 12:16:42 -0500 (EST) 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 (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 0C3B91E030 for ; Sat, 24 Feb 2024 12:16:40 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4945B3858C62 for ; Sat, 24 Feb 2024 17:16:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4945B3858C62 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1708794999; bh=oWR+9nUcoryUz9h3w8rlA1Zm0zCzINQG/hg6c9yA5vw=; h=References:In-Reply-To:Date:Subject:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=WVDon6UyZcUyMhPz8uhA6u/m5gql+dpfkrF/WUfUtFJPVGj903ohmygubyjCFzesG gZMIeZIC7HBFG7pvCJGBC+LSZ1pmlKwrsWfY8xv3LIEmNiv1ClZ8NvqsUgbNk2fmUU 55r9Cxode1MH4an28nNuYikst1ykQWWYgn+jWdaA= Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by sourceware.org (Postfix) with ESMTPS id 60BB9385828C for ; Sat, 24 Feb 2024 17:15:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 60BB9385828C ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 60BB9385828C ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708794949; cv=none; b=M7HJTr1wxAAmT5l+ntrAarZ/eBlDs2X+oVC0jI5fu5fH/sWv1KgzqobK53T0p9ZM4F1fTRy7M50mJmbMaUR4W9k7d7huzX5A/0Du3b47O5BuNaJUdOFK935ATB5lunzUyoesunykJ4sZXnyDVbX3VktlrwzPxzW1Kb9Si+0pPKA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708794949; c=relaxed/simple; bh=hPhAk88PS1Db60T8m+MG+d0OZalQBrK1jKCCMTWOAMY=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=APKN22v93+Ynw7qZpGbxSkqfoY8ZEqLUlSIG+t0PmXvU5k1sEqNw1n0BUvxicJunFme+n9Zp3FPLV9AZUtwPQC+SI2Isa72Z1kbinc48I9qeE0Ba3uM0Eh5RTfeAhfZMnfzofuLNupisotsDV2jHk0cGZqjutnK7yRFCMpYFXG4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-io1-xd31.google.com with SMTP id ca18e2360f4ac-7bf7e37dc60so101628439f.3 for ; Sat, 24 Feb 2024 09:15:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708794943; x=1709399743; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=N1hGxb4D1OvlglZJt2Q7OCWoSu/kMqY/I3A4dT8KEFA=; b=ajwTZTofptALfp8SjhHhT1NIElPbNvlnM9iyAxCYwcqnW1Uhm4ntTWzDYKXsydD3b+ S/cAFgpxf6Pd5UDJ7dxSNscApAuuk1ytH+5Qrzjd7mHfggeFcR+1WFPhLAnAYJ1z/lC1 9V7EK/BTwFk8UJRxLkUfzFyDn0S/V+hSLzlOlyJGN+DgYAE1U3ggzW/trZ2jQJ9BmUWQ hdmJXkY0ZK1C+0+ZVe6hqhPUsUtvHoL2Wf3QYkXK1Qpt/1O4lZsxh7UiJPbjMPmJ3YeK ht3ElSrRuVYfys+6euPGSs0ifPCY/I3z2jjfJQuNUk504YoGUkxb1nNFU+s+8Xz4Gh+J zhsA== X-Gm-Message-State: AOJu0Ywi+qobDm94gSDIUVQKqXRFv+y4vpQoLTpNttUJMufbTkk/YjmO 5UEVLDH17NcOAqtvc+omoxhCsa4V2OScNMxPCVNmkySksv573A6vjjP4080eY2KTIcMP2UsUs9P 36+EhYgJoToFri0U1fOmHJMEzpnv5uw2jyW0= X-Google-Smtp-Source: AGHT+IHDDJpjBhdlOSVftSFQ2k8ugEu7ESQ3++8PNbCwLmEvdh15CCIRLx7kf+iRVOr5qAYcSJahtrdFoudG3tKbsAM= X-Received: by 2002:a05:6e02:1bc7:b0:365:2624:30b0 with SMTP id x7-20020a056e021bc700b00365262430b0mr3488645ilv.24.1708794943320; Sat, 24 Feb 2024 09:15:43 -0800 (PST) MIME-Version: 1.0 References: <87v86d6byg.fsf@gentoo.org> In-Reply-To: <87v86d6byg.fsf@gentoo.org> Date: Sat, 24 Feb 2024 17:15:07 +0000 Message-ID: Subject: Re: gdb and ancient GNU autotools To: Sam James Cc: gdb@sourceware.org X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_KAM_HTML_FONT_INVALID, T_SCC_BODY_TEXT_LINE, WEIRD_PORT autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?Tomasz_K=C5=82oczko_via_Gdb?= Reply-To: =?UTF-8?Q?Tomasz_K=C5=82oczko?= Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" On Sat, 24 Feb 2024 at 16:53, Sam James wrote: [..] > > Literally NONE Linux distribution currently provides that version so in > > case of any necessity to fix something in autoconf it is NOT POSSIBLE t= o > > regenerate GNU autotools files. > > > > This is wrong, per above. > Did you try to make a simple experiment to clone for example gdb repo and execute "autoreconf -fiv"? I've done that with autoconf 2.72, automake 1.16 and libtool 2.4.7 and here is the result: ``` + cd gdb-14.1 + autoreconf -fiv autoreconf: export WARNINGS=3D autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.ac:1424: warning: The macro 'AC_CHECK_TOOL_PREFIX' is obsolete. configure.ac:1424: You should run autoupdate. ./lib/autoconf/programs.m4:184: AC_CHECK_TOOL_PREFIX is expanded from... config/acx.m4:391: ACX_PROG_GNAT is expanded from... configure.ac:1424: the top level configure.ac:1683: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:1683: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2821: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2837: AC_COMPILE_IFELSE is expanded from... configure.ac:1683: the top level configure.ac:1701: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:1701: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2821: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2837: AC_COMPILE_IFELSE is expanded from... configure.ac:1701: the top level configure.ac:1718: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:1718: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2821: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2837: AC_COMPILE_IFELSE is expanded from... configure.ac:1718: the top level configure.ac:1888: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:1888: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... config/isl.m4:98: ISL_CHECK_VERSION is expanded from... configure.ac:1888: the top level autoreconf: configure.ac: not using Autoheader autoreconf: configure.ac: not using Automake autoreconf: './config.sub' is updated autoreconf: './config.guess' is updated autoreconf: './install-sh' is updated autoreconf: Leaving directory '.' + /usr/bin/mkdir full minimal + cd full + ASMFLAGS=3D'-m64 -mtune=3Dgeneric -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=3Dauto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3D3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=3Dformat-security' + CFLAGS=3D'-m64 -mtune=3Dgeneric -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=3Dauto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3D3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=3Dformat-security ' + CXXFLAGS=3D'-m64 -mtune=3Dgeneric -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=3Dauto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3D3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=3Dformat-security -DDNF_DEBUGINFO_INSTALL -DNEED_DETACH_SIGSTOP' + FFLAGS=3D'-m64 -mtune=3Dgeneric -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=3Dauto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3D3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=3Dformat-security -I/usr/lib64/gfortran/modules' + FCFLAGS=3D'-m64 -mtune=3Dgeneric -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=3Dauto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3D3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=3Dformat-security -I/usr/lib64/gfortran/modules' + LDFLAGS=3D'-specs=3D/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--gc-secti= ons -Wl,--as-needed -Wl,--build-id=3Dsha1 -Wl,-z,now -specs=3D/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,pack-relative-relocs -flto=3Dauto -fuse-linker-plugin -DDNF_DEBUGINFO_INSTALL -DNEED_DETACH_SIGSTOP' + RUSTFLAGS=3D'-C codegen-units=3D1 -C debuginfo=3D2 -C opt-level=3D2 -C link-arg=3D-Wl,--as-needed -C link-arg=3D-Wl,--build-id=3Dsha1 -C link-arg=3D-Wl,-z,now -C link-arg=3D-specs=3D/usr/lib/rpm/redhat/redhat-hardened-ld -C link-arg=3D-Wl,-z,pack-relative-relocs -C link-arg=3D-Wl,-z,relro -C link-arg=3D-flto=3Dauto --cap-lints=3Dwarn' + VALAFLAGS=3D-g + CC=3D/usr/bin/gcc + CXX=3D/usr/bin/g++ + FC=3D/usr/bin/gfortran + AR=3D/usr/bin/gcc-ar + NM=3D/usr/bin/gcc-nm + RANLIB=3D/usr/bin/gcc-ranlib + export ASMFLAGS CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS VALAFLAGS CC CXX FC AR NM RANLIB RUSTFLAGS VALAFLAGS + ../configure --bindir=3D/usr/bin --build=3Dx86_64-redhat-linux --datadir=3D/usr/share --disable-dependency-tracking --exec-prefix=3D/usr --host=3Dx86_64-redhat-linux --includedir=3D/usr/include --infodir=3D/usr/share/info --libdir=3D/usr/lib64 --libexecdir=3D/usr/libex= ec --localstatedir=3D/var --mandir=3D/usr/share/man --prefix=3D/usr --program-prefix=3D --runstatedir=3D/run --sbindir=3D/usr/sbin --sharedstatedir=3D/var/lib --sysconfdir=3D/etc --disable-libmcheck --disable-rpath --disable-sim --enable-64-bit-bfd --enable-build-with-cxx --enable-targets=3Ds390-linux-gnu,powerpc-linux-gnu,arm-linux-gnu,aarch64-l= inux-gnu --enable-tui --enable-unit-tests --sysconfdir=3D/etc '--with-auto-load-dir=3D$debugdir:$datadir/auto-load/usr/share/gdb/auto-loa= d' '--with-auto-load-safe-path=3D$debugdir:$datadir/auto-load/usr/share/gdb/au= to-load' --with-babeltrace --with-debuginfod --with-expat --with-gdb-datadir=3D/usr/share/gdb --with-lzma --without-guile --without-libexpat-prefix --without-libunwind --without-mpfr --without-stage1-ldflags --with-python=3D/usr/bin/python3 --with-rpm=3Dlibrpm.so.10 --with-separate-debug-dir=3D/usr/lib/debug --with-system-gdbinit=3D/etc/gdbinit --with-system-readline --with-system-zlib --with-xxhash --disable-werror --disable-inprocess-agent --with-intel-pt checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking for gawk... gawk checking for gdbserver support... yes checking for x86_64-redhat-linux-gcc... /usr/bin/gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to enable C11 features... none needed checking whether the compiler supports GNU C++... yes checking whether /usr/bin/g++ accepts -g... yes checking for /usr/bin/g++ option to enable C++11 features... none needed checking whether g++ accepts -static-libstdc++ -static-libgcc... no checking for x86_64-redhat-linux-gnatbind... no checking for gnatbind... no checking for x86_64-redhat-linux-gnatmake... no checking for gnatmake... no checking whether compiler driver understands Ada and is recent enough... no checking for x86_64-redhat-linux-gdc... no checking for gdc... no checking whether the D compiler works... no checking how to compare bootstrapped objects... cmp --ignore-initial=3D16 $$f1 $$f2 checking for objdir... .libs ../configure: line 9178: syntax error near unexpected token `,' ../configure: line 9178: ` _au_m4_changequote(,)cat confdefs.h - <<_ACEOF >conftest.$ac_ext' ``` And autoconf 2.69 has been released (sic!) ONLY TWELVE years ago .. kloczek --=20 Tomasz K=C5=82oczko | LinkedIn: http://lnkd.in/FXPWxH