On Sun, Jan 20, 2019 at 6:12 PM Kang Kai <kai.k...@windriver.com> wrote: > > On 2019/1/19 上午4:54, Khem Raj wrote: > > On Fri, Jan 18, 2019 at 12:43 PM Burton, Ross <ross.bur...@intel.com> wrote: > >> On Fri, 18 Jan 2019 at 17:55, Khem Raj <raj.k...@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 > -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core