Building openjdk 8 on Mac OS X

Manas Thakur manasthakur17 at gmail.com
Fri Nov 7 03:51:34 UTC 2014


Hi Staffan

Sure, I will try for jdk8u; the current errors were for jdk8.

Regards,
Manas


> On 07-Nov-2014, at 1:09 am, Staffan Larsen <staffan.larsen at oracle.com> wrote:
> 
> From which exact branch is the code cloned? I know there were some issues with #includes in MacosxDebuggerLocal.m, but they should have been cleaned up in jdk8u-dev by now
> 
> /Staffan
> 
>> On 6 nov 2014, at 12:45, Manas Thakur <manasthakur17 at gmail.com> wrote:
>> 
>> Thanks for the reply Magnus. Here are the error logs that get generated:
>> 
>> 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
>> 
>> Can you suggest me some workaround(s)?
>> 
>> - Manas
> 




More information about the build-dev mailing list