Code review request for Linux DEBUG_BINARIES/FDS fix (7188168)

Frederic Parain Frederic.Parain at oracle.com
Thu Aug 2 08:00:37 PDT 2012


Looks good.

Fred

On 8/1/2012 19:22, Daniel D. Daugherty wrote:
> Greetings,
>
> I have a fix for the following Linux specific FDS bug:
>
>      7188168 4/4 7071904 broke the DEBUG_BINARIES option on Linux
>
> Here is the URL for the webrev:
>
>      http://cr.openjdk.java.net/~dcubed/fds_revamp/7188168-webrev/0/
>
> What the fix does is reorder and slightly tweak the Makefile logic
> that supports the DEBUG_BINARIES make option:
>
> - when 'DEBUG_BINARIES=true' is specified, the '-g' option is
>    added to the CFLAGS make variable and none of the other
>    {DEBUG,FASTDEBUG,OPT}_CFLAGS variables are touched
> - this fix prevents doubled '-g' options and combined '-g' and
>    '-gstabs' options
> - depending on the particular Linux config being built, a
>    compilation will have a single '-g' or a single '-gstabs' or
>    neither of those options
>
> The Linux embedded builds doesn't support FDS yet so most of
> those compiles fall into the "neither" bucket...
>
> Thanks, in advance, for any reviews.
>
> Dan
>

-- 
--
Frederic Parain - Oracle
Grenoble Engineering Center - France
Phone: +33 4 76 18 81 17
Email: Frederic.Parain at oracle.com


More information about the hotspot-runtime-dev mailing list