https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103459
--- Comment #26 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Pietro Monteiro <[email protected]>: https://gcc.gnu.org/g:a44acda568b6740ca2396205ec1db3514bc0325c commit r17-6082-ga44acda568b6740ca2396205ec1db3514bc0325c Author: Pietro Monteiro <[email protected]> Date: Mon Nov 9 21:47:56 2026 -0500 configury: Stop using AC_CANONICAL_SYSTEM [PR103459] libstdc++ configure.ac has a reference to a mailinglist post[0] explaining why AC_CANONICAL_SYSTEM and target_alias=${target_alias-$host_alias} are used. The main reason to use AC_CANONICAL_SYSTEM is an automake bug that has been fixed in the version currently used (1.15.1). In the version of autoconf we use (2.69) AC_CANONICAL_SYSTEM is aliased to AC_CANONICAL_TARGET, so the only change caused by using AC_CANONICAL_TARGET is the removal of an empty line and the re-adjustment of #line comments on autoconf tests because of that. The libstc++ message and two lines have been copied to other libraries. But the copy paste has mutated, sometimes separating the two lines, sometimes adding a redundant AC_SUBST(target_alias), and in one case adding AC_CANONICAL_HOST. Update all libs AC_CANONICAL_SYSTEM to AC_CANONICAL_TARGET. Remove redundant AC_CANONICAL_HOST (AC_REQUIRE'd by AC_CANONICAL_TARGET). And remove redundant AC_SUBST(target_alias), which is done by AC_CANONICAL_TARGET. To avoid confusion remove all the mentions to the libstdc++ message, but leave other comments untouched if they exist. [0] http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html PR bootstrap/103459 gotools/ChangeLog: * configure.ac: Update comment to reference AC_CANONICAL_TARGET instead of AC_CANONICAL_SYSTEM. libatomic/ChangeLog: * configure: Regenerate. * configure.ac: Use AC_CANONICAL_TARGET instead of AC_CANONICAL_SYSTEM. libga68/ChangeLog: * configure: Regenerate. * configure.ac: Use AC_CANONICAL_TARGET instead of AC_CANONICAL_SYSTEM. Remove unneeded AC_CANONICAL_HOST. Remove unneeded AC_SUBST(target_alias). libgcobol/ChangeLog: * configure: Regenerate. * configure.ac: Use AC_CANONICAL_TARGET instead of AC_CANONICAL_SYSTEM. Remove unneeded AC_SUBST(target_alias). libgfortran/ChangeLog: * configure: Regenerate. * configure.ac: Use AC_CANONICAL_TARGET instead of AC_CANONICAL_SYSTEM. Remove unneeded AC_SUBST(target_alias). libgm2/ChangeLog: * configure: Regenerate. * configure.ac: Use AC_CANONICAL_TARGET instead of AC_CANONICAL_SYSTEM. Remove unneeded AC_SUBST(target_alias). libgomp/ChangeLog: * configure: Regenerate. * configure.ac: Use AC_CANONICAL_TARGET instead of AC_CANONICAL_SYSTEM. libgrust/ChangeLog: * configure: Regenerate. * configure.ac: Use AC_CANONICAL_TARGET instead of AC_CANONICAL_SYSTEM. Remove unneeded AC_SUBST(target_alias). libitm/ChangeLog: * configure: Regenerate. * configure.ac: Use AC_CANONICAL_TARGET instead of AC_CANONICAL_SYSTEM. libphobos/ChangeLog: * configure: Regenerate. * configure.ac: Remove unneeded AC_SUBST(target_alias). libquadmath/ChangeLog: * configure: Regenerate. * configure.ac: Use AC_CANONICAL_TARGET instead of AC_CANONICAL_SYSTEM. Remove unneeded AC_SUBST(target_alias). libsanitizer/ChangeLog: * configure: Regenerate. * configure.ac: Use AC_CANONICAL_TARGET instead of AC_CANONICAL_SYSTEM. Remove unneeded AC_SUBST(target_alias). libssp/ChangeLog: * configure: Regenerate. * configure.ac: Use AC_CANONICAL_TARGET instead of AC_CANONICAL_SYSTEM. Remove unneeded AC_SUBST(target_alias). libstdc++-v3/ChangeLog: * configure: Regenerate. * configure.ac: Use AC_CANONICAL_TARGET instead of AC_CANONICAL_SYSTEM. libvtv/ChangeLog: * configure: Regenerate. * configure.ac: Use AC_CANONICAL_TARGET instead of AC_CANONICAL_SYSTEM. Remove unneeded AC_SUBST(target_alias). Signed-off-by: Pietro Monteiro <[email protected]>
