Patchwork Disable libsanitizer on AIX

login
register
mail settings
Submitter David Edelsohn
Date Nov. 13, 2012, 2:18 p.m.
Message ID <CAGWvnymwQd2R0knA3ZeYTkc4JGUHq4xxfQeC+qnbp8mCzVEnUQ@mail.gmail.com>
Download mbox | patch
Permalink /patch/198697/
State New
Headers show

Comments

David Edelsohn - Nov. 13, 2012, 2:18 p.m.
Libsanitizer is not supported on AIX. Disable in configure.

        * configure.ac: Disable libsanitizer on AIX. Merge libquadmath
        sections.
        * configure: Regenerate.

Patch

Index: configure.ac
===================================================================
--- configure.ac	(revision 193476)
+++ configure.ac	(working copy)
@@ -540,6 +540,9 @@ 

 # Disable libquadmath for some systems.
 case "${target}" in
+  avr-*-*)
+    noconfigdirs="$noconfigdirs target-libquadmath"
+    ;;
   # libquadmath is unused on AIX and libquadmath build process use of
   # LD_LIBRARY_PATH can break AIX bootstrap.
   powerpc-*-aix* | rs6000-*-aix*)
@@ -552,6 +555,9 @@ 
   cris-*-* | crisv32-*-* | mmix-*-*)
     noconfigdirs="$noconfigdirs target-libsanitizer"
     ;;
+  powerpc-*-aix* | rs6000-*-aix*)
+    noconfigdirs="$noconfigdirs target-libsanitizer"
+    ;;
 esac

 # Disable libssp for some systems.
@@ -571,13 +577,6 @@ 
     ;;
 esac

-# Disable libquadmath for some systems.
-case "${target}" in
-  avr-*-*)
-    noconfigdirs="$noconfigdirs target-libquadmath"
-    ;;
-esac
-
 # Disable libstdc++-v3 for some systems.
 # Allow user to override this if they pass --enable-libstdc++-v3
 if test "${ENABLE_LIBSTDCXX}" = "default" ; then