public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] PR bootstrap/52623 Disable libquadmath on AIX
@ 2012-03-23 14:34 David Edelsohn
  2012-03-26 11:40 ` Joseph S. Myers
  0 siblings, 1 reply; 3+ messages in thread
From: David Edelsohn @ 2012-03-23 14:34 UTC (permalink / raw)
  To: GCC Patches

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.

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-*-*)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] PR bootstrap/52623 Disable libquadmath on AIX
  2012-03-23 14:34 [PATCH] PR bootstrap/52623 Disable libquadmath on AIX David Edelsohn
@ 2012-03-26 11:40 ` Joseph S. Myers
  2012-04-03 17:15   ` David Edelsohn
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph S. Myers @ 2012-03-26 11:40 UTC (permalink / raw)
  To: David Edelsohn; +Cc: GCC Patches

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.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] PR bootstrap/52623 Disable libquadmath on AIX
  2012-03-26 11:40 ` Joseph S. Myers
@ 2012-04-03 17:15   ` David Edelsohn
  0 siblings, 0 replies; 3+ messages in thread
From: David Edelsohn @ 2012-04-03 17:15 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: GCC Patches

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

Index: configure.ac
===================================================================
--- configure.ac        (revision 186108)
+++ configure.ac        (working copy)
@@ -509,6 +509,15 @@
     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-*-*)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-03 17:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-23 14:34 [PATCH] PR bootstrap/52623 Disable libquadmath on AIX David Edelsohn
2012-03-26 11:40 ` Joseph S. Myers
2012-04-03 17:15   ` David Edelsohn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).