When compiling gcc 3.3.6 on sparc Solaris 2.8 with the configure option --with-cpu=ultrasparc, the configure script for libjava fails with: checking for sigaction... yes checking for ftruncate... (cached) yes checking for execinfo.h... no checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for backtrace... no checking for dladdr in -ldl... yes checking for /proc/self/exe... configure: error: Cannot check for file existence when cross compiling make: *** [configure-target-libjava] Error 1
-- Summary: libjava configure fails because it mistakenly thinks it is cross compiling Product: gcc Version: 3.3.6 Status: UNCONFIRMED Severity: normal Priority: P2 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: aaronw at net dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: sparc-sun-solaris2.8 GCC host triplet: sparc-sun-solaris2.8 GCC target triplet: sparc-sun-solaris2.8 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21872