[PATCH] Fix for hotspot build failures on Linux
ks at sysenter.org
Sat Jul 28 21:10:10 PDT 2012
I'm running into build failures while trying to build hotspot (only -
not the JDK). It looks like the first of these is due to a change
introduced in 2558:81d815b05abb while the second has been around
converting 'false' to pointer type 'methodOop'
hotspot/src/share/vm/opto/loopnode.cpp:896:50: error: converting
'false' to pointer type 'Node*' [-Werror=conversion-null]
The cause for both of these is a conversion from bool to a pointer
type conversion warning being treated as an error; that gcc (Debian
4.7.1-2) 4.7.1 doesn't seem to like.
Attached patch fixes this.
PS: FWIW, here's the command I'm using to build:
make LANG=C ARCH_DATA_MODEL=64 DISABLE_HOTSPOT_OS_VERSION_CHECK=ok
More information about the hotspot-dev