Hello,
The Linaro OpenJDK 1702 Engineering Builds for JDK 7, JDK 8u and JDK 9
are available at http://openjdk.linaro.org/relhome.htm
Regards,
Stuart Monteith
New to openjdk, apologies if this is obvious. I am trying to build the above as downloaded in source form from http://openjdk.linaro.org/ for Linux aarch64 as part of a Yocto distribution i.e. "bitbake -v openjdk-8 -c compile" and am getting the compile error shown below, I'm guessing that this is something to do with a Makefile somewhere (not sure) as -Wl appears to be passed to the compiler without the usual , and option. Any ideas how to fix?
| echo "Compiling bands.cpp (for libunpack.so)"
| Compiling bands.cpp (for libunpack.so)
| aarch64-linux-gnu-g++ -Wl -W -Wall -Wno-unused -Wno-parentheses -pipe -D_GNU_SOURCE -D_REENTRANT -D_LARGEFILE64_SOURCE -fno-omit-frame-pointer -D_LP64=1 -D_LITTLE_ENDIAN -DLINUX -DNDEBUG -DARCH='"aarch64"' -Daarch64 -DRELEASE='"1.8.0-internal"' -I/sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/openjdk-8-jre/0.1-r16.0/git/build/linux-aarch64-normal-server-release/jdk/include -I/sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/openjdk-8-jre/0.1-r16.0/git/build/linux-aarch64-normal-server-release/jdk/include/linux -I/sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/openjdk-8-jre/0.1-r16.0/git/jdk/src/share/javavm/export -I/sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/openjdk-8-jre/0.1-r16.0/git/jdk/src/solaris/javavm/export -I/sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/openjdk-8-jre/0.1-r16.0/git/jdk/src/share/native/common -I/sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/openjdk-8-jre/0.1-r16.0/git/jdk/src/solaris/native/common -fPIC -I/sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/openjdk-8-jre/0.1-r16.0/git/build/linux-aarch64-normal-server-release/jdk/gensrc_headers -DNO_ZLIB -DUNPACK_JNI -DFULL -DPRODUCT -g -O2 -DTHIS_FILE='"bands.cpp"' -c -MMD -MF /sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/openjdk-8-jre/0.1-r16.0/git/build/linux-aarch64-normal-server-release/jdk/objs/libunpack/bands.d -o /sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/openjdk-8-jre/0.1-r16.0/git/build/linux-aarch64-normal-server-release/jdk/objs/libunpack/bands.o /sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/openjdk-8-jre/0.1-r16.0/git/jdk/src/share/native/com/sun/java/util/jar/pack/bands.cpp
| aarch64-linux-gnu-g++: error: unrecognized command line option '-Wl'
| make[2]: *** [/sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/openjdk-8-jre/0.1-r16.0/git/build/linux-aarch64-normal-server-release/jdk/objs/libunpack/bands.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| lib/CoreLibraries.gmk:289: recipe for target '/sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/openjdk-8-jre/0.1-r16.0/git/build/linux-aarch64-normal-server-release/jdk/objs/libunpack/bands.o' failed
| make[2]: Leaving directory '/sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/openjdk-8-jre/0.1-r16.0/git/jdk/make'
| make[1]: *** [libs-only] Error 2
| BuildJdk.gmk:70: recipe for target 'libs-only' failed
| make[1]: Leaving directory '/sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/openjdk-8-jre/0.1-r16.0/git/jdk/make'
| /sdd/peter/Yocto/CSPRT/build/tmp/work/aarch64-poky-linux/openjdk-8-jre/0.1-r16.0/git//make/Main.gmk:115: recipe for target 'jdk-only' failed
| make: *** [jdk-only] Error 2
Peter Smith
Principal Engineer, Chief Engineering, Grid Solutions
T +44 1785 786406
________________________________
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.