Re: Fwd: Re: hotspot build problems

2011-01-03 Thread Per Bothner
There were some recent changes to make/linux/makefiles/launcher.make, so my patch no longer applies. Here is an updated patch. I've verified that the patch is still needed (on Fedora 14 with SELinux enabled), and that it is "complete", in the sense that top-level make clean && make completes suc

Re: hotspot build problems

2010-12-14 Thread Per Bothner
So - is this a good fix? On 12/11/2010 04:11 PM, Per Bothner wrote: 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 w

Re: hotspot build problems

2010-12-11 Thread Per Bothner
The patch in the previous message works after a top-level clean and re-build! Control linux i586 1.7.0-internal all build finished: 10-12-11 16:42 -- --Per Bothner per.both...@oracle.com p...@bothner.com http://per.bothner.com/

Re: hotspot build problems

2010-12-11 Thread Per Bothner
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

Re: hotspot build problems

2010-12-11 Thread Per Bothner
On 12/10/2010 08:45 AM, Volker Simonis wrote: Hi Per, the SE stuff should already be handled by the Make process (as pointed out by Andrew). However I think the detection of SELinux is quite fragile, I also had problems with it in the past. In the build log you should see something like:

Re: hotspot build problems

2010-12-11 Thread Per Bothner
On 12/11/2010 02:16 AM, Erik Trimble wrote: On 12/11/2010 1:38 AM, Volker Simonis wrote: Yes, but as far as I saw, Per used "1.6.0-rc-b104" which seems quite outdated... I did see that, and I do believe that at least a portion of Per's problem arise from using such an antiquated version of JDK

Re: hotspot build problems

2010-12-11 Thread Erik Trimble
On 12/11/2010 1:38 AM, Volker Simonis wrote: On Sat, Dec 11, 2010 at 12:30 AM, Erik Trimble wrote: On 12/10/2010 1:24 PM, Dr Andrew John Hughes wrote: Regarding the HPI-problem I only have a wild guess. Recently there was a change which removed HPI (see: http://bugs.sun.com/bugdatabase/view_bu

Re: hotspot build problems

2010-12-11 Thread Volker Simonis
On Sat, Dec 11, 2010 at 12:30 AM, Erik Trimble wrote: > On 12/10/2010 1:24 PM, Dr Andrew John Hughes wrote: >>> >>> Regarding the HPI-problem I only have a wild guess. Recently there was >>> a change which removed HPI (see: >>> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6348631). So >>> pe

Re: hotspot build problems

2010-12-10 Thread Joe Darcy
On 12/10/2010 1:24 PM, Dr Andrew John Hughes wrote: Regarding the HPI-problem I only have a wild guess. Recently there was a change which removed HPI (see: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6348631). So perhaps this interferes with your build JDK which is quite old as far as I sa

Re: hotspot build problems

2010-12-10 Thread Erik Trimble
On 12/10/2010 1:24 PM, Dr Andrew John Hughes wrote: Regarding the HPI-problem I only have a wild guess. Recently there was a change which removed HPI (see: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6348631). So perhaps this interferes with your build JDK which is quite old as far as I sa

Re: hotspot build problems

2010-12-10 Thread Dr Andrew John Hughes
> > Regarding the HPI-problem I only have a wild guess. Recently there was > a change which removed HPI (see: > http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6348631). So > perhaps this interferes with your build JDK which is quite old as far > as I saw ("1.6.0-rc-b104"). Perhaps building wit

Re: hotspot build problems

2010-12-10 Thread Andrew Haley
On 12/10/2010 04:45 PM, Volker Simonis wrote: > Hi Per, > > the SE stuff should already be handled by the Make process (as pointed > out by Andrew). However I think the detection of SELinux is quite > fragile, I also had problems with it in the past. In the build log you > should see something lik

Re: hotspot build problems

2010-12-10 Thread Volker Simonis
Hi Per, the SE stuff should already be handled by the Make process (as pointed out by Andrew). However I think the detection of SELinux is quite fragile, I also had problems with it in the past. In the build log you should see something like: \

Re: hotspot build problems

2010-12-10 Thread Andrew Haley
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 >>> mach

Re: hotspot build problems

2010-12-10 Thread Dr Andrew John Hughes
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 n

Re: hotspot build problems

2010-12-10 Thread Per Bothner
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 -

Re: hotspot build problems

2010-12-10 Thread Dr Andrew John Hughes
On 14:06 Fri 10 Dec , Vikram Aroskar wrote: > hi Per, > > 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. > Easiest thing to try is to set ALT_OUTPUTDIR to a directory on

Re: hotspot build problems

2010-12-10 Thread Vikram Aroskar
hi Per, 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. thanks, Vikram. On Fri, Dec 10, 2010 at 1:52 PM, Per Bothner wrote: > As promised: I need help building building Hotspot