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 libjava build for darwin10


The proposed patch bootstraps fine now on x86_64-apple-darwin10
and has good testsuite results...

http://gcc.gnu.org/ml/gcc-testresults/2009-04/msg00894.html

Okay for gcc trunk and 4.4?
            Jack

On Wed, Apr 08, 2009 at 10:57:34PM -0400, Jack Howarth wrote:
>     Revision 144887 broke the build of java on darwin10. The
> attached patch restores the match for darwin[912]* to allow
> java to build on darwin10. I also discovered two other locations
> were darwin9 should be expanded to darwin9 or later. The first
> is for the can_unwind_signal setting in libjava/configure.host
> and the second in the setting of the SIGNAL_HANDLER header in
> libjava/configure.ac. Okay for gcc trunk (and especially 
> gcc 4.4 branch) as soon as the bootstrap completes?
>                                 Jack
> ps A reminder that the double brackets are essential
> in the configure.ac files since the regeneration process
> eats on pair of them. FYI.
> 
> 2009-04-08  Jack Howarth  <howarth@bromo.med.uc.edu>
> 
> 	* configure.ac: Restore match for darwin9 or later.
> 	* libjava/configure.host: Match darwin9 or later.
> 	* libjava/configure.ac: Same.
> 	* configure: Regenerated.
> 	* libjava/configure: Regenerated.
> 
> Index: configure.ac
> ===================================================================
> --- configure.ac	(revision 145794)
> +++ configure.ac	(working copy)
> @@ -450,7 +450,7 @@
>      noconfigdirs="$noconfigdirs ld gas gdb gprof"
>      noconfigdirs="$noconfigdirs sim target-rda"
>      ;;
> -  i[[3456789]]86-*-darwin* | x86_64-*-darwin9*)
> +  i[[3456789]]86-*-darwin* | x86_64-*-darwin[[912]]*)
>      noconfigdirs="$noconfigdirs ld gas gprof"
>      noconfigdirs="$noconfigdirs sim target-rda"
>      ;;
> Index: libjava/configure.host
> ===================================================================
> --- libjava/configure.host	(revision 145794)
> +++ libjava/configure.host	(working copy)
> @@ -295,11 +295,11 @@
>  	slow_pthread_self=
>  	can_unwind_signal=no
>  	;;
> -  i?86-*-darwin9*)
> +  i?86-*-darwin[912]*)
>  	can_unwind_signal=yes
>  	DIVIDESPEC=-f%{m32:no-}%{!m32:%{!m64:no-}}%{m64:}use-divide-subroutine
>          ;;
> -  x86_64-*-darwin9*)
> +  x86_64-*-darwin[912]*)
>  	enable_hash_synchronization_default=yes
>  	slow_pthread_self=
>  	can_unwind_signal=yes
> Index: libjava/configure.ac
> ===================================================================
> --- libjava/configure.ac	(revision 145794)
> +++ libjava/configure.ac	(working copy)
> @@ -1642,7 +1642,7 @@
>   m68*-*-linux*)
>      SIGNAL_HANDLER=include/dwarf2-signal.h
>      ;;
> - powerpc*-*-darwin* | i?86-*-darwin9* | x86_64-*-darwin9*)
> + powerpc*-*-darwin* | i?86-*-darwin[[912]]* | x86_64-*-darwin[[912]]*)
>      SIGNAL_HANDLER=include/darwin-signal.h
>      ;;
>   powerpc*-*-aix*)


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