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 a local disk. I've not had problems with having the source on NFS but I always build to a local disk. > thanks, > Vikram. > > On Fri, Dec 10, 2010 at 1:52 PM, Per Bothner <per.both...@oracle.com> wrote: > > As promised: I need help building building Hotspot ... > > > > (1) The first build failure is because of SELinux: > > > > make[5]: Leaving directory > > `/home/bothner/Java/jdk7/build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product' > > cd linux_i486_compiler2/product && ./test_gamma > > java full version "1.6.0-rc-b104" > > ./gamma: error while loading shared libraries: libjvm.so: cannot enable > > executable stack as shared object requires: Permission denied > > > > The fix is: > > $ execstack -c > > build/linux-i586/hotspot/outputdir/linux_i486_compiler2/product/libjvm.so > > > > 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 > > `/home/bothner/Java/jdk7/build/linux-i586/hotspot/outputdir' > > > > 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.both...@oracle.com p...@bothner.com http://per.bothner.com/ > > -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) Support Free Java! Contribute to GNU Classpath and IcedTea http://www.gnu.org/software/classpath http://icedtea.classpath.org PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8