Variable information not available, source compiled without -g option

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Wed Feb 13 15:02:42 UTC 2013


   I found that I did not use the --enable-debug option.  I will try to 
rebuild my project.

   Thanks,
   Alexandr.

On 2/13/2013 5:12 PM, Alexander Scherbatiy wrote:
>
>   Hello,
>
>   I built the OpenJDK from the hg.openjdk.java.net/jdk8/awt on  
> windows 7.
>   Debugging java code does not show JDK method arguments with message: 
> "Variable information not available, source compiled without -g option"
>
>   I see the warning in the config.log file but probably it relates to 
> the compiling native files:
> ----------------------------------------------
> configure:19912: result: no
> configure:19921: checking whether 
> /cygdrive/c/progra~2/micros~1.0/vc/bin/cl accepts -g
> configure:19941: /cygdrive/c/progra~2/micros~1.0/vc/bin/cl -c -g  
> conftest.c >&5
> conftest.c
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 
> for 80x86
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> cl : Command line warning D9002 : ignoring unknown option '-g'
> ----------------------------------------------
>
> Thanks,
> Alexandr.




More information about the build-dev mailing list