hotspot build problems
aph at redhat.com
Fri Dec 10 08:24:58 PST 2010
On 12/10/2010 03:55 PM, Dr Andrew John Hughes wrote:
> On 07:24 Fri 10 Dec , Per Bothner wrote:
>> On 12/10/2010 12:36 AM, Vikram Aroskar wrote:
>>> not a hotspot or build issue. NFS problem in releasing file locks.
>>> please move all your workspace and build output directory to local
>>> machine harddisk and try again.
>> I'm quite sure that's not it. I have never installed or setup NFS
>> on this laptop - and I installed Fedora 14 from scratch on it recently.
>> On 12/10/2010 07:10 AM, Dr Andrew John Hughes wrote:
>>> Easiest thing to try is to set ALT_OUTPUTDIR to a directory on a local
>>> disk. I've not had problems with having the source on NFS but I always
>>> build to a local disk.
>> The log file shows:
>> which is local.
> Ah ok, I just went on Vikram's comment from the last mail without
> actually studying any logs.
>> I'll try disabling SELinux and see if that makes a difference.
> I've built OpenJDK on Fedora in the past (and we regularly do to
> create the RPMs). As I recall, SELinux was an issue previously
> (Andrew Haley may know more on this), but AFAIK I have it turned on
> and haven't experienced problems. In fact, there are SELinux
> workarounds in hotspot/make/linux/makefiles/vm.make.
A minor point: I think that's not so much a workaround as correct
all installed Java executables should be marked java_exec_t, like this:
happy:~ $ ls --lcontext /usr/lib/jvm/java-1.6.0-openjdk-22.214.171.124.x86_64/jre/bin/java
-rwxr-xr-x. 1 system_u:object_r:java_exec_t:s0 root root 41000 2010-10-13 13:33 /usr/lib/jvm/java-1.6.0-openjdk-126.96.36.199.x86_64/jre/bin/java*
This allows RWX mapping of memory pages.
More information about the build-dev