No, I am able to build jdk9, but NOT jdk8. It seems the SDK (those .h files) no 
longer works with gcc in xcode4.

--Max

> On Nov 12, 2014, at 12:13, Manas Thakur <manasthaku...@gmail.com> wrote:
> 
> Hi Wang
> 
> You were able to compile openjdk8 on Yosemite!! Can you please look into the 
> error faced by me (first post in the thread; posted below as well) and figure 
> out the problem(s)?
> 
> Regards,
> Manas
> 
> 
> 
>> Yes, I can compile the whole mess on Yosemite/Xcode 6.1. There was an issue 
>> with FreeType when building OpenJDK, but it looks like that's been resolved 
>> now.
>> 
>> -DrD-
>> 
> 
> Compiling 
> /Users/manas/Desktop/Software/openjdk/sources/openjdk8/hotspot/src/share/vm/utilities/yieldingWorkgroup.cpp
> Making signal interposition lib...
> couldn't understand kern.osversion `14.0.0'
> warning: (x86_64) 
> /var/folders/16/5m_yzyd961b3l31crzg2hsl40000gp/T//ccEmbC6U.o unable to open 
> object file
> warning: no debug symbols in executable (-arch x86_64)
> Making SA debugger back-end...
> couldn't understand kern.osversion `14.0.0'
> In file included from 
> /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:55,
>                 from 
> /System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h:12,
>                 from 
> /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:80,
>                 from 
> /Users/manas/Desktop/Software/openjdk/sources/openjdk8/hotspot/agent/src/os/bsd/MacosxDebuggerLocal.m:26:
> /System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:262:
>  error: expected ‘,’ or ‘}’ before ‘__attribute__’
> /System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:414:
>  error: expected ‘,’ or ‘}’ before ‘__attribute__’
> In file included from 
> /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:119,
>                 from 
> /Users/manas/Desktop/Software/openjdk/sources/openjdk8/hotspot/agent/src/os/bsd/MacosxDebuggerLocal.m:26:
> /System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h:55: 
> error: expected a property attribute before ‘weak’
> Compiling 
> /Users/manas/Desktop/Software/openjdk/sources/openjdk8/hotspot/src/share/vm/runtime/vm_version.cpp
> In file included from 
> /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:171,
>                 from 
> /Users/manas/Desktop/Software/openjdk/sources/openjdk8/hotspot/agent/src/os/bsd/MacosxDebuggerLocal.m:26:
> /System/Library/Frameworks/Foundation.framework/Headers/NSUserNotification.h:16:
>  error: expected ‘,’ or ‘}’ before ‘__attribute__’
> make[8]: *** [libsaproc.dylib] Error 1
> make[8]: *** Waiting for unfinished jobs....
> make[7]: *** [the_vm] Error 2
> make[6]: *** [product] Error 2
> make[5]: *** [generic_build2] Error 2
> make[4]: *** [product] Error 2
> make[3]: *** [all_product_universal] Error 2
> make[2]: *** [universal_product] Error 2
> make[1]: *** 
> [/Users/manas/Desktop/Software/openjdk/sources/openjdk8/build/macosx-x86_64-normal-server-release/hotspot/_hotspot.timestamp]
>  Error 2
> make: *** [hotspot-only] Error 2
> 

Reply via email to