about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2012-04-29 06:31:26 +0200
committerAndreas Jaeger <aj@suse.de>2012-04-29 06:36:30 +0200
commitecf0ebfb04f6e31e3ba709521b6955d5f86ff724 (patch)
tree1910a2ee3a6c966466f58d6de5e1b6d00a7f2038
parentded5180a3b177c559ad144ac73bfa313284e2a8c (diff)
downloadglibc-ecf0ebfb04f6e31e3ba709521b6955d5f86ff724.tar.gz
glibc-ecf0ebfb04f6e31e3ba709521b6955d5f86ff724.tar.xz
glibc-ecf0ebfb04f6e31e3ba709521b6955d5f86ff724.zip
Always run check-abi
Remove the configure options for running of check-abi and always
run it as part of the testsuite
-rw-r--r--ChangeLog10
-rw-r--r--Makerules7
-rw-r--r--config.make.in1
-rwxr-xr-xconfigure13
-rw-r--r--configure.in8
5 files changed, 11 insertions, 28 deletions
diff --git a/ChangeLog b/ChangeLog
index 67a29bddb8..ed5b53363f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2012-04-29  Andreas Jaeger  <aj@suse.de>
+
+	* Makerules (tests): Remove enable-check-abi protection.
+	(check-abi-warn): Remove.
+	(check-abi-%): Remove check-abi-warn usage.
+
+	* configure.in: Remove check-abi configure option.
+	* configure: Regenerated.
+	* config.make.in (enable-check-abi): Remove.
+
 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
 
 	* math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
diff --git a/Makerules b/Makerules
index caa758441a..de87ad6c2b 100644
--- a/Makerules
+++ b/Makerules
@@ -1163,11 +1163,8 @@ check-abi-%: $(common-objpfx)config.make %.abilist $(objpfx)%.symlist
 check-abi-%: $(common-objpfx)config.make %.abilist $(common-objpfx)%.symlist
 	$(check-abi)
 define check-abi
-	diff -p -U 0 $(filter %.abilist,$^) $(filter %.symlist,$^) $(check-abi-warn)
+	diff -p -U 0 $(filter %.abilist,$^) $(filter %.symlist,$^)
 endef
-ifeq ($(enable-check-abi),warn)
-check-abi-warn = || echo '*** WARNING: $*.so failed ABI check'
-endif
 
 update-abi-%: $(objpfx)%.symlist %.abilist
 	$(update-abi)
@@ -1200,12 +1197,10 @@ common-generated += libc.symlist
 endif
 
 ifeq ($(build-shared),yes)
-ifneq ($(enable-check-abi),no)
 ifdef subdir
 tests: check-abi
 endif
 endif
-endif
 
 endif
 
diff --git a/config.make.in b/config.make.in
index 9aff468fe5..1f4185b3aa 100644
--- a/config.make.in
+++ b/config.make.in
@@ -53,7 +53,6 @@ with-fp = @with_fp@
 old-glibc-headers = @old_glibc_headers@
 unwind-find-fde = @libc_cv_gcc_unwind_find_fde@
 have-cpp-asm-debuginfo = @libc_cv_cpp_asm_debuginfo@
-enable-check-abi = @enable_check_abi@
 have-forced-unwind = @libc_cv_forced_unwind@
 have-fpie = @libc_cv_fpie@
 have-mfma4 = @libc_cv_cc_fma4@
diff --git a/configure b/configure
index d4958f3ed7..1c5f4adbea 100755
--- a/configure
+++ b/configure
@@ -692,7 +692,6 @@ all_warnings
 force_install
 bindnow
 oldest_abi
-enable_check_abi
 use_default_link
 with_fp
 ac_ct_CXX
@@ -766,7 +765,6 @@ with_selinux
 with_headers
 with_default_link
 enable_sanity_checks
-enable_check_abi
 enable_shared
 enable_profile
 enable_versioning
@@ -1413,8 +1411,6 @@ Optional Features:
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   --disable-sanity-checks really do not use threads (should not be used except
                           in special situations) [default=yes]
-  --enable-check-abi      do "make check-abi" in "make check" (no/warn/yes)
-                          [default=no]
   --enable-shared         build shared library [default=yes if GNU ld]
   --enable-profile        build profiled library [default=no]
   --disable-versioning    do not include versioning information in the library
@@ -3553,15 +3549,6 @@ else
 fi
 
 
-
-# Check whether --enable-check-abi was given.
-if test "${enable_check_abi+set}" = set; then :
-  enableval=$enable_check_abi; enable_check_abi=$enableval
-else
-  enable_check_abi=no
-fi
-
-
 # Check whether --enable-shared was given.
 if test "${enable_shared+set}" = set; then :
   enableval=$enable_shared; shared=$enableval
diff --git a/configure.in b/configure.in
index 0f5193e717..19a2c1a0f0 100644
--- a/configure.in
+++ b/configure.in
@@ -104,14 +104,6 @@ AC_ARG_ENABLE([sanity-checks],
 	      [enable_sanity=$enableval],
 	      [enable_sanity=yes])
 
-AC_SUBST(enable_check_abi)
-AC_ARG_ENABLE([check-abi],
-	      AC_HELP_STRING([--enable-check-abi],
-			     [do "make check-abi" in "make check" (no/warn/yes)
-			      @<:@default=no@:>@]),
-	      [enable_check_abi=$enableval],
-	      [enable_check_abi=no])
-
 AC_ARG_ENABLE([shared],
 	      AC_HELP_STRING([--enable-shared],
 			     [build shared library @<:@default=yes if GNU ld@:>@]),