This is the mail archive of the gcc-patches@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]

Re: [v3] check-abi improvements


With Ben's patch try_cpu is set to i486 on x86_64.  The following
patch is based on a patch Benjamin send me privately for testing.
Ben, the problem with your patch was that the test succeeded since
i486-linux-gnu exists.  We have to make the change at the right place.

I've tested the following successfully on x86-64.  Ok to commit?

Andreas

2003-06-13  Benjamin Kosnik  <bkoz@redhat.com>
            Andreas Jaeger  <aj@suse.de>

            * configure.host: Set x86_64 abi_baseline pair correct.

============================================================
Index: libstdc++-v3/configure.host
--- libstdc++-v3/configure.host	14 Jun 2003 05:35:55 -0000	1.6
+++ libstdc++-v3/configure.host	14 Jun 2003 07:41:16 -0000
@@ -103,9 +103,16 @@ esac
 cpu_include_dir="cpu/${try_cpu}"  
 ATOMICITYH=$cpu_include_dir
 
-
 # Check whether ABI baseline file exists, if not try to guess name.
 abi_baseline_pair=${try_cpu}-${host_os}
+
+# We have set above try_cpu to i486 for x86_64.  Correct this here.
+case "${host}" in
+  x86_64-*-linux*)
+    abi_baseline_pair="x86_64-linux-gnu"
+    ;;
+esac
+
 try_baseline_file=config/abi/${abi_baseline_pair}/baseline_symbols.txt
 if test ! -e ${glibcpp_srcdir}/${try_baseline_file} ; then
   case "${host}" in


-- 
 Andreas Jaeger, SuSE Linux AG, aj@suse.de, http://www.suse.de/~aj
  GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


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