Error compiling dtrace.d on Solaris Nevada b78
David Kopp
davidkopp at knology.net
Sat Dec 29 02:15:07 UTC 2007
Hi all,
I am trying to compile the first Mercurial source drop on an Ultra 20
(x64). I got gmake sanity to pass. However, when I run gmake, I
eventually end up with the following:
gmake[5]: Entering directory
`/export/home/koppdk/working/jdk7src/build/solaris-i586/hotspot/outputdir/solaris_i486_compiler2/product'
Compiling dtrace.d
/usr/sbin/dtrace -C -I. -G -o dtrace.o -s dtrace.d \
ciEnv.o classLoadingService.o compileBroker.o hashtable.o java.o
jni.o memoryManager.o nmethod.o objectMonitor_solaris.o runtimeService.o
sharedRuntime.o synchronizer.o thread.o vmPSOperations.o
vmCMSOperations.o vmGCOperations.o ||\
STATUS=$?;\
if [ x"$STATUS" = x"1" -a \
x`uname -r` = x"5.10" -a \
x`uname -p` = x"sparc" ]; then\
echo
"*****************************************************************";\
echo "* If you are building server compiler, and the error message
is ";\
echo "* \"incorrect ELF machine type...\", you have run into solaris
bug ";\
echo "* 6213962, \"dtrace -G doesn't work on sparcv8+ object files\".";\
echo "* Either patch/upgrade your system (>= S10u1_15), or set the ";\
echo "* environment variable HOTSPOT_DISABLE_DTRACE_PROBES to
disable ";\
echo "* dtrace probes for this build.";\
echo
"*****************************************************************";\
fi;\
exit $STATUS
dtrace: failed to link script dtrace.d: an error was encountered while
processing vmGCOperations.o
I can continue past this if I set HOTSPOT_DISABLE_DTRACE_PROBES=true,
but then the VM won't link.
Does anyone have any idea as to what might be wrong with vmGCOperations.o?
Thanks,
David
More information about the build-dev
mailing list