This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Bootstrap failure on i686-pc-linux-gnu
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Bootstrap failure on i686-pc-linux-gnu
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Sat, 16 Sep 2000 00:22:48 -0700
- Organization: CodeSourcery, LLC
I get:
gcc -c -DIN_GCC -g -W -Wall -Wtraditional -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I../../gcc -I../../gcc/config -I../../gcc/../include ../../gcc/cppfiles.c
../../gcc/cppfiles.c: In function `read_include_file':
../../gcc/cppfiles.c:277: warning: implicit declaration of function `getpagesize'
../../gcc/cppfiles.c: In function `purge_cache':
../../gcc/cppfiles.c:367: `caddr_t' undeclared (first use in this function)
../../gcc/cppfiles.c:367: (Each undeclared identifier is reported only once
../../gcc/cppfiles.c:367: for each function it appears in.)
../../gcc/cppfiles.c:367: parse error before `inc'
../../gcc/cppfiles.c:366: warning: empty body in an if-statement
../../gcc/cppfiles.c:367: warning: left-hand operand of comma expression has no effect
../../gcc/cppfiles.c:367: parse error before `)'
Under the version of glibc I have installed, caddr_t is only defined
if _BSD_SOURCE is defined when compiling.
I'm going to change this to a char*, and bootstrap like that. Since
ggc-page.c uses char*, rather than caddr_t, that is probably good
enough.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com