On Sun, Sep 22, 2002 at 02:44:54PM +0300, Giorgos Keramidas wrote:
> On 2002-09-21 23:53, "Crist J. Clark" <[EMAIL PROTECTED]> wrote:
> > I've been unable to build CURRENT on STABLE for a few days. I made
> > sure to bring STABLE up to date. Is this just me? Is there a problem
> > with building CURRENT on STABLE at the moment?
> 
> It isn't just you.  The same error stopped my build of current 2-3
> days ago on 4.6-RELEASE.
> 
> >  if [ -f .olddep ]; then mv .olddep .depend; fi
> >  rm -f .newdep
> >  make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES -V GEN_M_CFILES |  MKDEP_CPP="cc 
>-E" CC="cc" xargs mkdep -a -f .newdep -O -pipe -march=pentium3 -Wall 
>-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
>-Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I-  -I. 
>-I/usr/src.CURRENT/sys -I/usr/src.CURRENT/sys/dev 
>-I/usr/src.CURRENT/sys/contrib/dev/acpica -I/usr/src.CURRENT/sys/contrib/ipfilter 
>-D_KERNEL -include opt_global.h -fno-common  -mpreferred-stack-boundary=2 
>-ffreestanding
> >  cc: Internal error: Segmentation fault (program cpp0)
> >  Please submit a full bug report.
> >  See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
> >  mkdep: compile failed
> >  *** Error code 1

Try 'make depend && make' using cpp0 built from -CURRENT source
newer than the first import of gcc 3.2.1 prerelease:

$ pushd /usr/src/gnu/usr.bin/cc
$ make obj && make depend && make
$ popd
$ GCC_EXEC_PREFIX=/usr/obj/usr/src/usr.bin/cc/cpp0/ make depend
$ GCC_EXEC_PREFIX=/usr/obj/usr/src/usr.bin/cc/cpp0/ make

should work unless you are doing a cross-platform compiling.
The bug in cpp0 seems to me to have been fixed after the first
import of gcc 3.2.1-prerelease (2002-09-02(UTC)).

Cheers.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to