Re: [PATCH] Fix bootstrap with libsanitizer (PR sanitizer/82595)

2017-10-20 Thread Richard Biener
On October 19, 2017 9:22:09 PM GMT+02:00, Jakub Jelinek wrote: >Hi! > >The PR claims a bootstrap failure because we link lsan_preinit.cc that >contains .preinit_array section item into the liblsan shared library. > >Of course, this object isn't meant to be linked into the

[PATCH] Fix bootstrap with libsanitizer (PR sanitizer/82595)

2017-10-19 Thread Jakub Jelinek
Hi! The PR claims a bootstrap failure because we link lsan_preinit.cc that contains .preinit_array section item into the liblsan shared library. Of course, this object isn't meant to be linked into the library, but rather handled like libasan_preinit.o - linked directly into executables. The