RFR (XS): 8000485: Hotspot build fails in Solaris Studio IDE when building dtrace

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Fri Oct 5 13:33:47 PDT 2012


http://cr.openjdk.java.net/~vlivanov/8000485/webrev.00
6 lines changed: 0 ins; 0 del; 6 mod

Solaris Studio has discovery functionality, which allows to 
automatically extract information about a project by instrumenting it's 
build process. When trying to build HotSpot from Solaris Studio on 
Solaris, the build fails: tracing library can't be found when generating 
JVM offsets for DTrace-related part, since LD_LIBRARY_PATH is overridden 
and libBuildTrace.so isn't on the path anymore.

The fix is to prepend '.' to the existing native library path, instead 
of overriding it with current folder location.

Also, fixed similar problem on MacOSX.

Testing: JPRT, remote build using Solaris Studio IDE.

Best regards,
Vladimir Ivanov

[1] https://jbs.oracle.com/bugs/browse/JDK-8000485


More information about the hotspot-dev mailing list