diff mbox

PR bootstrap/52623 Disable libquadmath on AIX

Message ID CAGWvny=p79Rze5Esk6ZQW3=zwHP5EMwtXwZykrmpkBC8_8nrPQ@mail.gmail.com
State New
Headers show

Commit Message

David Edelsohn April 3, 2012, 5:14 p.m. UTC
On Mon, Mar 26, 2012 at 7:40 AM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> 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.

Is the following okay?

Thanks, David
diff mbox


Index: configure.ac
--- configure.ac        (revision 186108)
+++ configure.ac        (working copy)
@@ -509,6 +509,15 @@ 

+# 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"
+    ;;
 # Disable libssp for some systems.
 case "${target}" in