OK got it to work. Compiled everything using GCC using these flags:
-fsanitize=address to CFLAGS, CXXFLAGS and LDFLAGS On Saturday, May 19, 2018 at 1:52:12 PM UTC+2, MK wrote: > > Thanks! Ok so I should try to build everything either in gcc or clang. Can > you specify which configure flags I should use in gcc and which in clang? > In Internet there is so many confusing answers. > > On Sat, 19 May 2018, 11:26 Yuri Gribov, <tetra2...@gmail.com> wrote: > >> On Fri, May 18, 2018 at 11:05 PM, Konstantin Serebryany >> <konstantin.s.serebry...@gmail.com> wrote: >> > >> > >> > On Fri, May 18, 2018 at 2:30 PM MK <marcin...@gmail.com> wrote: >> >> >> >> Hi kcc, >> >> >> >> Thanks for your hint. It did get me further to some point. >> >> >> >> I successfully compiled Ruby, libxml2, libxst and Nokogiri with ASan, >> but >> >> when I run it I still get: >> >> I think using GCC and Clang to built different parts of the program >> (and preloading GCC's Asan runtime to Clang-built executable) may be >> part of the problem. >> >> -Y >> >> -- >> You received this message because you are subscribed to the Google Groups >> "address-sanitizer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to address-sanitizer+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "address-sanitizer" group. To unsubscribe from this group and stop receiving emails from it, send an email to address-sanitizer+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.