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]

libstdc++/1986: bootstrap error in CVS gcc libstdc++/libmath/mathconf.h



>Number:         1986
>Category:       libstdc++
>Synopsis:       bootstrap error in CVS gcc libstdc++/libmath/mathconf.h
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 14 17:16:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Matthew Schalit
>Release:        gcc 2.97 cvs  [checked out 2/14]
>Organization:
>Environment:
PATH=/sbin:/usr/sbin:/etc:/usr/bin:/usr/local/bin:/usr/ccs/bin:/usr/local/kde/bin:/usr/X/bin
LIBPATH=/usr/lib:/lib:/usr/local/lib:/usr/ccs/lib:/usr/local/BerkeleyDB/lib
LD_LIBRARY_PATH=/usr/lib:/lib:/usr/local/lib:/usr/ccs/lib:/usr/local/BerkeleyDB/lib


Using   gcc-2.95.2.1
        autconf-2.13
        binutils-2.10.1
        gnu-make-3.79.1
        no UDK (UnixWare Development Kit)


Attempting to build on UnixWare 7.1.1, which is an
i586-sco-sysv5uw7.1.1 HOST.

>Description:

GCC has a bootstrap error when compiling the latest cvs:
  /gcc/libstdc++-v3/libmath/mathconf.h:205:7: #error "We need INFINITE_P"
 
   
Here's what I used to configure gcc:
-------------------------------------------------------
../gcc/configure --enable-threads --enable-shared --enable-languages=c++ --with-as=/usr/bin/as
------------------------------------------------------








Here's what I saw when I after I typed
 gmake bootstrap 
-------------------------------------------------------

/home/matthew/Uber/CVS/objdir/gcc/xgcc -B/home/matthew/Uber/CVS/objdir/gcc/ -B/usr/local/i586-sco-sysv5uw7.1.1/bin/ -B/usr/local/i586-sco-sysv5uw7.1.1/lib/ -isystem /usr/local/i586-sco-sysv5uw7.1.1/include -DHAVE_CONFIG_H -I. -I../../../../gcc/libstdc++-v3/libmath -I.. -I../../../../gcc/libstdc++-v3/include -I../include -g -O2 -c ../../../../gcc/libstdc++-v3/libmath/signbit.c  -fPIC -DPIC -o .libs/signbit.o
In file included from ../../../../gcc/libstdc++-v3/libmath/signbit.c:32:
../../../../gcc/libstdc++-v3/libmath/mathconf.h:205:7: #error "We need INFINITE_P"
gmake[4]: *** [signbit.lo] Error 1
gmake[4]: Leaving directory `/home/matthew/Uber/CVS/objdir/i586-sco-sysv5uw7.1.1/libstdc++-v3/libmath'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/home/matthew/Uber/CVS/objdir/i586-sco-sysv5uw7.1.1/libstdc++-v3'
gmake[2]: *** [all-recursive-am] Error 2
gmake[2]: Leaving directory `/home/matthew/Uber/CVS/objdir/i586-sco-sysv5uw7.1.1/libstdc++-v3'
gmake[1]: *** [all-target-libstdc++-v3] Error 2
gmake[1]: Leaving directory `/home/matthew/Uber/CVS/objdir'
gmake: *** [bootstrap] Error 2
-----------------------------------------------------------------



Thank you for looking at this, and I'd be glad to
provide more info if needed.
Matthew

>How-To-Repeat:

This was noted too, in a post last year by Robert Lipe to
libstdc++@gcc.gnu.org that he has the same error.

>Fix:

>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]