Graal JVMCI 8 and MacOS 10.13?

Doug Simon doug.simon at oracle.com
Tue Mar 13 19:56:13 UTC 2018


> On 13 Mar 2018, at 20:49, Stefan Marr <java at stefan-marr.de> wrote:
> 
> Hi:
> 
> Is Graal JVMCI 8 know to build on macOS 10.13?
> It seems there is a problem with some Objective C code that doesn’t compile with MacOSX10.13.sdk.
> 
> In the SOMns setup, I used to use a simple script that automatically built Graal JVMCI 8 from source.
> But a colleague is now reporting issues with macOS 10.13.
> 
> We are using the sources from:
> http://hg.openjdk.java.net/graal/graal-jvmci-8/
> 
> The error is below.
> 
> Is this known?
> 
> Thank you
> Stefan
> 
>> Begin forwarded message:
>> 
>> Compiling /Users/alex/Dropbox/Research/Grace/GIT/GraalBasic/graal-jvmci-8/src/share/vm/runtime/vm_version.cpp
>> In file included from /Users/alex/Dropbox/Research/Grace/GIT/GraalBasic/graal-jvmci-8/agent/src/os/bsd/MacosxDebuggerLocal.m:26:

How is the build being done? We never build the agent code.

I'm building the hotspot code fine on my Mac which is running 10.13. This is with the usual `mx build` command.

Not sure if it will make a difference, but the sources are at https://github.com/graalvm/graal-jvmci-8.

-Doug

>> 
>> In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
>> 
>> In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
>> 
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:19:21: error: expected a type
>> 
>> - (id)copyWithZone:(nullable NSZone *)zone;
>> 
>>                    ^
> 
> -- 
> Stefan Marr
> School of Computing, University of Kent
> http://stefan-marr.de/research/
> 
> 



More information about the graal-dev mailing list