Help me to build openjdk on my machine
paul.hohensee at oracle.com
Sun Jul 10 11:44:16 PDT 2011
Hi Max and John,
Afaik, there's no support for PPC in openjdk. Oracle has a private
for which the build framework exists in the open, which is why you can
get a little
way in the build process.
zero is a psuedo-platform which should build and run on any machine
includes a platform-independent interpreter. It should build and run on
On 7/10/11 11:41 AM, John Yeary wrote:
> Hello Max,
> I have not been able to get it to compile either and at this point no
> one has responded to my post about PPC. I am not sure if it will
> compile for our platform any more.
> Does anyone have a successful recent build?
> On Sun, Jul 10, 2011 at 6:11 AM, Max Pole <max_pole at gmx.de
> <mailto:max_pole at gmx.de>> wrote:
> 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
> 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/os/posix/vm -I../generated
> -DHOTSPOT_BUILD_USER="\"maxim\"" -DHOTSPOT_LIB_ARCH=\"ppc\"
> -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
> In file included from
> error: methodHandles_zero.hpp: No such file or directory
> make: *** [precompiled.hpp.gch] Error 1
> make: *** [the_vm] Error 2
> make: *** [productzero] Error 2
> make: *** [generic_buildzero] Error 2
> make: *** [productzero] Error 2
> make: *** [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
> 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
> John Yeary
> "Far better it is to dare mighty things, to win glorious triumphs,
> even though checkered by failure, than to take rank with those poor
> spirits who neither enjoy much nor suffer much, because they live in
> the gray twilight that knows not victory nor defeat."
> -- Theodore Roosevelt
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the build-dev