http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52197

             Bug #: 52197
           Summary: library cannot be rebuilt by make all-target
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libitm
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: ebotca...@gcc.gnu.org


This is a little annoying for development: you cannot rebuild libitm by the
usual make all-target-libitm or make all-target.  Do a rm -rf $(target)libitm
and then issue one of the former two commands, you get:

/bin/sh ./libtool --tag=CXX   --mode=compile 
-B/home/eric/install/gcc/i586-suse-linux/bin/
-B/home/eric/install/gcc/i586-suse-linux/lib/ -isystem
/home/eric/install/gcc/i586-suse-linux/include -isystem
/home/eric/install/gcc/i586-suse-linux/sys-include    -DHAVE_CONFIG_H -I.
-I/home/eric/svn/gcc/libitm  -I/home/eric/svn/gcc/libitm/config/linux/x86
-I/home/eric/svn/gcc/libitm/config/linux -I/home/eric/svn/gcc/libitm/config/x86
-I/home/eric/svn/gcc/libitm/config/posix
-I/home/eric/svn/gcc/libitm/config/generic -I/home/eric/svn/gcc/libitm 
-march=i486 -mtune=i586 -fomit-frame-pointer -Wall -Werror  -Wc,-pthread
-std=gnu++0x -funwind-tables -fno-exceptions -fno-rtti -fabi-version=4 -g -O2
-D_GNU_SOURCE -MT aatree.lo -MD -MP -MF .deps/aatree.Tpo -c -o aatree.lo
/home/eric/svn/gcc/libitm/aatree.cc
libtool: compile: unrecognized option
`-B/home/eric/install/gcc/i586-suse-linux/bin/'
libtool: compile: Try `libtool --help' for more information.
make[3]: *** [aatree.lo] Error 1

You need to do a make all to rebuild the library.

Reply via email to