Unable to Compile HotSpot

Pratik Patel pratik.patel at einfochips.com
Thu Dec 27 08:02:36 PST 2007


Hi, 

 

I am compiling hotspot JVM for the first time on Linux. I have JDK-1.5.0
BootStrap, JDK-1.6.0 Source Class Library. I have installed bootstrap
successfully.

I got following error. Please let me know solution of this error, if any one
has encountered the same problem.

 

===============================================

Compiling /home/pratik/hotspot/src/share/vm/code/vtableStubs.cpp

Compiling /home/pratik/hotspot/src/cpu/x86/vm/vtableStubs_x86_32.cpp

Compiling /home/pratik/hotspot/src/os/linux/vm/vtune_linux.cpp

Compiling /home/pratik/hotspot/src/share/vm/utilities/workgroup.cpp

Compiling /home/pratik/hotspot/src/share/vm/utilities/xmlstream.cpp

Compiling /home/pratik/hotspot/src/share/vm/utilities/yieldingWorkgroup.cpp

Compiling /home/pratik/hotspot/src/share/vm/opto/idealGraphPrinter.cpp

Assembling /home/pratik/hotspot/src/os_cpu/linux_x86/vm/linux_x86_32.s

Compiling /home/pratik/hotspot/src/share/vm/runtime/vm_version.cpp

rm -f mapfile

cat /home/pratik/hotspot/build/linux/makefiles/mapfile-vers-product >
mapfile

rm -f mapfile_reorder

cat mapfile > mapfile_reorder

Linking vm...

/usr/bin/chcon: failed to change context of libjvm.so to
root:object_r:textrel_shlib_t: Invalid argument

ERROR: Cannot chcon libjvm.so

make[4]: *** [libjvm.so] Error 1

make[4]: Leaving directory
`/home/pratik/hotspot/build/linux/linux_i486_compiler2/product'

make[3]: *** [the_vm] Error 2

make[3]: Leaving directory
`/home/pratik/hotspot/build/linux/linux_i486_compiler2/product'

make[2]: *** [product] Error 2

make[2]: Leaving directory `/home/pratik/hotspot/build/linux'

make[1]: *** [generic_build2] Error 2

make[1]: Leaving directory `/home/pratik/hotspot/make'

make: *** [product] Error 2

===============================================

 

Thanks in advance for reply.

Regards,

Pratik Patel

 


-- 
eInfochips Business Disclaimer:
 
This message may contain confidential, proprietary or legally Privileged
information. In case you are not the original intended Recipient of the
message, you must not, directly or indirectly, use, Disclose,distribute,
print, or copy any part of this message and you are requested to delete
it and inform the sender. Any views expressed in this message are those
of the individual sender unless otherwise stated.Nothing contained in
this message shall be construed as an offer or acceptance of any offer
by eInfochips Limited and/or eInfochips Inc(“eInfochips”) unless sent
with that express intent and with due authority of eInfochips.EInfochips
has taken enough precautions to prevent the spread of viruses. However
the company accepts no liability for any damage caused by any virus
transmitted by this email.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20071227/f4108c57/attachment.html 


More information about the hotspot-dev mailing list