JDK 9 open build failed on linux

Yumin Qi yumin.qi at oracle.com
Thu Jun 19 06:39:27 UTC 2014


I just cloned a fresh repo and done a build and failed:

/scratch/yqi/ws/nine/jdk9/hotspot/src/share/vm/services/classLoadingService.cpp: 
In static member function ‘static void 
ClassLoadingService::notify_class_loaded(InstanceKlass*, bool)’:
/scratch/yqi/ws/nine/jdk9/hotspot/src/share/vm/services/classLoadingService.cpp:144: 
error: cannot reload integer constant operand in ‘asm’
/scratch/yqi/ws/nine/jdk9/hotspot/src/share/vm/services/classLoadingService.cpp:144: 
error: cannot reload integer constant operand in ‘asm’

Searched and found this post:

http://mail.openjdk.java.net/pipermail/hotspot-dev/2014-January/012225.html

Do we have  a bug id for it?
It is related to gcc version, the version on my local machine is:

gcc (GCC) 4.4.6 20120305 (Red Hat 4.4.6-4)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I guess it did not fail with JPRT since JPRT uses different version of gcc.

Thanks
Yumin



More information about the hotspot-runtime-dev mailing list