hotspot build problems

Vikram Aroskar vikram.aroskar at gmail.com
Fri Dec 10 08:36:58 UTC 2010


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 <per.bothner at 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.bothner at oracle.com   per at bothner.com   http://per.bothner.com/
>



More information about the build-dev mailing list