Compiling OpenJDK for UDOO Quad/ARMv7 HF fails on Hotspot
Onno Kouwenberg
ok2 at live.nl
Wed Mar 4 14:37:13 UTC 2015
I'm trying to compile OpenJDK 8 for my UDOO ARMv7 with hard float. I've managed to download the Mercurial repository and apt-get the necessary components. However when I start the compilation the build will fail when building the hotspot jit:## Starting hotspotINFO: ENABLE_FULL_DEBUG_SYMBOLS=1INFO: ALT_OBJCOPY=/usr/bin/objcopyINFO: /usr/bin/objcopy cmd found so will create .debuginfo files.INFO: STRIP_POLICY=min_stripINFO: ZIP_DEBUGINFO_FILES=1INFO: ENABLE_FULL_DEBUG_SYMBOLS=1INFO: ALT_OBJCOPY=/usr/bin/objcopyINFO: /usr/bin/objcopy cmd found so will create .debuginfo files.INFO: STRIP_POLICY=min_stripINFO: ZIP_DEBUGINFO_FILES=1make[6]: *** No rule to make target `/home/ubuntu/openjdk/hotspot/src/cpu/arm/vm/arm.ad', needed by `../generated/adfiles/linux_arm.ad'. Stop.make[5]: *** [ad_stuff] Error 2make[4]: *** [product] Error 2make[3]: *** [generic_build2] Error 2make[2]: *** [product] Error 2make[1]: *** [/home/ubuntu/openjdk/build/linux-arm-normal-server-release/hotspot/_hotspot.timestamp] Error 2make: *** [hotspot-only] Error 2There is indeed no source at openjdk/hotspot/src/cpu/arm:ubuntu at udoobuntu: ~/openjdk $ ls hotspot/src/cpu/sparc x86 zeroI've done some searching and found a similar problem for compilation to a Raspberry Pi [https://groups.google.com/forum/#!msg/adopt-openjdk/6DNnnJQXKzk/VCPijnzH50YJ] When I browse the mercurial source tree at http://hg.openjdk.java.net/jdk8/jdk8/hotspot/file/87ee5ee27509/src/ I don't encounter an arm folder, so it seems like I got all source in order.My guess is that I need to provide some more information to the configuration shell, but at this point I wouldn't know which. What do I have to alter to make it compile for ARMv7? If I missed the documentation telling me what I should have done, could you also point me to that?Onno.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/porters-dev/attachments/20150304/db53adc7/attachment-0001.html>
More information about the porters-dev
mailing list