[Buildroot] [PATCH v2 2/6] package/llvm: install target binary/debug tools

Romain Naour romain.naour at gmail.com
Mon Nov 19 08:09:45 UTC 2018


Hi Matt,

Le lun. 19 nov. 2018 à 02:48, Matthew Weber <
matthew.weber at rockwellcollins.com> a écrit :

> Romain,
>
> On Sun, Nov 18, 2018 at 1:14 PM Romain Naour <romain.naour at smile.fr>
> wrote:
> >
> > Hi Matt,
> >
> > Le 17/11/2018 à 04:56, Matt Weber a écrit :
> > > The compiler-rt fuzzer and address sanitizer tools require additional
> > > LLVM binary tools installed to allow stack trace decoding actively
> during
> > > executable analysis.
> > >
> > > https://github.com/google/sanitizers/wiki/AddressSanitizerCallStack
> > >
> > > Signed-off-by: Matthew Weber <matthew.weber at rockwellcollins.com>
> > > Reviewed-by: Romain Naour <romain.naour at smile.fr>
> >
> > For some reason I get an error while building llvm package tools.
> >
> > x86_64-linux-g++: WARNING: unsafe header/library path used in
> cross-compilation:
> > '-I/usr/include/libxml2'
> >
> > Can you have a look?
>
> I went back and checked my logs on the clang compiler-rt run-test
> build for that warning and didn't find it.  I then checked and my
> config and it has the unsafe header/library as error.  Was your build
> test just applying my patches and doing an explicit 'make llvm'?
>

Indeed,
Some tools use libxml2, so you have to add target libxml2 package as build
dependency.

Best regards,
Romain


> Thanks
> Matt
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20181119/ae4b7cff/attachment-0002.html>


More information about the buildroot mailing list