Graal on Mavericks

Michael Haupt michael.haupt at oracle.com
Wed Oct 23 08:03:46 PDT 2013


Hi Lukas,

I'm not on Mavericks (yet) and had to use the compiler warnings setting to make the latest build succeed. The problem was this:

-----
Compiling .../src/gpu/ptx/vm/ptxKernelArguments.cpp
cc1plus: warnings being treated as errors

.../src/gpu/ptx/vm/ptxKernelArguments.cpp: In member function 'virtual void PTXKernelArguments::do_float()':

.../src/gpu/ptx/vm/ptxKernelArguments.cpp:102: warning: converting to 'long long unsigned int' from 'jfloat'

.../src/gpu/ptx/vm/ptxKernelArguments.cpp: In member function 'virtual void PTXKernelArguments::do_double()':

.../src/gpu/ptx/vm/ptxKernelArguments.cpp:137: warning: converting to 'long long unsigned int' from 'jdouble'

Compiling .../src/share/vm/utilities/quickSort.cpp
Compiling .../src/share/vm/memory/referencePolicy.cpp
make[4]: *** [ptxKernelArguments.o] Error 1

make[4]: *** Waiting for unfinished jobs....

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

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

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

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

Best,

Michael

Am 23.10.2013 um 16:36 schrieb Lukas Stadler <lukas.stadler at jku.at>:

> In case someone is trying to get Graal to compile on OS X Mavericks - I had to add the following to mx/env to make it run:
> 
> COMPILER_WARNINGS_FATAL=false
> USE_CLANG=true
> LFLAGS=-Xlinker -lstdc++
> 
> If it doesn’t take too long, I suggest we wait for the relevant changes from hotspot before we implement them ourselves.
> 
> - Lukas

-- 


Dr. Michael Haupt | Principal Member of Technical Staff
Phone: +49 331 200 7277 | Fax: +49 331 200 7561
Oracle Labs 
Oracle Deutschland B.V. & Co. KG, Schiffbauergasse 14 | 14467 Potsdam, Germany
	Oracle is committed to developing practices and products that help protect the environment



More information about the graal-dev mailing list