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

           Summary: gcc fails to compile on darwin (with lto)
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: vincenzo.innoce...@cern.ch


compiling gcc on darwin stops at
/Users/innocent/RealStuff/gcc-4.7-20110528/host-x86_64-apple-darwin10.7.0/prev-gcc/xgcc
-B/Users/innocent/RealStuff/gcc-4.7-20110528/host-x86_64-apple-darwin10.7.0/prev-gcc/
-B/usr/local/x86_64-apple-darwin10.7.0/bin/
-B/usr/local/x86_64-apple-darwin10.7.0/bin/
-B/usr/local/x86_64-apple-darwin10.7.0/lib/ -isystem
/usr/local/x86_64-apple-darwin10.7.0/include -isystem
/usr/local/x86_64-apple-darwin10.7.0/sys-include    -c  -DIN_GCC_FRONTEND
-DIN_GCC_FRONTEND -g -O2 -mdynamic-no-pic -flto=jobserver -frandom-seed=1
-DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes
-Wmissing-prototypes  -Wold-style-definition -Wc++-compat -fno-common 
-DHAVE_CONFIG_H -I. -Ic-family -I../.././gcc -I../.././gcc/c-family
-I../.././gcc/../include -I./../intl -I../.././gcc/../libcpp/include 
-I../.././gcc/../libdecnumber -I../.././gcc/../libdecnumber/dpd
-I../libdecnumber    ../.././gcc/c-family/c-common.c -o c-family/c-common.o
/var/folders/Ur/UrR7agy72RWuJU+BYnMxQU+++TQ/-Tmp-//ccISnqXM.s:287338:FATAL:too
many sections (maximum 255)


/Users/innocent/RealStuff/gcc-4.7-20110528/host-x86_64-apple-darwin10.7.0/prev-gcc/xgcc
-v
Using built-in specs.
COLLECT_GCC=/Users/innocent/RealStuff/gcc-4.7-20110528/host-x86_64-apple-darwin10.7.0/prev-gcc/xgcc
Target: x86_64-apple-darwin10.7.0
Configured with: ./configure --enable-languages=c,c++,fortran --enable-lto
--with-build-config=bootstrap-lto CFLAGS='-O2 -ftree-vectorize -fPIC'
CXXFLAGS='-O2 -fPIC -ftree-vectorize -fvisibility-inlines-hidden'
Thread model: posix
gcc version 4.7.0 20110528 (experimental) (GCC) 

it is the first time I try lto on MAC 
removing -flto compile

Reply via email to