[OE-core] [PATCH] bitbake.conf: reset default value of DEBUG_PREFIX_MAP
Kang Kai
Kai.Kang at windriver.com
Mon Jan 21 02:12:02 UTC 2019
On 2019/1/19 上午4:54, Khem Raj wrote:
> On Fri, Jan 18, 2019 at 12:43 PM Burton, Ross <ross.burton at intel.com> wrote:
>> On Fri, 18 Jan 2019 at 17:55, Khem Raj <raj.khem at gmail.com> wrote:
>>> I am bit concerned about using -ffile-prefix-map here, its gcc only
>>> option so will cause clang to fail
>> It's almost like we need a toolchain override so this can be gcc-specific...
>>
>> I've been meaning to do that for about a year now :(
>>
>> Until then, couldn't meta-clang just override the value from the layer?
> yes it can, but one by one there are many changes to keep and core becomes
> tied to gcc. We should be conscious about it.
From the link https://reviews.llvm.org/D49466 pasted by Dan, we know
that clang will support option '-ffile-prefix-map'.
I prefer to override DEBUG_PREFIX_MAP in meta-clang and remove it when
clang support for '-ffile-prefix-map' implemented.
Regards,
Kai
>
>> Ross
--
Kai Kang
More information about the Openembedded-core
mailing list