Re: RPATHS in binaries

2012-07-23 Thread Kumar Srinivasan
Hi Omair, Hi Kumar, On 07/23/2012 11:19 AM, Kumar Srinivasan wrote: My suggestion is to see if System.loadLibrary can be used, this will bode well for the modularization effort. Unfortunately, this bug can come up with proprietary third-party code that cant be modified by the users of OpenJDK.

Re: RPATHS in binaries

2012-07-23 Thread Omair Majid
Hi Kumar, On 07/23/2012 11:19 AM, Kumar Srinivasan wrote: > My suggestion is to see if System.loadLibrary can be used, this will > bode well for the > modularization effort. Unfortunately, this bug can come up with proprietary third-party code that cant be modified by the users of OpenJDK. Also,

Re: RPATHS in binaries

2012-07-23 Thread Kumar Srinivasan
comments inlined... I think Kumar Srinivasan would be the best person to answer if adding a $ORIGIN/../lib/ RPATH entry to jre/bin/java would be an issue or not. I suspect it is not an issue. But I'd recommend some well placed comments in the Makefile explaining the need if we do this.

Re: RPATHS in binaries

2012-07-23 Thread Andrew Haley
On 07/20/2012 07:27 PM, Kelly O'Hair wrote: > The only other solution I see is for the 3rd party library to have > an RPATH of $ORIGIN, and then toss the 3rd party library into the > jdk's jre/lib/ directory (or a softlink to it). Or maybe into > jre/lib//thirdparty with an RPATH $ORIGIN/.. But