diff mbox

PR bootstrap/52623 Disable libquadmath on AIX

Message ID CAGWvny=n0W-bnw4A0_iGR==-vNqa9FtKQMAXvxOxQdZOrnXjuA@mail.gmail.com
State New
Headers show

Commit Message

David Edelsohn March 23, 2012, 2:33 p.m. UTC
The build process of libquadmath sometimes encounters problems on AIX
due to multilib and LD_LIBRARY_PATH interfering with GCC's own library
dependencies.  Libquadmath is not used on AIX, so this patch adds it
to noconfigdirs.

Thanks, David

        * configure.ac: Add libquadmath to noconfigdirs for AIX.
        * configure: Rebuild.

Comments

Joseph Myers March 26, 2012, 11:40 a.m. UTC | #1
On Fri, 23 Mar 2012, David Edelsohn wrote:

> The build process of libquadmath sometimes encounters problems on AIX
> due to multilib and LD_LIBRARY_PATH interfering with GCC's own library
> dependencies.  Libquadmath is not used on AIX, so this patch adds it
> to noconfigdirs.

Please include this explanation in a comment on the powerpc-*-aix* | 
rs6000-*-aix* case.  Existing directory-disabling cases may be 
uncommented, but new ones ought to have comments explaining the reason for 
disabling the library.
diff mbox

Patch

Index: configure.ac
===================================================================
--- configure.ac        (revision 185711)
+++ configure.ac        (working copy)
@@ -509,6 +509,13 @@ 
     fi
 fi

+# Disable libquadmath for some systems.
+case "${target}" in
+  powerpc-*-aix* | rs6000-*-aix*)
+    noconfigdirs="$noconfigdirs target-libquadmath"
+    ;;
+esac
+
 # Disable libssp for some systems.
 case "${target}" in
   avr-*-*)