[PATCH] icedtea7-2.2.1 fails to build with zerovm enabled
Michal Vyskocil
mvyskocil at suse.cz
Thu Jun 28 05:28:59 PDT 2012
Hi,
build of 2.2.1 fails with Zerovm enabled with a following error
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'
It seems to be caused by 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
Attached a trivial patch removing them from cppInterpreter_zero.cpp as well. I
am open to push it somewhere else, but the rules of openjdk/icedtea projects
are quite complex to me, so I will appreciate your help there.
Regards
Michal Vyskocil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openjdk7-zero-get_ek-removal.patch
Type: text/x-patch
Size: 949 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120628/be508ea6/openjdk7-zero-get_ek-removal.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120628/be508ea6/attachment.bin
More information about the distro-pkg-dev
mailing list