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

Michael Drake michael.drake at codethink.co.uk
Fri Oct 18 08:51:25 UTC 2019


Hi Matt,

On 17/10/2019 20:17, Matthew Weber wrote:
> On Thu, Oct 17, 2019 at 10:30 AM Michael Drake
> <michael.drake at codethink.co.uk> wrote:
>>
>> From: Matt Weber <matthew.weber at rockwellcollins.com>
>>
>> This patch adds support for the compiler-rt (CLANG runtime) library.
>> It builds a set of static libraries and installs them into the
>> CLANG/LLVM toolchain resource folder.
>>
> 
> 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'

And I believe the missing cfi_blacklist.txt should come with
compiler-rt.

I'll have a look for the feedback from the last series.

Thanks very much for the pointer for and the original patch!

[1] http://clang.llvm.org/docs/ControlFlowIntegrity.html

Best regards,

Michael


More information about the buildroot mailing list