public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-11371] Darwin, configure: Allow for an unrecognisable dsymutil [PR111610].
@ 2024-04-25 19:23 Iain D Sandoe
  0 siblings, 0 replies; only message in thread
From: Iain D Sandoe @ 2024-04-25 19:23 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1fd4db58480a518b05dd835157e59b2ed9fd2bc1

commit r11-11371-g1fd4db58480a518b05dd835157e59b2ed9fd2bc1
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Wed Sep 27 11:05:31 2023 +0100

    Darwin, configure: Allow for an unrecognisable dsymutil [PR111610].
    
    We had a catch-all configuration case for missing or unrecognised dsymutil
    but it was setting the dsymutil source to "UNKNOWN" which is not usable in
    this context (since it clashes with an existing enum).  We rename this to
    DET_UNKNOWN (for Darwin External Toolchain).
    
            PR target/111610
    
    gcc/ChangeLog:
    
            * configure: Regenerate.
            * configure.ac: Rename the missing dsymutil case to "DET_UNKNOWN".
    
    Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
    (cherry picked from commit 2ecab2f32b9e9a75bf563f80752d5b44dcd26b98)

Diff:
---
 gcc/configure    | 2 +-
 gcc/configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/configure b/gcc/configure
index bf0bd5f428d..d2ad1628edd 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -30804,7 +30804,7 @@ $as_echo_n "checking dsymutil version \"$dsymutil_temp\"... " >&6; }
       dsymutil_kind=LLVM
       dsymutil_vers=`echo $dsymutil_temp | sed 's/.*LLVM\ version\ \([0-9\.]*\).*/\1/'`
     else
-      dsymutil_kind=UNKNOWN
+      dsymutil_kind=DET_UNKNOWN
       dsymutil_vers="0.0"
     fi
     dsymutil_major=`expr "$dsymutil_vers" : '\([0-9]*\)'`
diff --git a/gcc/configure.ac b/gcc/configure.ac
index d52104fbd41..7ea5c6fe51b 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -6438,7 +6438,7 @@ if test x"$dsymutil_flag" = x"yes"; then
       dsymutil_kind=LLVM
       dsymutil_vers=`echo $dsymutil_temp | sed 's/.*LLVM\ version\ \([[0-9\.]]*\).*/\1/'`
     else
-      dsymutil_kind=UNKNOWN
+      dsymutil_kind=DET_UNKNOWN
       dsymutil_vers="0.0"
     fi
     dsymutil_major=`expr "$dsymutil_vers" : '\([[0-9]]*\)'`

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-25 19:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-25 19:23 [gcc r11-11371] Darwin, configure: Allow for an unrecognisable dsymutil [PR111610] Iain D Sandoe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).