Revision 139762

Jump to revision:            
Author: hubicka
Date:   Fri Aug 29 11:39:04 2008 UTC (35 hours, 39 minutes ago)
Log Message:    
        * doc/invoke.texi (-fipa-cp): Enabled by default at -O2/-Os/-O3
        (-fipa-cp-clone): Enabled by default at -O3.
        * opts.c (decode_options): Enable ipa-cp at -O2, ipa-cp-clone at -O3;
        make ipa-cp-clone to imply ipa-cp; disable cloning at -Os.

results in the following error on i686-apple-darwin9....

/bin/sh ../libtool --tag CXX --mode=compile
/sw/src/fink.build/gcc44-4.3.999-20080829/darwin_objdir/./gcc/xgcc
-shared-libgcc -B/sw/src/fink.build/gcc44-4.3.999-20080829/darwin_objdir/./gcc
-nostdinc++
-L/sw/src/fink.build/gcc44-4.3.999-20080829/darwin_objdir/i686-apple-darwin9/libstdc++-v3/src
-L/sw/src/fink.build/gcc44-4.3.999-20080829/darwin_objdir/i686-apple-darwin9/libstdc++-v3/src/.libs
-B/sw/lib/gcc4.4/i686-apple-darwin9/bin/
-B/sw/lib/gcc4.4/i686-apple-darwin9/lib/ -isystem
/sw/lib/gcc4.4/i686-apple-darwin9/include -isystem
/sw/lib/gcc4.4/i686-apple-darwin9/sys-include 
-I/sw/src/fink.build/gcc44-4.3.999-20080829/darwin_objdir/i686-apple-darwin9/libstdc++-v3/include/i686-apple-darwin9
-I/sw/src/fink.build/gcc44-4.3.999-20080829/darwin_objdir/i686-apple-darwin9/libstdc++-v3/include
-I/sw/src/fink.build/gcc44-4.3.999-20080829/gcc-4.4-20080829/libstdc++-v3/libsupc++
-I/sw/include -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
 -fdiagnostics-show-location=once -fvisibility-inlines-hidden
-ffunction-sections -fdata-sections  -g -O2    -c -o bitmap_allocator.lo
../../../../gcc-4.4-20080829/libstdc++-v3/src/bitmap_allocator.cc
libtool: compile: 
/sw/src/fink.build/gcc44-4.3.999-20080829/darwin_objdir/./gcc/xgcc
-shared-libgcc -B/sw/src/fink.build/gcc44-4.3.999-20080829/darwin_objdir/./gcc
-nostdinc++
-L/sw/src/fink.build/gcc44-4.3.999-20080829/darwin_objdir/i686-apple-darwin9/libstdc++-v3/src
-L/sw/src/fink.build/gcc44-4.3.999-20080829/darwin_objdir/i686-apple-darwin9/libstdc++-v3/src/.libs
-B/sw/lib/gcc4.4/i686-apple-darwin9/bin/
-B/sw/lib/gcc4.4/i686-apple-darwin9/lib/ -isystem
/sw/lib/gcc4.4/i686-apple-darwin9/include -isystem
/sw/lib/gcc4.4/i686-apple-darwin9/sys-include
-I/sw/src/fink.build/gcc44-4.3.999-20080829/darwin_objdir/i686-apple-darwin9/libstdc++-v3/include/i686-apple-darwin9
-I/sw/src/fink.build/gcc44-4.3.999-20080829/darwin_objdir/i686-apple-darwin9/libstdc++-v3/include
-I/sw/src/fink.build/gcc44-4.3.999-20080829/gcc-4.4-20080829/libstdc++-v3/libsupc++
-I/sw/include -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -fvisibility-inlines-hidden
-ffunction-sections -fdata-sections -g -O2 -c
../../../../gcc-4.4-20080829/libstdc++-v3/src/bitmap_allocator.cc  -fno-common
-DPIC -o .libs/bitmap_allocator.o
/var/tmp//ccnZtLXp.s:unknown:Non-global symbol: _T.292.eh can't be a
weak_definition
/var/tmp//ccnZtLXp.s:unknown:Non-global symbol: _T.293.eh can't be a
weak_definition
make[4]: *** [bitmap_allocator.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libstdc++-v3] Error 2
make: *** [all] Error 2

This prevents bootstrapping the c++ compiler on darwin.


-- 
           Summary: r139762 breaks libstdc++ build on darwin
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: i686-apple-darwin9
  GCC host triplet: i686-apple-darwin9
GCC target triplet: i686-apple-darwin9


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

Reply via email to