[Buildroot] [External] Re: [PATCH] toolchain: introduce config options to include GCC's sanitation libraries

Matthew Weber matthew.weber at collins.com
Sun Oct 27 19:17:15 UTC 2019


Markus,


On Sat, Oct 26, 2019 at 4:48 PM Markus Mayer <markus.mayer at broadcom.com> wrote:
>
> On Sat, 26 Oct 2019 at 12:03, Matthew Weber <matthew.weber at collins.com> wrote:
> >
> > Markus,
> >
> > On Sat, Oct 26, 2019 at 1:29 PM Markus Mayer <mmayer at broadcom.com> wrote:
> > >
> > > Hi all,
> > >
> > > On Wed, 5 Jun 2019 at 14:42, Markus Mayer <mmayer at broadcom.com> wrote:
> > > >
> > > > We add config options for external toolchains to allow copying the
> > > > following libraries into the root file system:
> > > >
> > > >   - libasan (-fsanitize=address)
> > > >   - liblsan (-fsanitize=leak)
> > > >   - libtsan (-fsanitize=thread)
> > > >   - libubsan (-fsanitize=undefined)
> > > >
> > > > Copying these shared libraries into the root file system will add
> > > > run-time support for binaries compiled with one of the above "sanitize"
> > > > options for enhanced run-time debugging.

I've extended then existing external toolchain additional libraries
hook via this patch.  It should apply to all toolchain types.
http://patchwork.ozlabs.org/patch/1185020/

Regards,
Matt



More information about the buildroot mailing list