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

Christian Thalinger christian.thalinger at oracle.com
Mon Jun 24 17:41:52 PDT 2013


Thank you, Vladimir.  -- Chris

On Jun 24, 2013, at 4:36 PM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:

> 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