Graal JVMCI 8 and MacOS 10.13?
Yudi Zheng
yudi.zheng at oracle.com
Tue Mar 13 20:56:43 UTC 2018
Hi Stefan,
The problem might be the version of clang in the system. The one I am using points to the xcode one:
> $ which clang
> /usr/bin/clang
> $ clang -v
> Apple LLVM version 9.0.0 (clang-900.0.39.2)
> Target: x86_64-apple-darwin17.4.0
> Thread model: posix
> InstalledDir: /Library/Developer/CommandLineTools/usr/bin
homebrew might also install clang at /usr/local/bin:
> $ /usr/local/bin/clang -v
> clang version 3.6.2 (tags/RELEASE_362/final)
> Target: x86_64-apple-darwin17.4.0
> Thread model: posix
If I change clang to the homebrew one, it gives me the following error message when compiling TIP of graal-jvmci-8
> In file included from /Users/zhengy/Workspace/graal-jvmci-8/agent/src/os/bsd/MacosxDebuggerLocal.m:26:
>
> In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
>
> In file included from /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
>
> /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:19:21: error: expected a type
>
> - (id)copyWithZone:(nullable NSZone *)zone;
>
> ^
>
> /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:25:28: error: expected a type
>
> - (id)mutableCopyWithZone:(nullable NSZone *)zone;
Yudi
> On 13 Mar 2018, at 21:14, Stefan Marr <java at stefan-marr.de> wrote:
>
> Hi Doug,
> Hi Tom:
>
> Ok, yeah we are apparently using an outdated version.
> Thanks, didn’t know about the switch.
> That’s probably it.
>
> Would it be possible to announce such repository switches here on the mailing list?
> It is really impossible to keep track of things without such information.
>
> I think, there was also a recent switch away from the graalvm org to https://github.com/oracle/graal, which I didn’t see announced either.
>
> Thanks
> Stefan
>
>
> --
> Stefan Marr
> School of Computing, University of Kent
> http://stefan-marr.de/research/
>
>
More information about the graal-dev
mailing list