From owner-freebsd-current Tue Sep 24 0: 0:56 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B99437B401 for ; Tue, 24 Sep 2002 00:00:54 -0700 (PDT) Received: from sccrmhc03.attbi.com (sccrmhc03.attbi.com [204.127.202.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id B745043E6A for ; Tue, 24 Sep 2002 00:00:53 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: from blossom.cjclark.org ([12.234.91.48]) by sccrmhc03.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020924070051.UGCP28420.sccrmhc03.attbi.com@blossom.cjclark.org>; Tue, 24 Sep 2002 07:00:51 +0000 Received: from blossom.cjclark.org (localhost. [127.0.0.1]) by blossom.cjclark.org (8.12.3/8.12.3) with ESMTP id g8O70nWn044709; Tue, 24 Sep 2002 00:00:50 -0700 (PDT) (envelope-from crist.clark@attbi.com) Received: (from cjc@localhost) by blossom.cjclark.org (8.12.3/8.12.3/Submit) id g8O70j06044708; Tue, 24 Sep 2002 00:00:45 -0700 (PDT) X-Authentication-Warning: blossom.cjclark.org: cjc set sender to crist.clark@attbi.com using -f Date: Tue, 24 Sep 2002 00:00:45 -0700 From: "Crist J. Clark" To: Alexander Kabaev Cc: bloom@acm.org, keramida@ceid.upatras.gr, current@FreeBSD.ORG Subject: Re: Trouble Building CURRENT on STABLE, cpp seg. fault Message-ID: <20020924070045.GA44674@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20020922065306.GB36099@blossom.cjclark.org> <20020922114454.GB8150@hades.hell.gr> <3D8E5680.BCC442F5@acm.org> <20020922230956.50aa3ba9.kabaev@bellatlantic.net> <20020923195549.GB42004@blossom.cjclark.org> <20020923155946.5ff13436.ak03@gte.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020923155946.5ff13436.ak03@gte.com> User-Agent: Mutt/1.4i X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Sep 23, 2002 at 03:59:46PM -0400, Alexander Kabaev wrote: > On Mon, 23 Sep 2002 12:55:49 -0700 > "Crist J. Clark" wrote: > > > It seems to have worked. Thanks. > > Sorry for inconvenience, but could you please check that you got the > latest version of the patch. Both versions will fix the bug, but the > version I copied on freefall several hours ago appears to be more > correct. Not too sure about that. Now I'm getting SIGSEGV again, 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 for instructions. mkdep: compile failed *** Error code 1 Stop in /home/cjc/obj/usr/src.CURRENT/sys/GOKU. *** Error code 1 Stop in /home/cjc/obj/usr/src.CURRENT/sys/GOKU. *** Error code 1 Stop in /usr/src.CURRENT. *** Error code 1 Stop in /usr/src.CURRENT. And I had this patch, $ cvs diff cppmacro.c Index: cppmacro.c =================================================================== RCS file: /export/freebsd/ncvs/src/contrib/gcc/cppmacro.c,v retrieving revision 1.1.1.4 diff -u -r1.1.1.4 cppmacro.c --- cppmacro.c 1 Sep 2002 20:37:29 -0000 1.1.1.4 +++ cppmacro.c 23 Sep 2002 20:39:38 -0000 @@ -349,6 +349,8 @@ /* Commit the memory, including NUL, and return the token. */ len = dest - BUFF_FRONT (pfile->u_buff); + if ((size_t) (BUFF_LIMIT (pfile->u_buff) - dest) < 1) + _cpp_extend_buff (pfile, &pfile->u_buff, 1); BUFF_FRONT (pfile->u_buff) = dest + 1; return new_string_token (pfile, dest - len, len); } For the buildworld and buildkernel. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message