On Wed, Jun 27, 2012 at 07:25:39PM +0200, Alexander Graf wrote:
Hi Michal,
Currently compiling openjdk on ARM fails for us with what looks like a generic zero engine issue. Do you have any idea what could be causing this? Did someone change internal interfaces and not update the zero vm?
g++ -DLINUX -D_GNU_SOURCE -DCC_INTERP -DZERO -DTARGET_ARCH_NYI_6939861=1 -DARM -DZERO_LIBARCH=\"arm\" -DPRODUCT -I. -I/home/abuild/rpmbuild/BUILD/java-1_7_0-openjdk/openjdk/hotspot/src/share/vm/prims -I/home/abuild/rpmbuild/BUILD/java-1_7_0-openjdk/openjdk/hotspot/src/share/vm -I/home/abuild/rpmbuild/BUILD/java-1_7_0-openjdk/openjdk/hotspot/src/share/vm/precompiled -I/home/abuild/rpmbuild/BUILD/java-1_7_0-openjdk/openjdk/hotspot/src/cpu/zero/vm -I/home/abuild/rpmbuild/BUILD/java-1_7_0-openjdk/openjdk/hotspot/src/os_cpu/linux_zero/vm -I/home/abuild/rpmbuild/BUILD/java-1_7_0-openjdk/openjdk/hotspot/src/os/linux/vm -I/home/abuild/rpmbuild/BUILD/java-1_7_0-openjdk/openjdk/hotspot/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"23.0-b21\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"abuild\"" -DHOTSPOT_LIB_ARCH=\"arm\" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_zero -DTARGET_ARCH_MODEL_zero -DTARGET_OS_ARCH_linux_zero -DTARGET_OS_ARCH_MODEL_linux_zero -DTARGET_COMPILER_gcc -fpic -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -D_LITTLE_ENDIAN -pipe -g -O3 -fno-strict-aliasing -gstabs -DVM_LITTLE_ENDIAN -DINCLUDE_TRACE -Werror -Wpointer-arith -Wsign-compare -c -MMD -MP -MF ../generated/dependencies/cppInterpreter_zero.o.d -o cppInterpreter_zero.o /home/abuild/rpmbuild/BUILD/java-1_7_0-openjdk/openjdk/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp /home/abuild/rpmbuild/BUILD/java-1_7_0-openjdk/openjdk/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp: In static member function 'static void CppInterpreter::process_method_handle(oop, Thread*)': /home/abuild/rpmbuild/BUILD/java-1_7_0-openjdk/openjdk/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp:817:7: error: 'get_ek_bound_mh_info' is not a member of 'MethodHandles' /home/abuild/rpmbuild/BUILD/java-1_7_0-openjdk/openjdk/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp:965:7: error: 'get_ek_adapter_opt_swap_rot_info' is not a member of 'MethodHandles'
The full log is available here once it's finished rebuilding again: https://build.opensuse.org/package/live_build_log?arch=armv7l&package=java-1_7_0-openjdk&project=openSUSE%3AFactory%3AARM&repository=standard
Hallo Alexander, it seems that it is caused by commit 15d394228cfa, which removed all occurences of get_ek_bound_mh_info and get_ek_adapter_opt_swap_rot_info http://icedtea.classpath.org/hg/icedtea7-forest/hotspot/rev/15d394228cfa I've made quick patch can fix the issue Regards Michal Vyskocil