Building openjdk 8 on Mac OS X

David DeHaven david.dehaven at oracle.com
Tue Jan 6 22:01:40 UTC 2015


>> You need to patch /hotspot/make/bsd/makefiles/saproc.make to make it use
>> 10.8sdk instead of system library in Yosemite.
>> 
>>  - SALIBS = -g -framework Foundation
>> -F/System/Library/Frameworks/JavaVM.framework/Frameworks
>> -framework JavaNativeFoundation -framework Security -framework CoreFoundation
>> 
>>  + SALIBS = -isysroot
>> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform
>> /Developer/SDKs/MacOSX10.8.sdk
>> -g -framework Foundation
>> -F/System/Library/Frameworks/JavaVM.framework/Frameworks -framework
>> JavaNativeFoundation -framework Security -framework CoreFoundation
>> 
>> 
>> 
>> Manas Thakur <manasthakur17 at ...> writes:
>> 
>> 
>> 
>> 
>> 
>> 
> 
> Yes, I just found this out the hard way yesterday (and many other patches are required too).
> 
> Is there any chance OS X fixes can make it upstream?

This basically requires backporting JDK-8043340 to jdk8u, which I've been poking at here and there but have not had the time to really tackle it.

-DrD-




More information about the build-dev mailing list