This syncs us with binutils/gdb's toplevel configure as of 987db70acefd0b223a8df2240d4e5ca544cc0a91.
There's not much notable here, just gprofng (which is in binutils) being disabled for musl and a new target which got added on that side too. The only part which may look interesting is the baseargs->bbaseargs change which goes back to Arsen's gettext work and a fixup which landed for that on the binutils side in 9c0aa4c53104b1c4333d55aeaf11b41053307929. --- OK? I've just synced the binutils/gdb side as well. The only difference left is a divergence from some autoconf modernisation patches from Matthieu Longo who is submitting them on the GCC side, pending approval for those. configure | 21 ++++++++++++++++++--- configure.ac | 22 ++++++++++++++++++---- 2 files changed, 36 insertions(+), 7 deletions(-) diff --git a/configure b/configure index 10c1589d473c..c6796040fd8a 100755 --- a/configure +++ b/configure @@ -1551,7 +1551,7 @@ Optional Features: --enable-gold[=ARG] build gold [ARG={default,yes,no}] --enable-ld[=ARG] build ld [ARG={default,yes,no}] - --enable-gprofng[=ARG] build gprofng [ARG={yes,no}] + --disable-gprofng do not build gprofng --enable-compressed-debug-sections={all,gas,gold,ld,none} Enable compressed debug sections for gas, gold or ld by default @@ -3151,7 +3151,9 @@ fi if test "$enable_gprofng" = "yes"; then case "${target}" in - x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux*) + *-musl*) + ;; + x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux* | riscv64-*-linux*) configdirs="$configdirs gprofng" ;; esac @@ -3670,6 +3672,15 @@ case "${target}" in cris-*-* | crisv32-*-*) libgloss_dir=cris ;; + kvx-*-elf) + libgloss_dir=kvx-elf + ;; + kvx-*-mbr) + libgloss_dir=kvx-mbr + ;; + kvx-*-cos) + libgloss_dir=kvx-cos + ;; hppa*-*-*) libgloss_dir=pa ;; @@ -3971,6 +3982,9 @@ case "${target}" in i[3456789]86-*-rdos*) noconfigdirs="$noconfigdirs gdb" ;; + kvx-*-*) + noconfigdirs="$noconfigdirs gdb gdbserver sim" + ;; mmix-*-*) noconfigdirs="$noconfigdirs gdb" ;; @@ -11314,7 +11328,8 @@ hbaseargs="$hbaseargs --disable-option-checking" tbaseargs="$tbaseargs --disable-option-checking" if test "$enable_year2038" = no; then - baseargs="$baseargs --disable-year2038" + bbaseargs="$bbaseargs --disable-year2038" + hbaseargs="$hbaseargs --disable-year2038" tbaseargs="$tbaseargs --disable-year2038" fi diff --git a/configure.ac b/configure.ac index fb61550dba7b..a8d13b31ee2e 100644 --- a/configure.ac +++ b/configure.ac @@ -407,13 +407,14 @@ case "${ENABLE_LD}" in esac AC_ARG_ENABLE(gprofng, -[AS_HELP_STRING([[--enable-gprofng[=ARG]]], - [build gprofng @<:@ARG={yes,no}@:>@])], +[AS_HELP_STRING([[--disable-gprofng]], [do not build gprofng])], enable_gprofng=$enableval, enable_gprofng=yes) if test "$enable_gprofng" = "yes"; then case "${target}" in - x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux*) + *-musl*) + ;; + x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux* | riscv64-*-linux*) configdirs="$configdirs gprofng" ;; esac @@ -892,6 +893,15 @@ case "${target}" in cris-*-* | crisv32-*-*) libgloss_dir=cris ;; + kvx-*-elf) + libgloss_dir=kvx-elf + ;; + kvx-*-mbr) + libgloss_dir=kvx-mbr + ;; + kvx-*-cos) + libgloss_dir=kvx-cos + ;; hppa*-*-*) libgloss_dir=pa ;; @@ -1193,6 +1203,9 @@ case "${target}" in i[[3456789]]86-*-rdos*) noconfigdirs="$noconfigdirs gdb" ;; + kvx-*-*) + noconfigdirs="$noconfigdirs gdb gdbserver sim" + ;; mmix-*-*) noconfigdirs="$noconfigdirs gdb" ;; @@ -3543,7 +3556,8 @@ hbaseargs="$hbaseargs --disable-option-checking" tbaseargs="$tbaseargs --disable-option-checking" if test "$enable_year2038" = no; then - baseargs="$baseargs --disable-year2038" + bbaseargs="$bbaseargs --disable-year2038" + hbaseargs="$hbaseargs --disable-year2038" tbaseargs="$tbaseargs --disable-year2038" fi -- 2.47.0