This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/12189] abi_check fails to build


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12189



------- Additional Comments From aj at gcc dot gnu dot org  2003-09-07 06:26 -------
You're right, they're both backward :-(

The 3.3 one should be:
============================================================
Index: libstdc++-v3/acinclude.m4
--- libstdc++-v3/acinclude.m4	1 Jul 2003 21:14:44 -0000	1.223.2.9
+++ libstdc++-v3/acinclude.m4	6 Sep 2003 16:55:22 -0000
@@ -2132,7 +2132,7 @@ AC_DEFUN(GLIBCPP_CONFIGURE_TESTSUITE, [
   AC_SUBST(baseline_dir)
 
   # Determine if checking the ABI is desirable.
-  if test x$enable_symvers = xno; then
+  if test  x"$GLIBCPP_IS_CROSS_COMPILING" = xtrue && test x$enable_symvers =
xno; then
     enable_abi_check=no
   else
     case "$host" in

For 3.4 the line should be:
  if test $GLIBCXX_IS_NATIVE = false && (test $enable_symvers = no || test
$is_hosted = no); then

I'll test more on monday.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]