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

Erik Joelsson erik.joelsson at oracle.com
Mon Oct 21 15:08:03 UTC 2013


"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