Hi Ao! On 01/09/2018 11:23 PM, Martin Buchholz wrote: >> /home/loongson/aoqi/jdk10/jdk/src/hotspot/share/runtime/ >> safepoint.cpp:730:25: >> error: '<anonymous>' may be used uninitialized in this function >> [-Werror=maybe-uninitialized] >> if (stub_cb != NULL && >> ^
Ah, this might be because you're not building with --disable-warnings-as-errors which I always use. I always build with: sh ./configure --with-jvm-variants=zero --with-boot-jdk=/usr/lib/jvm/java-9-openjdk-amd64/ --disable-precompiled-headers --disable-warnings-as-errors && make JOBS=32 MAKE_VERBOSE=y QUIETLY= LOG=debug CONF=linux-x86_64-normal-zero-release which is the same configure line that the openjdk-7/8/9/10 packages in Debian use. Sounds like a good idea to fix this warning though. I assume that you eventually want to build OpenJDK for MIPS, correct (from your email address)? If yes, there are actually two additional patches necessary to get Zero to build on MIPS. In particular, jvmsigs cannot encode all signals found on MIPS. I should finally get around to work on this. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913