On Fri, Nov 30, 2012 at 12:45 AM, Richard Biener <richard.guent...@gmail.com> wrote: > On Thu, Nov 29, 2012 at 6:40 PM, H.J. Lu <hongjiu...@intel.com> wrote: >> Hi, >> >> When GCC is configured with --with-build-config="bootstrap-asan", all >> -flto tests will fail since -fsanitize=address is used to compile host >> libiberty, which is used to create liblto_plugin.so, and linker isn't >> compiled with -fsanitize=address. This patch filters out >> -fsanitize=address from CFLAGS if we aren't in a combined tree with >> binutils. OK to install? > > Why not simply ensure that only host _executables_ are sanitized? >
Host libiberty library is used to create both host executables and host plugins. We don't have separate host libiberty libraries for them. -- H.J.