RFR (XXS): 8017538: Clang support broke slowdebug build for i586

Vladimir Kozlov vladimir.kozlov at oracle.com
Mon Jun 24 16:36:15 PDT 2013


Good.

Vladimir

On 6/24/13 4:16 PM, Christian Thalinger wrote:
> 8017538: Clang support broke slowdebug build for i586
> Reviewed-by:
>
> Bill Pittore found this problem.
>
> diff --git a/make/linux/makefiles/gcc.make b/make/linux/makefiles/gcc.make
> --- a/make/linux/makefiles/gcc.make
> +++ b/make/linux/makefiles/gcc.make
> @@ -350,9 +350,9 @@
>     ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),)
>         ifeq ($(USE_CLANG), true)
>           # Clang doesn't understand -gstabs
> -        OPT_CFLAGS += -g
> +        DEBUG_CFLAGS += -g
>         else
> -        OPT_CFLAGS += -gstabs
> +        DEBUG_CFLAGS += -gstabs
>         endif
>     endif
>
> @@ -365,9 +365,9 @@
>       ifeq ($(FASTDEBUG_CFLAGS/$(BUILDARCH)),)
>         ifeq ($(USE_CLANG), true)
>           # Clang doesn't understand -gstabs
> -        OPT_CFLAGS += -g
> +        FASTDEBUG_CFLAGS += -g
>         else
> -        OPT_CFLAGS += -gstabs
> +        FASTDEBUG_CFLAGS += -gstabs
>         endif
>       endif
>
>


More information about the hotspot-dev mailing list