Re: JDK14 cross-compile to arm64 fails to locate c++ header new

2020-08-26 Thread Erik Joelsson
I'm not familiar with this tool for creating sysroot, but perhaps you need to add the libstdc++ dev package to get access to C++ headers? /Erik On 2020-08-25 19:46, Choe, Jiwon wrote: Hi Adrian, Thanks for the quick reply. Yes, I do have build-essential installed on the host system. I have cr

Re: JDK14 cross-compile to arm64 fails to locate c++ header new

2020-08-25 Thread Choe, Jiwon
Hi Adrian, Thanks for the quick reply. Yes, I do have build-essential installed on the host system. I have cross-compiled jdk14 from a 32-bit x86 system to target aarch32-linux-gnueabihf before, with the same version gcc and g++. Could this still be the issue though? Thanks again, Jiwon On Tue,

Re: JDK14 cross-compile to arm64 fails to locate c++ header new

2020-08-25 Thread John Paul Adrian Glaubitz
Hi Jiwon! On 8/25/20 10:06 PM, Choe, Jiwon wrote: > === Output from failing command(s) repeated here === > * For target > hotspot_variant-server_libjvm_gtest_objs_precompiled_precompiled.hpp.gch: > In file included from > /home/jiwon/jdk-related/jdk14/jdk14/src/hotspot/share/classfile/classLoaderD

JDK14 cross-compile to arm64 fails to locate c++ header new

2020-08-25 Thread Choe, Jiwon
Hello all, I'm trying to cross-compile JDK 14 to target aarch64-linux-gnu, from a 64-bit x86 Linux machine. I followed the steps described in the documentation ( https://hg.openjdk.java.net/jdk/jdk14/raw-file/tip/doc/building.html#creating-and-using-sysroots-with-qemu-deboostrap), but when I try t