Hostpot fails to compile (RHEL 6.5) (original) (raw)
Mario Torre neugens at redhat.com
Mon Jan 20 10:21:30 PST 2014
- Previous message: RFR(XS) : 8028482 : [TESTBUG] tests that use JMX should be in need_compact3 test group
- Next message: Request for review: 8020530 Non heap memory size calculated incorrectly
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi all,
While trying to compile OpenJDK8 (latest hg), I found a couple of errors in hotspot:
/home/neugens/work_space/redhat/jdk8_orig/hotspot/src/share/vm/services/classLoadingService.cpp: In static member function ‘static void ClassLoadingService::notify_class_loaded(InstanceKlass*, bool)’: /home/neugens/work_space/redhat/jdk8_orig/hotspot/src/share/vm/services/classLoadingService.cpp:165: error: cannot reload integer constant operand in ‘asm’ /home/neugens/work_space/redhat/jdk8_orig/hotspot/src/share/vm/services/classLoadingService.cpp:165: error: cannot reload integer constant operand in ‘asm’ gmake[6]: *** [classLoadingService.o] Error 1
I believe this depends on some hardening of gcc rules, but it seems quite recent.
My gcc version is:
[neugens at galactica jdk8]$ gcc --version gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
I have a quick patch for this but I don't know if a better fix is under development. In any case, here's the link:
http://cr.openjdk.java.net/~neugens/hostpot_fix_2014-01-20/webrev.00/
Cheers, Mario
- Previous message: RFR(XS) : 8028482 : [TESTBUG] tests that use JMX should be in need_compact3 test group
- Next message: Request for review: 8020530 Non heap memory size calculated incorrectly
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]