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

Michael Drake michael.drake at codethink.co.uk
Fri Oct 18 15:18:13 UTC 2019


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.

Cheers,

Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cfi-fix.diff
Type: text/x-patch
Size: 1928 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20191018/fa4cb02c/attachment-0002.bin>


More information about the buildroot mailing list