hotspot build problems

Per Bothner per.bothner at
Fri Dec 10 08:22:41 UTC 2010

As promised: I need help building building Hotspot ...

(1) The first build failure is because of SELinux:

make[5]: Leaving directory 
cd linux_i486_compiler2/product && ./test_gamma
java full version "1.6.0-rc-b104"
./gamma: error while loading shared libraries: cannot enable 
executable stack as shared object requires: Permission denied

The fix is:
$ execstack -c 

I don't know if it makes sense for the build to try this automatically.

(2) Next I get:

cd linux_i486_compiler2/product && ./test_gamma
java full version "1.6.0-rc-b104"
There was an error trying to initialize the HPI library.
Could not create the Java virtual machine.
make[4]: *** [product] Error 1
make[4]: Leaving directory 

I Googled for the error message - it might some problem with linker
flags or LD_LIBRARY_PATH not set correctly.  I'll dig into it,
but if anyone has any hints where to look it would be appreciated!
	--Per Bothner
per.bothner at   per at

More information about the build-dev mailing list