problematic libjdwp.so in lambda build
Jim Gish
jim.gish at oracle.com
Thu May 31 11:00:53 PDT 2012
While attempting to use lambda builds with netbeans, I found that the
libjdwp.so being built with "make images" in lambda cannot be opened. I
was able to substitute the library from the mainline jdk8 build and use
that with no problem, but there is some issue with the version being
built under lambda.
The output from "make images" doesn't reveal anything unusual that I can
see (but then I've not looked at these before now):
Checking for mapfile use in:
/jdk/lambda/lambda/build/linux-ia32-normal-clientANDserver-release/images/j2sdk-image/jre/lib/i386/libjdwp.so
Library loads for:
/jdk/lambda/lambda/build/linux-ia32-normal-clientANDserver-release/images/j2sdk-image/jre/lib/i386/libjdwp.so
linux-gate.so.1 => (0x40022000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0x40081000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x40086000)
/lib/ld-linux.so.2 (0x40000000)
RUNPATH for:
/jdk/lambda/lambda/build/linux-ia32-normal-clientANDserver-release/images/j2sdk-image/jre/lib/i386/libjdwp.so
0x00000001 (NEEDED) Shared library: [libdl.so.2]
0x00000001 (NEEDED) Shared library: [libc.so.6]
The output from netbeans debug is:
NPT ERROR: Cannot open library
Java Result: 1
Of course you don't need netbeans to reproduce this since it's just
invoking java using -Xrunjdwp (which looks like it should be updated to
the new option):
Execute:Java13CommandLauncher: Executing
'/jdk/lambda/lambda/build/linux-ia32-normal-clientANDserver-release/images/j2sdk-image/bin/java'
with arguments:
'-Xrunjdwp:transport=dt_socket,address=localhost:48444'
'-classpath'
'/home/jgish/NetBeansProjects/lambda-tests/build/classes:/tools/netbeans/platform/modules/ext/junit-4.8.2.jar:/tools/netbeans/platform/modules/ext/testng-6.5.1-dist.jar:/home/jgish/NetBeansProjects/lambda-tests/build/test/classes'
'org.testng.TestNG'
'-mixed'
'-d'
'/tmp/org.openjdk.tests.java.util.StringJoinerTest'
'-listener'
'org.testng.reporters.VerboseReporter'
'-testclass'
'org.openjdk.tests.java.util.StringJoinerTest'
The ' characters around the executable and arguments are
not part of the command.
NPT ERROR: Cannot open library
Java Result: 1
I just thought someone might to dig deeper and find out what's going on
and fix it.
Thanks,
Jim
More information about the lambda-dev
mailing list