This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/21872] New: libjava configure fails because it mistakenly thinks it is cross compiling
- From: "aaronw at net dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2005 01:10:09 -0000
- Subject: [Bug bootstrap/21872] New: libjava configure fails because it mistakenly thinks it is cross compiling
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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