Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2002 22:22:23 +0900
From:      qhwt@myrealbox.com
To:        current@FreeBSD.ORG
Subject:   Re: Trouble Building CURRENT on STABLE, cpp seg. fault
Message-ID:  <20020922132223.GA15519.qhwt@myrealbox.com>
In-Reply-To: <20020922114454.GB8150@hades.hell.gr>
References:  <20020922065306.GB36099@blossom.cjclark.org> <20020922114454.GB8150@hades.hell.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 22, 2002 at 02:44:54PM +0300, Giorgos Keramidas wrote:
> On 2002-09-21 23:53, "Crist J. Clark" <crist.clark@attbi.com> 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020922132223.GA15519.qhwt>