diff options
author | pme <pme@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-11 04:04:49 +0000 |
---|---|---|
committer | pme <pme@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-11 04:04:49 +0000 |
commit | 4cce0a933585d241881a28030e79de3b104ddf4f (patch) | |
tree | a526278509386a25469c85665d9825bad22b99a9 /libstdc++-v3/aclocal.m4 | |
parent | 381fc041cc36ab4d6157686b318f9a120c37fd02 (diff) | |
download | gcc-4cce0a933585d241881a28030e79de3b104ddf4f.tar.gz |
2003-07-11 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
warning messages if the environment cannot support symbol versioning.
(port_specific_symbol_file): It's plural, add an 's' on the end.
* configure.host: Likewise.
* src/Makefile.am: Likewise.
* config/linker-map.gnu: Remove one semicolon, heh.
* scripts/extract_symvers: Don't assume useful 'export' syntax.
Set LANG as well as LC_ALL for possibly-broken sort(1)s.
* aclocal.m4, configure, src/Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69212 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/aclocal.m4')
-rw-r--r-- | libstdc++-v3/aclocal.m4 | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/libstdc++-v3/aclocal.m4 b/libstdc++-v3/aclocal.m4 index c8572f24351..b0cdfd9eed0 100644 --- a/libstdc++-v3/aclocal.m4 +++ b/libstdc++-v3/aclocal.m4 @@ -2271,12 +2271,12 @@ if test $enable_symvers != no; then AC_MSG_RESULT($glibcxx_shared_libgcc) fi -# For GNU ld, we need at least this version. It's 2.14 in the same format -# as the tested-for version. See GLIBCXX_CHECK_LINKER_FEATURES for more. +# For GNU ld, we need at least this version. The format is described in +# GLIBCXX_CHECK_LINKER_FEATURES above. glibcxx_min_gnu_ld_version=21400 -# Check to see if unspecified "yes" value can win, given results -# above. +# Check to see if unspecified "yes" value can win, given results above. +# Change "yes" into either "no" or a style name. if test $enable_symvers = yes ; then if test $with_gnu_ld = yes && test $glibcxx_shared_libgcc = yes ; @@ -2285,10 +2285,19 @@ if test $enable_symvers = yes ; then enable_symvers=gnu else # The right tools, the right setup, but too old. Fallbacks? + AC_MSG_WARN(=== Linker version $glibcxx_gnu_ld_version is too old for) + AC_MSG_WARN(=== full symbol versioning support in this release of GCC.) + AC_MSG_WARN(=== You would need to upgrade your binutils to version) + AC_MSG_WARN(=== $glibcxx_min_gnu_ld_version or later and rebuild GCC.) + AC_MSG_WARN([=== Symbol versioning will be disabled.]) enable_symvers=no fi else # just fail for now + AC_MSG_WARN([=== You have requested some kind of symbol versioning, but]) + AC_MSG_WARN([=== either you are not using a supported linker, or you are]) + AC_MSG_WARN([=== not building a shared libgcc_s (which is required).]) + AC_MSG_WARN([=== Symbol versioning will be disabled.]) enable_symvers=no fi fi @@ -2305,7 +2314,7 @@ case $enable_symvers in esac AC_SUBST(SYMVER_MAP) -AC_SUBST(port_specific_symbol_file) +AC_SUBST(port_specific_symbol_files) AM_CONDITIONAL(GLIBCXX_BUILD_VERSIONED_SHLIB, test $enable_symvers != no) AC_MSG_CHECKING([versioning on shared library symbols]) AC_MSG_RESULT($enable_symvers) |