hotspot build problems

Per Bothner per.bothner at oracle.com
Sun Dec 12 00:11:36 UTC 2010


On 12/11/2010 03:50 PM, Per Bothner wrote:
> We also need to do:
> chcon -t execmem_exec_t linux_i486_compiler2/product/gamma
>
> This command enables test_gamma to sucessfully run with
> SELinux enabled.

The attached patch seems to work - this now works:

cd linux_i486_compiler2/product && ./test_gamma

However, a little further on I get:

cd linux_i486_compiler1/product && ./test_gamma
java full version "1.6.0_23-b05"
./gamma: error while loading shared libraries: libjvm.so: cannot enable 
executable stack as shared object requires: Permission denied

Perhaps there is some other place that needs the patch?

I'm doing a make clean and full re-build in case the problem
is a stale binary.
-- 
	--Per Bothner
per.bothner at oracle.com   per at bothner.com   http://per.bothner.com/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: chcon-launcher1.patch
URL: <http://mail.openjdk.java.net/pipermail/build-dev/attachments/20101211/e0b0b37c/chcon-launcher1.patch>


More information about the build-dev mailing list