build older version graal error

Yanlin Wang huohuohuomumu at gmail.com
Fri Apr 3 02:37:53 UTC 2015


Hi, 

I’m compiling graal against an older changeset and got some errors. Could you help me fix this? Thanks!
 
I’m using OS X 10.9.5 (13F1066), Kernel Version: Darwin 13.4.0

In my local graal directory, I ran: 

hg update -r 3a59e1411192
mx build
But got these errors: 

cd bsd_amd64_compiler2/product && /Applications/Xcode.app/Contents/Developer/usr/bin/make  " LP64=1 "
Rescanned ../generated/adfiles/bsd_x86_64.ad  but encountered no changes.
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all'.
if [ -d /Users/yanlinwang/graal/agent -a "x86" != "ia64" \
             -a "x86" != "arm" \
             -a "x86" != "ppc" \
             -a "x86" != "zero" ] ; then \
	   /Applications/Xcode.app/Contents/Developer/usr/bin/make -f sa.make /Users/yanlinwang/graal/build/bsd/bsd_amd64_compiler2/product/../generated/sa-jdi.jar; \
	fi
make[5]: `/Users/yanlinwang/graal/build/bsd/bsd_amd64_compiler2/product/../generated/sa-jdi.jar' is up to date.
echo "dtrace headers generated"
dtrace headers generated
make[4]: `precompiled.hpp.pch' is up to date.
Linking vm...
Undefined symbols for architecture x86_64:

  "_GPUOffload", referenced from:

      VMStructs::initHotSpotVMConfig(oopDesc*) in vmStructs.o

  "_TraceGPUInteraction", referenced from:

      Gpu::initialized_gpu(Gpu*) in gpu.o

      Gpu::probe_gpus(JNIEnv_*) in gpu_bsd.o

      Hsail::initialize(JNIEnv_*, _jclass*) in gpu_hsail.o

      Hsail::generate_kernel(JNIEnv_*, _jclass*, _jbyteArray*, _jstring*) in gpu_hsail.o

      Hsail::execute_kernel_void_1d_internal(unsigned char*, int, _jobject*, methodHandle&, nmethod*, int, int, _jobject*, Thread*) in gpu_hsail.o

      Hsail::register_natives(JNIEnv_*) in gpu_hsail.o

      Hsail::HSAILDeoptimizationInfo::oops_do(OopClosure*) in gpu_hsail.o

      ...

  "_UseHSAILDeoptimization", referenced from:

      Hsail::execute_kernel_void_1d_internal(unsigned char*, int, _jobject*, methodHandle&, nmethod*, int, int, _jobject*, Thread*) in gpu_hsail.o

      HSAILKernelArguments::pushTrailingArgs() in hsailKernelArguments.o

      VMStructs::initHotSpotVMConfig(oopDesc*) in vmStructs.o

  "_UseHSAILSafepoints", referenced from:

      SafepointSynchronize::begin() in safepoint.o

      SafepointSynchronize::end() in safepoint.o

      VMStructs::initHotSpotVMConfig(oopDesc*) in vmStructs.o

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

dsymutil libjvm.dylib
error: unable to open executable 'libjvm.dylib'

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

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

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

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

make: *** [product] Error 2



Regards,
Yanlin Wang








More information about the graal-dev mailing list