Fwd: Re: How to decrease size of j2sdk_image

2012-10-11 Thread Seán Coffey
Moving this off discuss mailing list to build-dev. Why is ENABLE_FULL_DEBUG_SYMBOLS being set to 1 for many product builds now ? It slows down the build and creates increased bundle size even though the majority of users do not require this functionality. Could we consider flipping the defaul

Re: Fwd: Re: How to decrease size of j2sdk_image

2012-10-11 Thread Daniel D. Daugherty
On 10/11/12 3:21 AM, Seán Coffey wrote: Moving this off discuss mailing list to build-dev. Why is ENABLE_FULL_DEBUG_SYMBOLS being set to 1 for many product builds now ? It slows down the build and creates increased bundle size even though the majority of users do not require this functionality

Re: Fwd: Re: How to decrease size of j2sdk_image

2012-10-11 Thread Daniel D. Daugherty
On 10/11/12 9:09 AM, matchew wrote: Understand. But why still when ENABLE_FULL_DEBUG_SYMBOLS is set to 0 these files are generated? What type of build are you doing? The ENABLE_FULL_DEBUG_SYMBOLS flag only disables the feature for "product bits" builds. For a JDK build that is an "OPT" build. F

Re: Fwd: Re: How to decrease size of j2sdk_image

2012-10-11 Thread Daniel D. Daugherty
On 10/11/12 8:50 AM, matchew wrote: what about openjdk builds used for example by ubuntu package manager (default repos)? these builds do not have these debug files (*.diz) at all. I don't know how Ubuntu builds the OpenJDK repos so I can't really comment on why those builds don't have debug i

Re: Fwd: Re: How to decrease size of j2sdk_image

2012-10-11 Thread Daniel D. Daugherty
How are you invoking your build? Dan On 10/11/12 9:19 AM, matchew wrote: i believe i am doing full build - including jdk, hotspot, etc. So how can i switch off debug symbols in jdk builds? 2012/10/11 Daniel D. Daugherty > On 10/11/12 9:09 AM, matchew

Re: Fwd: Re: How to decrease size of j2sdk_image

2012-10-11 Thread David Holmes
On 10/11/12 9:09 AM, matchew wrote: Understand. But why still when ENABLE_FULL_DEBUG_SYMBOLS is set to 0 these files are generated? Because you have to set FULL_DEBUG_SYMBOLS=0 when invoking make, not ENABLE_FULL_DEBUG_SYMBOLS=0. From the makefiles: # The Full Debug Symbols (FDS) default for