[PATCH 0/3] fix build errors with gcc6

Guido Trentalancia guido at trentalancia.net
Thu May 12 11:37:41 UTC 2016


The following set of three patches aims to fix the errors that
currently occur during compilation of OpenJDK8U with gcc6 (version

Other two patches needed to build OpenJDK8U have been posted to the
core-libs-dev with a similar message subject (for a total of five

I suppose most changes are trivial, except for 3/3, and therefore most
of 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

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 and Erik Joelsson for pointing me to
the right mailing list and to David Holmes for the initial review of
patch 3/3.



More information about the hotspot-dev mailing list