This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c++/4060: Failure building eh_alloc.o for C++ on 'make bootstrap'



>Number:         4060
>Category:       c++
>Synopsis:       Failure building eh_alloc.o for C++ on 'make bootstrap'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 18 21:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Mike Fitzgibbon
>Release:        gcc-3.0.0
>Organization:
>Environment:
Stock Mandrake 8.0
System is an AMD 1.33 GHz w/ 512 MB SDRAM
>Description:
Created and cd'd to a build directory
Ran: ../gcc-3.0/configure  --enable-languages=c,c++ --enable-threads
Ran: make bootstrap
Info for gcc:
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0/specs
Configured with: ../gcc-3.0/configure --enable-languages=c
Thread model: single
gcc version 3.0
(from gcc-3.0.tar.gz, host&target are i686-pc-linux-gnu)
Make failed with:
/bin/sh ../libtool --tag CXX --tag disable-shared                --mode=compile /home/mikef/gcc-build/gcc/xgcc -B/home/mikef/gcc-build/gcc/ -nostdinc++  -L/home/mikef/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src -L/home/mikef/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -I../../../../gcc-3.0/libstdc++-v3/../gcc -I../../../../gcc-3.0/libstdc++-v3/../include      -I../../../../gcc-3.0/libstdc++-v3/include -I../../../../gcc-3.0/libstdc++-v3/include/std -I../../../../gcc-3.0/libstdc++-v3/include/c_std -I../include  -I../../../../gcc-3.0/libstdc++-v3/libsupc++            -g -O2 -D_GNU_SOURCE -fno-implicit-templates   -prefer-pic     -Wall -Wno-format -W -Wwrite-strings -Winline  -fdiagnostics-show-location=once                 -ffunction-sections -fdata-sections  -g    -c ../../../../gcc-3.0/libstdc++-v3/libsupc++/eh_alloc.cc
/home/mikef/gcc-build/gcc/xgcc -B/home/mikef/gcc-build/gcc/ -nostdinc++ -L/home/mikef/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src -L/home/mikef/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -I../../../../gcc-3.0/libstdc++-v3/../gcc -I../../../../gcc-3.0/libstdc++-v3/../include -I../../../../gcc-3.0/libstdc++-v3/include -I../../../../gcc-3.0/libstdc++-v3/include/std -I../../../../gcc-3.0/libstdc++-v3/include/c_std -I../include -I../../../../gcc-3.0/libstdc++-v3/libsupc++ -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c ../../../../gcc-3.0/libstdc++-v3/libsupc++/eh_alloc.cc  -fPIC -DPIC -o eh_alloc.o
In file included from ../../../../gcc-3.0/libstdc++-v3/libsupc++/eh_alloc.cc:39:
../include/bits/gthr.h:29:2: invalid preprocessing directive #_GLIBCPP_ifndef
../include/bits/gthr.h:30:2: invalid preprocessing directive #_GLIBCPP_define
../include/bits/gthr.h:84:2: invalid preprocessing directive #_GLIBCPP_if
../include/bits/gthr.h:85:2: invalid preprocessing directive #_GLIBCPP_include
../include/bits/gthr.h:86:2: invalid preprocessing directive #_GLIBCPP_elif
../include/bits/gthr.h:87:2: invalid preprocessing directive #_GLIBCPP_include
../include/bits/gthr.h:88:2: invalid preprocessing directive #_GLIBCPP_elif
../include/bits/gthr.h:89:2: invalid preprocessing directive #_GLIBCPP_include
../include/bits/gthr.h:92:2: invalid preprocessing directive #_GLIBCPP_elif
../include/bits/gthr.h:93:2: invalid preprocessing directive #_GLIBCPP_if
../include/bits/gthr.h:94:2: invalid preprocessing directive #_GLIBCPP_ifndef
../include/bits/gthr.h:95:2: invalid preprocessing directive #_GLIBCPP_define
../include/bits/gthr.h:96:2: invalid preprocessing directive #_GLIBCPP_endif
../include/bits/gthr.h:97:2: invalid preprocessing directive #_GLIBCPP_endif
../include/bits/gthr.h:98:2: invalid preprocessing directive #_GLIBCPP_include
../include/bits/gthr.h:101:2: invalid preprocessing directive #_GLIBCPP_else
../include/bits/gthr.h:102:2: invalid preprocessing directive #_GLIBCPP_include
../include/bits/gthr.h:103:2: invalid preprocessing directive #_GLIBCPP_endif
../include/bits/gthr.h:105:2: invalid preprocessing directive #_GLIBCPP_endif
make[4]: *** [eh_alloc.lo] Error 1
make[4]: Leaving directory `/home/mikef/gcc-build/i686-pc-linux-gnu/libstdc++-v3/libsupc++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/mikef/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/home/mikef/gcc-build/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/home/mikef/gcc-build'
make: *** [bootstrap] Error 2
>How-To-Repeat:
All variations I tried that build c++ fail at this point.
(configure and make w/o options, 
configure --enable-languages=c++; make
configure i586_linux; make bootstrap) 
>Fix:
None found
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]