RFR: JDK-8148351 Only display resolved symlink for compiler, do not change path

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Wed Jan 27 10:32:31 UTC 2016


During toolchain detection, if the found compiler (CC or CXX) is a 
symbolic link, we resolve it and point to the resolved binary. This was 
introduced to be able to debug systems with a broken setup, but it 
breaks use cases were a CC wrapper is used.

A better solution is to just print the path of the resolved symlink and 
keep the original value intact.

Bug: https://bugs.openjdk.java.net/browse/JDK-8148351
WebRev: 
http://cr.openjdk.java.net/~ihse/JDK-8148351-do-not-replace-compiler-symlink/webrev.01

/Magnus




More information about the build-dev mailing list