http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55389
Bug #: 55389 Summary: library cannot be rebuilt by make all-target Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassig...@gcc.gnu.org ReportedBy: ebotca...@gcc.gnu.org This is the same issue as PR libitm/52197, but for libsanitizer: you cannot rebuild the library by the usual make all-target-libsanitizer or make all-target. Do a rm -rf $(target)libsanitizer and then issue one of the former two commands, you get: /bin/sh ../libtool --tag=CXX --mode=compile -B/home/eric/install/gcc/x86_64-suse-linux/bin/ -B/home/eric/install/gcc/x86_64-suse-linux/lib/ -isystem /home/eric/install/gcc/x86_64-suse-linux/include -isystem /home/eric/install/gcc/x86_64-suse-linux/sys-include -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -I/home/eric/svn/gcc/libsanitizer/interception -I /home/eric/svn/gcc/libsanitizer/include -Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fvisibility=hidden -Wno-variadic-macros -Wno-c99-extensions -g -O2 -D_GNU_SOURCE -MT interception_linux.lo -MD -MP -MF .deps/interception_linux.Tpo -c -o interception_linux.lo /home/eric/svn/gcc/libsanitizer/interception/interception_linux.cc libtool: compile: unrecognized option `-B/home/eric/install/gcc/x86_64-suse-linux/bin/' libtool: compile: Try `libtool --help' for more information. make[2]: *** [interception_linux.lo] Error 1 make[2]: Leaving directory `/home/eric/build/gcc/native/x86_64-suse-linux/libsanitizer/interception' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/eric/build/gcc/native/x86_64-suse-linux/libsanitizer' make: *** [all-target-libsanitizer] Error 2