[PATCH RFC 0/5] fix build errors with gcc6

Guido Trentalancia guido at trentalancia.net
Thu May 12 01:25:16 UTC 2016


The following set of five patches aims to fix the errors that currently
occur during compilation of openjdk8u with gcc6.

I suppose some of the patches are trivial and can be applied easily
while others (in particular 4/5) would probably require more revision.

After applying the patchset, I can now build OpenJDK8 Update and it
seems to be working fine.

The following build options have been used:

--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"

Thanks very much to Seán Coffey for pointing me to the right mailing
list and to David Holmes for the initial review of patch 4/5.



More information about the build-dev mailing list