Build-infra mismatch with full debug symbol control for hotspot

Daniel D. Daugherty daniel.daugherty at oracle.com
Fri Oct 26 20:58:24 PDT 2012


I would think that the the new build system would use the same
internal make variable name as the old build system, i.e.,

     ENABLE_FULL_DEBUG_SYMBOLS

I would also expect the variable to use the same values ('1' and '0').
However, I'm not up to speed on build-infra...

Dan


On 10/26/12 9:54 PM, David Holmes wrote:
> 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