This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/38804] gcc 4.4.0 20090111 - The configure for $BUILD/amd64/libjava checks if 64 bit code can exec on 32 bit platform
- From: "rob1weld at aol dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jan 2009 16:11:50 -0000
- Subject: [Bug bootstrap/38804] gcc 4.4.0 20090111 - The configure for $BUILD/amd64/libjava checks if 64 bit code can exec on 32 bit platform
- References: <bug-38804-13830@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rob1weld at aol dot com 2009-01-11 16:11 -------
Changed that hack to:
# { (exit 1); exit 1; }; }; }
# Added - OpenSolaris - not cross compiling
}; }
fi
fi
fi
cross_compiling=no
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
---------
We do have executables in this directory (unlike for libgcc) so
the quick hack quickly fails ...
File: i386-pc-solaris2.11/amd64/libjava/config.log
...
configure:25790: checking size of void *
configure:26113: /usr/share/src/gcc_build/./gcc/xgcc
-B/usr/share/src/gcc_build/./gcc/ -B/usr/local/i386-pc-solaris2.11/bin/
-B/usr/local/i386-pc-solaris2.11/lib/ -isystem
/usr/local/i386-pc-solaris2.11/include -isystem
/usr/local/i386-pc-solaris2.11/sys-include -m64 -o conftest -g -O2
conftest.c >&5
configure:26116: $? = 0
configure:26118: ./conftest
./conftest: ./conftest: cannot execute [Exec format error]
configure:26121: $? = 126
configure: program exited with status 126
configure: failed program was:
...
configure:26130: error: in
`/usr/share/src/gcc_build/i386-pc-solaris2.11/amd64/libjava':
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38804