We still have some configure.ac and configure scripts that are hardcoded for darwin9 only so that builds of the x86_64-apple-darwin10 target fail to configure for the java language. I believe the following change should be sufficient...
Index: configure =================================================================== --- configure (revision 142271) +++ 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: configure.ac =================================================================== --- configure.ac (revision 142271) +++ configure.ac (working copy) @@ -446,7 +446,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: libjava/configure.host =================================================================== --- libjava/configure.host (revision 142271) +++ 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 142271) +++ libjava/configure.ac (working copy) @@ -1632,7 +1632,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: libjava/configure =================================================================== --- libjava/configure (revision 142271) +++ libjava/configure (working copy) @@ -27517,7 +27517,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*) Testing now on x86_64-apple-darwin10. -- Summary: gcc trunk doesn't build libjava on x86_64-apple-darwin10 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: howarth at nitro dot med dot uc dot edu GCC build triplet: x86_64-apple-darwin10 GCC host triplet: x86_64-apple-darwin10 GCC target triplet: x86_64-apple-darwin10 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38314