RFR: JDK-8026966: Most native libs broken on mac in jdk8/build

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Tue Oct 22 07:51:13 UTC 2013


On 2013-10-21 17:08, Erik Joelsson wrote:
> "JDK-8025715: Split CompileNativeLibraries.gmk", caused (almost) all 
> libraries on macosx to be linked incorrectly. I propose we fix this by 
> removing an ugly hack for libJObjC.dylib, which was only put there to 
> make the new and old build be as similar as possible.
>
> The result of this fix is that libObjC.dylib changes it's link line from:
>
> -Xlinker -install_name -Xlinker /usr/local/lib/libJObjC.dylib
>
> to:
>
> -Xlinker -install_name -Xlinker @rpath/libJObjC.dylib
>
> And the rest of the libraries get restored to their original link 
> lines, which look like the second line above.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8026966
>
> Webrev: http://cr.openjdk.java.net/~erikj/8026966/webrev.jdk.01/

Looks good. Thank you for finding this!

/Magnus



More information about the build-dev mailing list