bootstrap/5867: gcc-20020304 bootstrap fails on Apple Darwin (== MacOS X)

Nelson H. F. Beebe beebe@math.utah.edu
Thu Mar 7 07:56:00 GMT 2002


>Number:         5867
>Category:       bootstrap
>Synopsis:       gcc-20020304 bootstrap fails on Apple Darwin (== MacOS X)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 07 07:56:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Nelson H. F. Beebe
>Release:        3.1 20020304 (prerelease)
>Organization:
Department of Mathematics, University of Utah
>Environment:
Apple PowerMac G4 (2 533 MHz CPUs, 256MB RAM);    Darwin 1.4
host: powerpc-apple-darwin5.2
build: powerpc-apple-darwin5.2
target: powerpc-apple-darwin5.2
configured with: ../gcc-20020304/configure --prefix=/usr/local/test --enable-cpplib --enable-libgcj --enable-shared --enable-version-specific-runtime-libs --with-local-prefix=/usr/local --enable-threads
>Description:
The gcc-20020304 bootstrap fails on Apple Darwin (== MacOS X) like
this:

/local/build/gcc-20020304-build/gcc/xgcc -shared-libgcc \
	-B/local/build/gcc-20020304-build/gcc/ -nostdinc++ \
	-L/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/src \
	-L/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/src/.libs \
	-B/usr/local/test/powerpc-apple-darwin5.2/bin/ \
	-B/usr/local/test/powerpc-apple-darwin5.2/lib/ -isystem \
	/usr/local/test/powerpc-apple-darwin5.2/include -nostdinc++ \
	-I/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/powerpc-apple-darwin5.2 \
	-I/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include \
	-I../../../../gcc-20020304/libstdc++-v3/libsupc++ \
	-I../../../../gcc-20020304/libstdc++-v3/libmath -g -O2 \
	-fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline \
	-fdiagnostics-show-location=once -g -c \
	../../../../gcc-20020304/libstdc++-v3/src/globals.cc -o globals.o
In file included from /local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/bits/localefwd.h:48,
                 from /local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/ios:48,
                 from /local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/istream:44,
                 from /local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/fstream:45,
                 from ../../../../gcc-20020304/libstdc++-v3/src/globals.cc:30:
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/cctype:66: `
   isalnum' not declared
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/cctype:67: `
   isalpha' not declared
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/cctype:68: `
   iscntrl' not declared
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/cctype:69: `
   isdigit' not declared
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/cctype:70: `
   isgraph' not declared
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/cctype:71: `
   islower' not declared
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/cctype:72: `
   isprint' not declared
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/cctype:73: `
   ispunct' not declared
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/cctype:74: `
   isspace' not declared
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/cctype:75: `
   isupper' not declared
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/cctype:76: `
   isxdigit' not declared
In file included from /local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/bits/locale_facets.h:392,
                 from /local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/bits/basic_ios.h:41,
                 from /local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/ios:51,
                 from /local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/istream:44,
                 from /local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/fstream:45,
                 from ../../../../gcc-20020304/libstdc++-v3/src/globals.cc:30:
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/powerpc-apple-darwin5.2/bits/ctype_inline.h: In
   member function `bool std::ctype<char>::is(unsigned int, char) const':
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/powerpc-apple-darwin5.2/bits/ctype_inline.h:50: no
   matching function for call to `isspace(char&)'
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/powerpc-apple-darwin5.2/bits/ctype_inline.h:53: no
   matching function for call to `isprint(char&)'
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/powerpc-apple-darwin5.2/bits/ctype_inline.h:56: no
   matching function for call to `iscntrl(char&)'
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/powerpc-apple-darwin5.2/bits/ctype_inline.h:59: no
   matching function for call to `isupper(char&)'
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/powerpc-apple-darwin5.2/bits/ctype_inline.h:62: no
   matching function for call to `islower(char&)'
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/powerpc-apple-darwin5.2/bits/ctype_inline.h:65: no
   matching function for call to `isalpha(char&)'
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/powerpc-apple-darwin5.2/bits/ctype_inline.h:68: no
   matching function for call to `isdigit(char&)'
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/powerpc-apple-darwin5.2/bits/ctype_inline.h:71: no
   matching function for call to `ispunct(char&)'
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/powerpc-apple-darwin5.2/bits/ctype_inline.h:74: no
   matching function for call to `isxdigit(char&)'
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/powerpc-apple-darwin5.2/bits/ctype_inline.h:77: no
   matching function for call to `isalnum(char&)'
/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/include/powerpc-apple-darwin5.2/bits/ctype_inline.h:80: no
   matching function for call to `isgraph(char&)'
make[4]: *** [globals.lo] Error 1
make[4]: Leaving directory `/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/local/build/gcc-20020304-build/powerpc-apple-darwin5.2/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/local/build/gcc-20020304-build'
make: *** [bootstrap] Error 2

>How-To-Repeat:
env CC=gcc ../gcc-20020304/configure \
	--prefix=/usr/local/test \
	--enable-cpplib \
	--enable-libgcj \
	--enable-shared \
	--enable-version-specific-runtime-libs \
	--with-local-prefix=/usr/local \
	--enable-threads &&
		make bootstrap

The failure happens about 90 minutes into the build.

>Fix:

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- Center for Scientific Computing       FAX: +1 801 585 1640, +1 801 581 4148 -
- University of Utah                    Internet e-mail: beebe@math.utah.edu  -
- Department of Mathematics, 110 LCB        beebe@acm.org  beebe@computer.org -
- 155 S 1400 E RM 233                       beebe@ieee.org                    -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list