PR target/38607
authorDavid Edelsohn <dje.gcc@gmail.com>
Fri, 14 Sep 2012 23:55:22 +0000 (23:55 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Fri, 14 Sep 2012 23:55:22 +0000 (23:55 +0000)
        Merge upstream change.
        * libtool.m4 (_LT_COMPILER_PIC): Add -fPIC to GCC and GXX for AIX.

        * configure.ac: Add target-libquadmath to noconfigdirs for AIX.
        Add libgomp*.o to compare_exclusions for AIX.
        * configure: Regenerate.

ChangeLog
configure
configure.ac
libtool.m4

index 80298831758cd722c934f9bb7c54eb508fbe210b..c996b3e5b78fef745c604cbc3ca31f3564a14808 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
+
+       PR target/38607
+       Merge upstream change.
+       * libtool.m4 (_LT_COMPILER_PIC): Add -fPIC to GCC and GXX for AIX.
+
+       * configure.ac: Add target-libquadmath to noconfigdirs for AIX.
+       Add libgomp*.o to compare_exclusions for AIX.
+       * configure: Regenerate.
+
 2012-09-12  Mike Wrighton  <wrighton@codesourcery.com>
 
        * gdb/remote.c (remote_insert_hw_breakpoint): Throw exception if
@@ -6,7 +16,7 @@
 
        * gdb/breakpoint.c (insert_bp_location, insert_breakpoint_locations):
        Catch this exception and print the error message contained within. Do not
-       print the default hardware error breakpoint message in this case.       
+       print the default hardware error breakpoint message in this case.
 
 2012-08-26  H.J. Lu  <hongjiu.lu@intel.com>
 
index 60e269e00e58a9844a7c62d294076d276bfaca86..c637c91294642fd150374d648f73ef63ab5ec0e4 100755 (executable)
--- a/configure
+++ b/configure
@@ -3136,6 +3136,15 @@ $as_echo "yes" >&6; }
     fi
 fi
 
+# Disable libquadmath for some systems.
+case "${target}" in
+  # libquadmath is unused on AIX and libquadmath build process use of
+  # LD_LIBRARY_PATH can break AIX bootstrap.
+  powerpc-*-aix* | rs6000-*-aix*)
+    noconfigdirs="$noconfigdirs target-libquadmath"
+    ;;
+esac
+
 # Disable libssp for some systems.
 case "${target}" in
   avr-*-*)
@@ -14227,6 +14236,7 @@ compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
 case "$target" in
   hppa*64*-*-hpux*) ;;
   hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/*" ;;
+  powerpc*-ibm-aix*) compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/* | *libgomp*\$(objext)" ;;
 esac
 
 
index 27692b45bf82c042a9d4d04dc4c3bb1804f2639e..aaf3df371b3192c93251183c7b51fba2088cdf34 100644 (file)
@@ -527,6 +527,15 @@ if test -d ${srcdir}/libitm; then
     fi
 fi
 
+# Disable libquadmath for some systems.
+case "${target}" in
+  # libquadmath is unused on AIX and libquadmath build process use of
+  # LD_LIBRARY_PATH can break AIX bootstrap.
+  powerpc-*-aix* | rs6000-*-aix*)
+    noconfigdirs="$noconfigdirs target-libquadmath"
+    ;;
+esac
+
 # Disable libssp for some systems.
 case "${target}" in
   avr-*-*)
@@ -3146,6 +3155,7 @@ compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/*"
 case "$target" in
   hppa*64*-*-hpux*) ;;
   hppa*-*-hpux*) compare_exclusions="gcc/cc*-checksum\$(objext) | */libgcc/lib2funcs* | gcc/ada/*tools/*" ;;
+  powerpc*-ibm-aix*) compare_exclusions="gcc/cc*-checksum\$(objext) | gcc/ada/*tools/* | *libgomp*\$(objext)" ;;
 esac
 AC_SUBST(compare_exclusions)
 
index a7f99ac7dbc00efaf042713bb13714099b360991..8a14e2b22f9edffde17ebb6d20182fa0f3bd361d 100644 (file)
@@ -3580,6 +3580,7 @@ m4_if([$1], [CXX], [
        # AIX 5 now supports IA64 processor
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
       fi
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
       ;;
 
     amigaos*)
@@ -3891,6 +3892,7 @@ m4_if([$1], [CXX], [
        # AIX 5 now supports IA64 processor
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
       fi
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
       ;;
 
     amigaos*)
This page took 0.045869 seconds and 4 git commands to generate.