Graal on Mavericks

Lukas Stadler lukas.stadler at jku.at
Wed Oct 23 09:16:37 PDT 2013


That should probably be fixed in the ptx code - it's not going to be fixed from upstream :-)
I’ll take a look.

- Lukas

On 23 Oct 2013, at 18:03, Mick Jordan <mick.jordan at oracle.com> wrote:

> On 10/23/13 8:03 AM, Michael Haupt wrote:
>> 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:
> Indeed, I suffered this yesterday also on M. Lion. Glad to know we have a fix.
>> 
>> -----
>> 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
> 



More information about the graal-dev mailing list