RFR: JDK-8064808 Disable use of broken objcopy on Solaris, remove adhoc helper tools

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Thu Sep 10 21:41:44 UTC 2015


Objcopy on Solaris prior to 2.21.1 is broken and will either crash during runtime or produce an incorrect result. We have traditionally handled this using two helper binaries that does the work of objcopy, but this has been error prone and is not a really nice solution. And by now, a fixed version of objcopy has been long time available in Solaris.

We should implement the same solution in configure as the fix for JDK-8033602 in hotspot, that is, to check the version of objcopy on solaris, and just disable use if it is old and broken. 

This will allow us to remove the cumbersome helper tools that were developed to work around these limitations. 

Bug: https://bugs.openjdk.java.net/browse/JDK-8064808
WebRev: http://cr.openjdk.java.net/~ihse/JDK-8064808-disable-broken-objcopy-on-solaris/webrev.01

/Magnus



More information about the build-dev mailing list