From patchwork Thu Feb 21 16:04:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Fix darwin bootstrap and merge.sh Date: Thu, 21 Feb 2013 06:04:20 -0000 From: Jack Howarth X-Patchwork-Id: 222330 Message-Id: <20130221160419.GA12137@bromo.med.uc.edu> To: gcc-patches@gcc.gnu.org Cc: jakub@redhat.com, dodji@redhat.com, kcc@google.com, dvyukov@google.com, iain@codesourcery.com, mikestump@comcast.net, glider@google.com The attached patch fixes the broken bootstrap on darwin in libsanitizer due to the deprecation of the dynamic/asan_interceptors_dynamic.cc file. The patch also eliminates the merge of the deprecated subdirectory in merge.sh. Bootstrap and asan.exp regression tested on x86_64-apple-darwin12. Okay for gcc trunk? Jack libsanitizer/ 2013-02-21 Jack Howarth * asan/Makefile.am (libasan_la_SOURCES): Remove deprecated dynamic/asan_interceptors_dynamic.cc. * asan/Makefile.in: Regenerated. * merge.sh: Remove merge of deprecated lib/asan/dynamic. Index: libsanitizer/asan/Makefile.am =================================================================== --- libsanitizer/asan/Makefile.am (revision 196205) +++ libsanitizer/asan/Makefile.am (working copy) @@ -37,7 +37,6 @@ asan_files = \ libasan_la_SOURCES = $(asan_files) if USING_MAC_INTERPOSE -libasan_la_SOURCES += dynamic/asan_interceptors_dynamic.cc 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 Index: libsanitizer/merge.sh =================================================================== --- libsanitizer/merge.sh (revision 196205) +++ libsanitizer/merge.sh (working copy) @@ -66,7 +66,6 @@ CUR_REV=$(get_current_rev) echo Current upstream revision: $CUR_REV merge include/sanitizer include/sanitizer merge lib/asan asan -merge lib/asan/dynamic asan/dynamic merge lib/tsan/rtl tsan merge lib/sanitizer_common sanitizer_common merge lib/interception interception