[Buildroot] [RFC PATCH v2 10/30] package/compiler-rt: new package

Matthew Weber matthew.weber at collins.com
Wed Oct 23 21:54:08 UTC 2019


Michael / Romain / Arnout,


On Fri, Oct 18, 2019 at 10:18 AM Michael Drake
<michael.drake at codethink.co.uk> wrote:
>
> Hi Matthew,
>
> On 18/10/2019 09:51, Michael Drake wrote:
> > On 17/10/2019 20:17, Matthew Weber wrote:
>
> >> FYI, I plan to publish (soon) a cleaned up version of my original
> >> series which add the compiler-rt feature.  That refreshed patchset
> >> would have the feedback from my last series that's missing here.
> >
> > Ooh, that's really interesting.  At this very moment I am actually
> > working on adding a host-compiler-rt.  Currently I'm disabling
> > CFI[1] in the CEF/Chromium build with `is_cfi=false`.
> >
> > When I enable that feature, I get clang errors like:
> >
> > clang++: error: no such file or directory:
> >   '/home/tlsa/buildroot/output/host/lib/clang/8.0.0/share/cfi_blacklist.txt'
>
> I tracked this down, btw.  The attached patch fixes it.
>
> Basically, we create links for all the libclang_rt.* stuff
> for host-clang, but they use some data files in the share
> directory too, that weren't getting copied.

I incorporated that symlink fix into the clang v8 series [1].  The new
series is now just two patches as it leverages a new clang
cross-compiler framework.  The new framework is provided in Romain's
clang cross-compiler series [2] and needs to be applied first (or the
core parts of it).

Regards,
Matt

[1] http://patchwork.ozlabs.org/project/buildroot/list/?series=138196
[2] http://patchwork.ozlabs.org/project/buildroot/list/?series=129565



More information about the buildroot mailing list