Hello. The following set of two patches aims to fix the errors that currently occur during compilation of OpenJDK8U with gcc6 (version 6.1.0).
Other three patches needed to build OpenJDK8U have been posted to the hotspot-dev with a similar message subject (for a total of five patches). I suppose most changes are trivial and therefore the patches can be applied easily. After applying the patchset, I can now build OpenJDK8 Update and it seems to be working fine (although it has not been extensively tested yet). The following build options have been used: --enable-unlimited-crypto --with-extra-cflags="-O3 -march=nehalem -mtune=nehalem -Wno-error -fpermissive -fno-delete-null-pointer-checks -fno-lifetime-dse" --with-extra-cxxflags="-O3 -march=nehalem -mtune=nehalem -Wno-error -fpermissive -fno-delete-null-pointer-checks -fno-lifetime-dse" --with-boot-jdk=/usr/lib64/jdk1.7.0_04 Thanks very much to Seán Coffey and Erik Joelsson for pointing me to the right mailing list. Regards, Guido