Copying libjvm.{diz,debuginfo}
David Holmes
david.holmes at oracle.com
Sat Dec 15 01:32:16 PST 2012
On 15/12/2012 8:34 AM, Bharadwaj Yadavalli wrote:
> I would like to build a debuggable vm (libjvm.so) during OpenJDK build.
>
> I configured using
>
> sh configure --with-debug-level=slowdebug --enable-debug-symbols
> --with-boot-jdk=/path/to/boot/jdk
>
> and then ran
>
> make NEWBUILD=true images
>
> The build does not copy libjvm.diz to
> build/linux-x86_64-normal-server-slowdebug/jdk/lib/amd64/server/
>
> Is there a way to configure the build so that it copies the debug info
> along with libjvm.so each time it is updated?
It seems to work for me. There was a very recent patch that causes the
configure "debug-symbols" setting to be passed through to hotspot
correctly. Check if hotspot-spec.gmk contains a flag to enable
FULL_DEBUG_SYMBOLS.
David
> Bharadwaj
>
More information about the hotspot-dev
mailing list