On Fri, Aug 30, 2013 at 09:38:01PM +0200, Dominique Dhumieres wrote: > > I've just merged ubsan into trunk. Please send complaints my way. > > Bootstrap is broken on x86_64-apple-darwin10: > > Making all in ubsan > make[4]: *** No rule to make target `../interception/libinterception.la', > needed by `libubsan.la'. Stop. > make[3]: *** [all-recursive] Error 1 > make[2]: *** [all-stage1-target-libsanitizer] Error 2 > make[1]: *** [stage1-bubble] Error 2 > make: *** [all] Error 2
libsanitizer/asan/Makefile.am has if USING_MAC_INTERPOSE libasan_la_LIBADD = $(top_builddir)/sanitizer_common/libsanitizer_common.la else libasan_la_LIBADD = $(top_builddir)/sanitizer_common/libsanitizer_common.la $(top_builddir)/interception/libinterception.la endif libasan_la_LIBADD += $(LIBSTDCXX_RAW_CXX_LDFLAGS) (wonder why not libasan_la_LIBADD = $(top_builddir)/sanitizer_common/libsanitizer_common.la if !USING_MAC_INTERPOSE libasan_la_LIBADD += $(top_builddir)/interception/libinterception.la endif libasan_la_LIBADD += $(LIBSTDCXX_RAW_CXX_LDFLAGS) ). In any case, guess ubsan/Makefile.am needs the same ugliness, and perhaps tsan/Makefile.am too (though, tsan isn't supported on darwin, so it doesn't matter that much). Jakub