[OE-core] [PATCH] bitbake.conf: reset default value of DEBUG_PREFIX_MAP

Khem Raj raj.khem at gmail.com
Mon Jan 21 02:17:18 UTC 2019


On Sun, Jan 20, 2019 at 6:12 PM Kang Kai <Kai.Kang at windriver.com> wrote:
>
> 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.

Thats ok, not worried about clang at this point. But the patch itself
was not working last time on gcc either. So if that is fixed we can consider it.

>
> Regards,
> Kai
>
>
> >
> >> Ross
>
>
> --
> Kai Kang
>


More information about the Openembedded-core mailing list