Build-infra mismatch with full debug symbol control for hotspot
David Holmes
david.holmes at oracle.com
Fri Oct 26 20:54:40 PDT 2012
I may be mis-reading something here but was trying to determine why
hotspot was still creating debuginfo/diz files when I thought I had
disabled it at configure time.
In the old build the external variable that should be set to control FDS
is FULL_DEBUG_SYMBOLS. This is turn will set the internal make variable
ENABLE_FULL_DEBUG_SYMBOLS. This applies to JDK builds and hotspot
builds, with the top-level build adding FULL_DEBUG_SYMBOLS to the
HOTSPOT_BUILD_ARGUMENTS.
But in the new build the variable that is modified based on
--disable-debug-symbols is ENABLE_DEBUG_SYMBOLS. And it gets set to yes
or no, not 1 or 0. So hotspot will read spec.gmk and only find
ENABLE_DEBUG_SYMBOLS:=no, for example, but that has no affect on FDS as
it expects FULL_DEBUG_SYMBOLS to control things.
What is the best way to resolve this mismatch?
I've cc'd Dan as the FDS expert.
Thanks,
David
More information about the build-infra-dev
mailing list