Unfortunately this hasn't been tested for awhile, but it appears that the x86_64-apple-darwin target no longer can build java. I am seeing...
checking build system type... x86_64-apple-darwin10 checking host system type... x86_64-apple-darwin10 checking target system type... x86_64-apple-darwin10 checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for x86_64-apple-darwin10-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for x86_64-apple-darwin10-g++... no checking for x86_64-apple-darwin10-c++... no checking for x86_64-apple-darwin10-gpp... no checking for x86_64-apple-darwin10-aCC... no checking for x86_64-apple-darwin10-CC... no checking for x86_64-apple-darwin10-cxx... no checking for x86_64-apple-darwin10-cc++... no checking for x86_64-apple-darwin10-cl... no checking for x86_64-apple-darwin10-FCC... no checking for x86_64-apple-darwin10-KCC... no checking for x86_64-apple-darwin10-RCC... no checking for x86_64-apple-darwin10-xlC_r... no checking for x86_64-apple-darwin10-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for x86_64-apple-darwin10-gnatbind... no checking for gnatbind... no checking for x86_64-apple-darwin10-gnatmake... no checking for gnatmake... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 checking for correct version of gmp.h... yes checking for correct version of mpfr.h... yes checking for version 0.10 of PPL... yes checking for correct version of CLooG... yes The following languages will be built: c,c++,fortran,java,objc *** This configuration is not supported in the following subdirectories: target-libmudflap target-libffi target-zlib target-libjava target-libada gnattools target-boehm-gc (Any other directories should still work fine.) from... ../gcc-4.4-20090407/configure --prefix=/sw --prefix=/sw/lib/gcc4.4 --mandir=/sw/share/man --infodir=/sw/share/info --enable-languages=c,c++,fortran,objc,java \ --with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-system-zlib --x-includes=/usr/X11R6/include \ --x-libraries=/usr/X11R6/lib --disable-libjava-multilib --build=x86_64-apple-darwin10 --host=x86_64-apple-darwin10 --target=x86_64-apple-darwin10 The changes to make this work were checked in at... r142370 | andreast | 2008-12-02 13:05:24 -0500 (Tue, 02 Dec 2008) | 5 lines 2008-12-02 Andreas Tobler <a.tob...@schweiz.org> Jack Howarth <howa...@bromo.med.uc.edu> * config/i386/t-darwin64: Add m32 multilib support. ------------------------------------------------------------------------ r142369 | andreast | 2008-12-02 13:04:30 -0500 (Tue, 02 Dec 2008) | 6 lines 2008-12-02 Jack Howarth <howa...@bromo.med.uc.edu> * configure.ac: Expand to darwin10 and later. * configure: Regenerate. * testsuite/lib/libjava.exp: Expand to darwin10 and later. ------------------------------------------------------------------------ r142368 | andreast | 2008-12-02 13:03:26 -0500 (Tue, 02 Dec 2008) | 5 lines 2008-12-02 Jack Howarth <howa...@bromo.med.uc.edu> * testsuite/gcc.dg/darwin-comm.c: 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 <howa...@bromo.med.uc.edu> * configure.ac: Expand to darwin10 and later. * configure: Regenerate. ------------------------------------------------------------------------