RFR (M): Enable HotSpot build with Clang

Christian Thalinger christian.thalinger at oracle.com
Mon Jun 24 16:16:44 PDT 2013


Got it.  Sending review to hotspot-dev.

-- Chris

On Jun 24, 2013, at 4:06 PM, BILL PITTORE <bill.pittore at oracle.com> wrote:

> Ok, created 8017538.
> 
> bill
> 
> On 6/24/2013 6:42 PM, Christian Thalinger wrote:
>> On Jun 24, 2013, at 3:10 PM, BILL PITTORE <bill.pittore at oracle.com> wrote:
>> 
>>> I've run into some problems trying to build linux-i586-slowdebug and I think it's because of the following in gcc.make
>>> 
>>> Right now we have this:
>>> 
>>>  ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),)
>>>      ifeq ($(USE_CLANG), true)
>>>        # Clang doesn't understand -gstabs
>>>        OPT_CFLAGS += -g
>>>      else
>>>        OPT_CFLAGS += -gstabs
>>>      endif
>>>  endif
>>> 
>>> I think the above should be:
>>> ifeq ($(DEBUG_CFLAGS/$(BUILDARCH)),)
>>>      ifeq ($(USE_CLANG), true)
>>>        # Clang doesn't understand -gstabs
>>>        DEBUG_CFLAGS += -g
>>>      else
>>>        DEBUG_CFLAGS += -gstabs
>>>      endif
>>>  endif
>> Oh, yeah.  It's a copy-paste bug.  Please file a bug and assign it to me.
>> 
>> -- Chris
>> 
>>> If I do that then I'm able to debug with gdb as before. Should I file a bug on this or
>>> is it something already discovered?
>>> 
>>> thanks,
>>> bill
>>> 
> 
> 



More information about the hotspot-runtime-dev mailing list