Variable information not available, source compiled without -g option

Alexander Scherbatiy alexandr.scherbatiy at oracle.com
Wed Feb 13 13:12:05 UTC 2013


   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