Hi,
I hope it's the right mailing list for my question...
I'm trying to build opendjdk7 (bsd-port) in my PowerPC Mac. I downloaded a
right bootstrap VM and got platform-independent code (corba, jaxp, jaxws etc)
successfully compiled.
Unfortunately I cannot compile hotspot VM because of the following error:
g++-4.0 -D_ALLBSD_SOURCE -D_GNU_SOURCE -DCC_INTERP -DZERO -DPPC
-DZERO_LIBARCH=\"ppc\" -DPRODUCT -I.
-I/Users/maxim/bsd-port/hotspot/src/share/vm/prims
-I/Users/maxim/bsd-port/hotspot/src/share/vm
-I/Users/maxim/bsd-port/hotspot/src/cpu/zero/vm
-I/Users/maxim/bsd-port/hotspot/src/os_cpu/bsd_zero/vm
-I/Users/maxim/bsd-port/hotspot/src/os/bsd/vm
-I/Users/maxim/bsd-port/hotspot/src/os/posix/vm -I../generated
-DHOTSPOT_RELEASE_VERSION="\"21.0-b17\"" -DHOTSPOT_BUILD_TARGET="\"product\""
-DHOTSPOT_BUILD_USER="\"maxim\"" -DHOTSPOT_LIB_ARCH=\"ppc\"
-DJRE_RELEASE_VERSION="\"1.7.0-internal-maxim_2011_07_09_02_30-b00\""
-DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DTARGET_OS_FAMILY_bsd -DTARGET_ARCH_zero
-DTARGET_ARCH_MODEL_zero -DTARGET_OS_ARCH_bsd_zero
-DTARGET_OS_ARCH_MODEL_bsd_zero -DTARGET_COMPILER_gcc -I/usr/include/ffi -fPIC
-fno-rtti -fno-exceptions -pthread -fcheck-new -m32 -pipe -O3
-fno-strict-aliasing -I/usr/local/include -Werror -Wpointer-arith -Wconversion
-Wsign-compare -D_XOPE!
N_SOURCE -D_DARWIN_C_SOURCE -c -MMD -MP -MF
../generated/dependencies/precompiled.hpp.gch.d -x c++-header
/Users/maxim/bsd-port/hotspot/src/share/vm/precompiled.hpp -o
precompiled.hpp.gch
In file included from
/Users/maxim/bsd-port/hotspot/src/share/vm/ci/ciMethod.hpp:33,
from
/Users/maxim/bsd-port/hotspot/src/share/vm/code/debugInfoRec.hpp:30,
from
/Users/maxim/bsd-port/hotspot/src/share/vm/ci/ciEnv.hpp:31,
from
/Users/maxim/bsd-port/hotspot/src/share/vm/ci/ciUtilities.hpp:28,
from
/Users/maxim/bsd-port/hotspot/src/share/vm/ci/ciNullObject.hpp:30,
from
/Users/maxim/bsd-port/hotspot/src/share/vm/ci/ciConstant.hpp:29,
from
/Users/maxim/bsd-port/hotspot/src/share/vm/precompiled.hpp:36:
/Users/maxim/bsd-port/hotspot/src/share/vm/prims/methodHandles.hpp:727:35:
error: methodHandles_zero.hpp: No such file or directory
make[6]: *** [precompiled.hpp.gch] Error 1
make[5]: *** [the_vm] Error 2
make[4]: *** [productzero] Error 2
make[3]: *** [generic_buildzero] Error 2
make[2]: *** [productzero] Error 2
make[1]: *** [hotspot-build] Error 2
make: *** [build_product_image] Error 2
---------------------------------------------------------------------
The missing source is there but the complation script seems to be unable to
locate it.
Moreover, I found out that the platform-specific code (PPC in my case) is NOT
there! The directory
/Users/maxim/bsd-port/hotspot/src/cpu
doesn't contain any PPC-related code but only those for sparc, x86 and zero. I
have no idea what the latter means though...
My Question: Is PPC arch deprecated meanwhile? If not, what's the reason to
strip it out from the distribution?
Is there any possibility to obtain the PPC code for that VM?
Any help would be highly appreciated. I'm about to contribute to a open-source
project related on Java 1.6 but I cannot run that software because Apple
discontinued PPC macs, their support and Java development for PPC. So openjdk
is my only way to proceed...
Info on system I use:
Processor: PowerPC G5 2.1 GHz
System: Mac OS X 10.5.8
Best regards
Maxim Poliakovski
--
NEU: FreePhone - kostenlos mobil telefonieren!
Jetzt informieren: http://www.gmx.net/de/go/freephone