public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/47836] New: Some Cross Compiler can't build target-libiberty or target-zlib
@ 2011-02-21 15:03 th.r.klein at web dot de
  2011-02-21 19:22 ` [Bug regression/47836] " pinskia at gcc dot gnu.org
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: th.r.klein at web dot de @ 2011-02-21 15:03 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47836

           Summary: Some Cross Compiler can't build target-libiberty or
                    target-zlib
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: th.r.klein@web.de


With upcoming 4.6 building of target-libiberty and target-zlib is enabled (at
most platforms) per default.
It should be possible to disable this behavior e.g. with switches like:
--without-target-libiberty
--without-target-zlib

Previous versions did not try to build these libraries for cross compilers.


Index: configure.ac
===================================================================
--- configure.ac        (revision 170359)
+++ configure.ac        (working copy)
@@ -262,6 +262,16 @@ skipdirs=
 # Noconfigdirs are removed loudly.
 noconfigdirs=""

+# Make sure we don't let target-libiberty be added if we didn't want it.
+if test x$with_target_libiberty = xno ; then
+  noconfigdirs="$noconfigdirs target-libiberty"
+fi
+
+# Make sure we don't let target-zlib be added if we didn't want it.
+if test x$with_target_zlib = xno ; then
+  noconfigdirs="$noconfigdirs target-zlib"
+fi
+
 use_gnu_ld=
 # Make sure we don't let GNU ld be added if we didn't want it.
 if test x$with_gnu_ld = xno ; then
Index: configure
===================================================================
--- configure   (revision 170359)
+++ configure   (working copy)
@@ -2801,6 +2801,16 @@ skipdirs=
 # Noconfigdirs are removed loudly.
 noconfigdirs=""

+# Make sure we don't let target-libiberty be added if we didn't want it.
+if test x$with_target_libiberty = xno ; then
+  noconfigdirs="$noconfigdirs target-libiberty"
+fi
+
+# Make sure we don't let target-zlib be added if we didn't want it.
+if test x$with_target_zlib = xno ; then
+  noconfigdirs="$noconfigdirs target-zlib"
+fi
+
 use_gnu_ld=
 # Make sure we don't let GNU ld be added if we didn't want it.
 if test x$with_gnu_ld = xno ; then


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

end of thread, other threads:[~2012-02-02  8:18 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-21 15:03 [Bug regression/47836] New: Some Cross Compiler can't build target-libiberty or target-zlib th.r.klein at web dot de
2011-02-21 19:22 ` [Bug regression/47836] " pinskia at gcc dot gnu.org
2011-02-22 19:53 ` th.r.klein at web dot de
2011-02-22 22:57 ` pinskia at gcc dot gnu.org
2011-02-23 18:10 ` th.r.klein at web dot de
2011-02-23 20:45 ` pinskia at gcc dot gnu.org
2011-02-24 20:15 ` th.r.klein at web dot de
2011-02-26 15:36 ` rwild at gcc dot gnu.org
2011-02-27  9:34 ` th.r.klein at web dot de
2011-02-27 22:48 ` pinskia at gcc dot gnu.org
2011-02-28 20:25 ` th.r.klein at web dot de
2011-03-02  5:57 ` rwild at gcc dot gnu.org
2011-03-02 16:50 ` joseph at codesourcery dot com
2011-06-22 20:18 ` hp at gcc dot gnu.org
2011-06-22 21:33 ` hp at gcc dot gnu.org
2011-06-24 11:11 ` th.r.klein at web dot de
2011-06-27 20:58 ` hp at gcc dot gnu.org
2011-06-27 21:04 ` hp at gcc dot gnu.org
2011-10-07  4:26 ` fzvqedi at v dot mintemail.com
2012-02-02  8:18 ` pinskia at gcc dot gnu.org

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