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

Anthony Petrov anthony.petrov at oracle.com
Tue Oct 22 08:10:19 UTC 2013


Hi Erik,

The fix looks good to me.

--
best regards,
Anthony

On 10/21/2013 07:08 PM, 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/
>
> /Erik



More information about the build-dev mailing list