Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/dist disable -Wstack-check since vax ...



details:   https://anonhg.NetBSD.org/src/rev/74ac6ef61891
branches:  trunk
changeset: 373071:74ac6ef61891
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 15 23:10:52 2023 +0000

description:
disable -Wstack-check since vax does not have it.

diffstat:

 external/gpl3/binutils/dist/bfd/configure      |  44 +++++++++++++-------------
 external/gpl3/binutils/dist/bfd/warning.m4     |   2 +-
 external/gpl3/binutils/dist/binutils/configure |  44 +++++++++++++-------------
 external/gpl3/binutils/dist/gas/configure      |  44 +++++++++++++-------------
 external/gpl3/binutils/dist/gold/configure     |  44 +++++++++++++-------------
 external/gpl3/binutils/dist/gprof/configure    |  44 +++++++++++++-------------
 external/gpl3/binutils/dist/ld/configure       |  44 +++++++++++++-------------
 external/gpl3/binutils/dist/opcodes/configure  |  44 +++++++++++++-------------
 8 files changed, 155 insertions(+), 155 deletions(-)

diffs (truncated from 439 to 300 lines):

diff -r 37d8a7e59ee4 -r 74ac6ef61891 external/gpl3/binutils/dist/bfd/configure
--- a/external/gpl3/binutils/dist/bfd/configure Sun Jan 15 22:26:49 2023 +0000
+++ b/external/gpl3/binutils/dist/bfd/configure Sun Jan 15 23:10:52 2023 +0000
@@ -12086,17 +12086,17 @@
 
 
 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-__GNUC__
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
-
-else
-  GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
-fi
-rm -f conftest*
+#cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+#/* end confdefs.h.  */
+#__GNUC__
+#_ACEOF
+#if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+#  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
+#
+#else
+#  GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
+#fi
+#rm -f conftest*
 
 
 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
@@ -12131,17 +12131,17 @@
 
 
 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-__GNUC__
-_ACEOF
-if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
-  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
-
-else
-  GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
-fi
-rm -f conftest*
+#cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+#/* end confdefs.h.  */
+#__GNUC__
+#_ACEOF
+#if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
+#  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
+#
+#else
+#  GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
+#fi
+#rm -f conftest*
 
 
 # Check whether --enable-werror was given.
diff -r 37d8a7e59ee4 -r 74ac6ef61891 external/gpl3/binutils/dist/bfd/warning.m4
--- a/external/gpl3/binutils/dist/bfd/warning.m4        Sun Jan 15 22:26:49 2023 +0000
+++ b/external/gpl3/binutils/dist/bfd/warning.m4        Sun Jan 15 23:10:52 2023 +0000
@@ -50,7 +50,7 @@
 AC_EGREP_CPP([(^[0-3]$|^__GNUC__$)],[__GNUC__],,GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow")
 
 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
-AC_EGREP_CPP([(^[0-4]$|^__GNUC__$)],[__GNUC__],,GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144")
+#AC_EGREP_CPP([(^[0-4]$|^__GNUC__$)],[__GNUC__],,GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144")
 
 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
 WARN_WRITE_STRINGS=""
diff -r 37d8a7e59ee4 -r 74ac6ef61891 external/gpl3/binutils/dist/binutils/configure
--- a/external/gpl3/binutils/dist/binutils/configure    Sun Jan 15 22:26:49 2023 +0000
+++ b/external/gpl3/binutils/dist/binutils/configure    Sun Jan 15 23:10:52 2023 +0000
@@ -12107,17 +12107,17 @@
 
 
 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-__GNUC__
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
-
-else
-  GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
-fi
-rm -f conftest*
+#cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+#/* end confdefs.h.  */
+#__GNUC__
+#_ACEOF
+#if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+#  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
+#
+#else
+#  GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
+#fi
+#rm -f conftest*
 
 
 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
@@ -12152,17 +12152,17 @@
 
 
 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-__GNUC__
-_ACEOF
-if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
-  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
-
-else
-  GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
-fi
-rm -f conftest*
+#cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+#/* end confdefs.h.  */
+#__GNUC__
+#_ACEOF
+#if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
+#  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
+#
+#else
+#  GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
+#fi
+#rm -f conftest*
 
 
 # Check whether --enable-werror was given.
diff -r 37d8a7e59ee4 -r 74ac6ef61891 external/gpl3/binutils/dist/gas/configure
--- a/external/gpl3/binutils/dist/gas/configure Sun Jan 15 22:26:49 2023 +0000
+++ b/external/gpl3/binutils/dist/gas/configure Sun Jan 15 23:10:52 2023 +0000
@@ -11580,17 +11580,17 @@
 
 
 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-__GNUC__
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
-
-else
-  GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
-fi
-rm -f conftest*
+#cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+#/* end confdefs.h.  */
+#__GNUC__
+#_ACEOF
+#if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+#  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
+#
+#else
+#  GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
+#fi
+#rm -f conftest*
 
 
 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
@@ -11625,17 +11625,17 @@
 
 
 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-__GNUC__
-_ACEOF
-if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
-  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
-
-else
-  GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
-fi
-rm -f conftest*
+#cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+#/* end confdefs.h.  */
+#__GNUC__
+#_ACEOF
+#if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
+#  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
+#
+#else
+#  GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
+#fi
+#rm -f conftest*
 
 
 # Check whether --enable-werror was given.
diff -r 37d8a7e59ee4 -r 74ac6ef61891 external/gpl3/binutils/dist/gold/configure
--- a/external/gpl3/binutils/dist/gold/configure        Sun Jan 15 22:26:49 2023 +0000
+++ b/external/gpl3/binutils/dist/gold/configure        Sun Jan 15 23:10:52 2023 +0000
@@ -7909,17 +7909,17 @@
 
 
 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-__GNUC__
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
-
-else
-  GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
-fi
-rm -f conftest*
+#cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+#/* end confdefs.h.  */
+#__GNUC__
+#_ACEOF
+#if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+#  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
+#
+#else
+#  GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
+#fi
+#rm -f conftest*
 
 
 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
@@ -7954,17 +7954,17 @@
 
 
 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-__GNUC__
-_ACEOF
-if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
-  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
-
-else
-  GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
-fi
-rm -f conftest*
+#cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+#/* end confdefs.h.  */
+#__GNUC__
+#_ACEOF
+#if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
+#  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
+#
+#else
+#  GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
+#fi
+#rm -f conftest*
 
 
 # Check whether --enable-werror was given.
diff -r 37d8a7e59ee4 -r 74ac6ef61891 external/gpl3/binutils/dist/gprof/configure
--- a/external/gpl3/binutils/dist/gprof/configure       Sun Jan 15 22:26:49 2023 +0000
+++ b/external/gpl3/binutils/dist/gprof/configure       Sun Jan 15 23:10:52 2023 +0000
@@ -11882,17 +11882,17 @@
 
 
 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-__GNUC__
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
-
-else
-  GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
-fi
-rm -f conftest*
+#cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+#/* end confdefs.h.  */
+#__GNUC__
+#_ACEOF
+#if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
+#  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
+#
+#else
+#  GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
+#fi
+#rm -f conftest*
 
 
 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
@@ -11927,17 +11927,17 @@
 
 
 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-__GNUC__
-_ACEOF
-if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
-  $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
-
-else



Home | Main Index | Thread Index | Old Index