RFR: JDK-8153294: Solaris devkit uses linker from system instead of in devkit

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Wed Feb 14 19:59:18 UTC 2018


On 2018-02-14 01:50, Erik Joelsson wrote:
> The current devkit I created for Solaris has a flaw in that CC will 
> still call the system linker instead of the one in the devkit. I have 
> finally figured out a solution for this, while working on the next 
> devkit with upgraded compiler versions, but this fix has value on its 
> own so I decided to update the existing one for 11 immediately.
>
> The devkit is changed to include the relevant executables as well as 
> the specific libs they need, arranged in such a way so that the 
> existing runpaths in the executables match the relative paths of the 
> libs. In configure, I added a check for ld in the devkit and add the 
> necessary flag to SYSROOT_LDFLAGS if found.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8153294
>
> Webrev: http://cr.openjdk.java.net/~erikj/8153294/webrev.01/
Looks good to me. Thanks for the care you're taking in making high 
quality devkits!

/Magnus
>
> /Erik
>




More information about the build-dev mailing list