[PATCH 0/4] fix build errors with gcc6

Andrew Hughes gnu.andrew at redhat.com
Wed May 11 17:37:56 UTC 2016



----- Original Message -----
> On Wed, 11/05/2016 at 12.53 -0400, Andrew Hughes wrote:
> > 
> > ----- Original Message -----
> > > Guido,
> > > 
> > > Please see JDK 8 Updates ground rules [1] for details on how to
> > > contribute fixes to the JDK 8 Updates Project. Have the issues
> > > you're
> > > raising been fixed in JDK 9 already ? If not, they need to be fixed
> > > there first. You'll need to raise code reviews on the appropriate
> > > technical mailing list. build-dev seems most suitable for your
> > > issues.
> > > 
> > > If you do wish to backport JDK 9 fixes, you'll need to use the push
> > > approval request template [2]. JDK 9 fixes that don't apply cleanly
> > > to
> > > JDK 8u need to be reviewed again[3].
> > > 
> > > [1] http://openjdk.java.net/projects/jdk8u/groundrules.html
> > > [2] http://openjdk.java.net/projects/jdk8u/approval-template.html
> > > [3] http://openjdk.java.net/projects/jdk8u/codereview.html
> > > 
> > > Regards,
> > > Sean.
> > > 
> > > On 11/05/16 16:23, Guido Trentalancia wrote:
> > > > Hello.
> > > > 
> > > > The following set of four patches aims to fix the errors that
> > > > occur
> > > > during compilation of openjdk8u with gcc6.
> > > > 
> > > > However, for some reason, the resulting java executables are not
> > > > usable, due to the following error:
> > > > 
> > > > Error occurred during initialization of VM
> > > > java.lang.NullPointerException
> > > > 	at java.util.Hashtable.put(Hashtable.java:459)
> > > > 	at java.lang.System.initProperties(Native Method)
> > > > 	at java.lang.System.initializeSystemClass(System.java:1166)
> > > > 
> > > > Any help would be greatly appreciated, especially because this is
> > > > the
> > > > first time I see this code...
> > > > 
> > > > I suppose some of the patches are trivial and can be applied
> > > > easily
> > > > while others (in particular the last one, i.e. 4/4) would require
> > > > more
> > > > revision and might be actually involved in the runtime crash.
> > > > 
> > > > Regards,
> > > > 
> > > > Guido
> > > 
> > > 
> 
> Hello Andrew, thanks for getting back on this...
> 
> > I've already fixed building with GCC 6 on OpenJDK 9 about a month
> > back
> > and plan to backport it to 8u. Please wait on this fix being applied
> > before ploughing ahead with all these patches.
> 
> I've tried building the latest OpenJDK 9 with GCC 6 and unfortunately
> it fails... Where are your fixes to OpenJDK 9 ? Have you already
> committed them ?
> 

Yes, some time ago:

https://bugs.openjdk.java.net/browse/JDK-8151841

but maybe it has regressed. If you can mail me a build log privately,
I can take a look.

> > Thanks,
> 
> 
> Regards,
> 
> Guido
> 

-- 
Andrew :)

Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222




More information about the jdk8u-dev mailing list