Always run check-abi

Remove the configure options for running of check-abi and always
run it as part of the testsuite
This commit is contained in:
Andreas Jaeger 2012-04-29 06:31:26 +02:00
parent ded5180a3b
commit ecf0ebfb04
5 changed files with 11 additions and 28 deletions

View File

@ -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

View File

@ -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

View File

@ -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@

13
configure vendored
View File

@ -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

View File

@ -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@:>@]),