From mboxrd@z Thu Jan 1 00:00:00 1970 From: Romain Naour Date: Tue, 20 Nov 2018 23:36:57 +0100 Subject: [Buildroot] [PATCH v2 2/6] package/llvm: install target binary/debug tools In-Reply-To: References: <1542426982-54683-1-git-send-email-matthew.weber@rockwellcollins.com> <1542426982-54683-2-git-send-email-matthew.weber@rockwellcollins.com> <50862e38-68c7-e166-a719-82ab28f7aad9@smile.fr> Message-ID: <6b1c1219-de01-1012-09a8-eb33181cc2bc@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hi Matt, Le 19/11/2018 ? 14:04, Matthew Weber a ?crit?: > Romain, > > On Mon, Nov 19, 2018 at 2:10 AM Romain Naour wrote: >> >> Hi Matt, >> >> Le lun. 19 nov. 2018 ? 02:48, Matthew Weber a ?crit : >>> >>> Romain, >>> >>> On Sun, Nov 18, 2018 at 1:14 PM Romain Naour 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 >>>>> Reviewed-by: Romain Naour >>>> >>>> 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. >> > > Would you mind sharing your verbose output and equivalent of cmake > config guess/status? > I need to rebuild from scratch since I've fixed the build locally. I'll restart a new one next week-end. Best regards, Romain