This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: fix misc darwin9 hard-codings


Andreas,
    Sorry to bother you, but we seem to have a problem with
the check-in's...

r142369 | andreast | 2008-12-02 13:04:30 -0500 (Tue, 02 Dec 2008) | 6 lines

2008-12-02  Jack Howarth  <howarth@bromo.med.uc.edu>

        * configure.ac: Expand to darwin10 and later.
        * configure: Regenerate.
        * testsuite/lib/libjava.exp: Expand to darwin10 and later.

------------------------------------------------------------------------
r142367 | andreast | 2008-12-02 13:01:57 -0500 (Tue, 02 Dec 2008) | 5 lines

2008-12-02  Jack Howarth  <howarth@bromo.med.uc.edu>

        * configure.ac: Expand to darwin10 and later.
        * configure: Regenerate.

I didn't actually regenerate the configure file on darwin9 or darwin10
because they come with autoconf 2.61. The problem is that regeneration
using configure.ac and libjava/configure.ac is removing the brackets 
in the generated configure scripts so that the desired change...

Index: libjava/configure
===================================================================
--- libjava/configure	(revision 142277)
+++ libjava/configure	(working copy)
@@ -20608,7 +20608,7 @@
     # on Darwin -single_module speeds up loading of the dynamic libraries.
     extra_ldflags_libjava=-Wl,-single_module
     ;;
-*-*-darwin[9]*)
+*-*-darwin[912]*)
     extra_gij_ldflags=-Wl,-allow_stack_execute
     ;;
 arm*linux*eabi)
Index: configure
===================================================================
--- configure	(revision 142277)
+++ configure	(working copy)
@@ -2210,7 +2210,7 @@
   *-*-chorusos)
     noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
     ;;
-  powerpc-*-darwin* | x86_64-*-darwin9*)
+  powerpc-*-darwin* | x86_64-*-darwin[912]*)
     noconfigdirs="$noconfigdirs ld gas gdb gprof"
     noconfigdirs="$noconfigdirs sim target-rda"
     ;;
Index: gcc/testsuite/gcc.dg/darwin-comm.c

becomes 'x86_64-*-darwin912*' in both cases. Do we need to
add double brackets in configure.ac to avoid the removal of the brackets in
the generated configure scripts or do we need to break these out
into an explicit...

-  powerpc-*-darwin* | x86_64-*-darwin9*)
+  powerpc-*-darwin* | x86_64-*-darwin9* | x86_64-*-darwin1* | | x86_64-*-darwin2* )

Thanks in advance for any help in fixing this.
                                  Jack


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]