Linux fastdebug build with debug info

Hiroshi Yamauchi yamauchi at google.com
Thu May 21 14:23:33 PDT 2009


Thanks for filing the bug and the extra info.

Without any prior known issues with turning on -g on fastdebug build
on Linux, except the size issue, I think I will see if it's got any
issue.

What I'd like to have is the ability to see nice stacktraces from gdb
without slowing down as much as the debug build.

Thanks,
Hiroshi

On Wed, May 20, 2009 at 4:59 PM, Erik Trimble <Erik.Trimble at sun.com> wrote:
> David Holmes - Sun Microsystems wrote:
>>
>> Hiroshi Yamauchi said the following on 05/21/09 03:58:
>>>
>>> Nice talking to you after a while!
>>
>> Likewise! Small world :)
>>
>>> Is there a history about the Linux fastdebug build not having -g or
>>> -gstabs?
>>
>> The history is that it's never been present and no-one seems to have
>> noticed/complained! :) The Solaris fastdebug.make was modified way back in
>> mid 2000.
>>
>> I've filed: 6843665 in our internal bug system.
>>
>> David
>
> I'm not 100% sure of the difference between our 'fastdebug' and out 'debug'
> builds, but one thing I do know:  Linux_x64-debug isn't currently done due
> to _really_ excessive size on the symbol tables and associated output
> libary.  IIRC, libjvm.so ends up being 1GB+ in size if we do a 'debug' build
> on linux 64-bit (this was particularly noticable on IA64 [itanium], but is
> also pronounced on x86_64).
>
>
> This may or may not have anything to do with the lack of -g being present in
> the makefiles. But, I thought you should know.
>
> --
> Erik Trimble
> Java System Support
> Mailstop:  usca22-123
> Phone:  x17195
> Santa Clara, CA
> Timezone: US/Pacific (GMT-0800)
>
>



More information about the hotspot-dev mailing list