linux x64: gtest libjvm.so without debug symbols?

Erik Joelsson erik.joelsson at oracle.com
Thu Dec 15 13:55:31 UTC 2016


Filed https://bugs.openjdk.java.net/browse/JDK-8171310 and working on it.

/Erik


On 2016-12-15 14:37, Erik Joelsson wrote:
> Hello,
>
> That is a mistake in JDK-8150736. My intention was to always leave 
> debug symbols in the gtest libjvm.so untouched.
>
> /Erik
>
> On 2016-12-15 14:13, Thomas Stüfe wrote:
>> Hi,
>>
>> I may be missing something very obvious, but I am not able to debug the
>> gtest-libjvm (the one gtestLauncher uses, from
>> hotspot/variant-server/libjvm).
>>
>> I build with --with-native-debug-symbols=external
>> --with-debug-level=slowdebug.
>>
>> In the build log I see that we preserve the debug information for the
>> standard libjvm.so with objcopy, but we don't for the gtest variant,
>> instead we strip the debug information.
>>
>> Was that intentional?
>>
>> Thanks, Thomas
>




More information about the build-dev mailing list