From nobody@FreeBSD.org  Thu Jul  1 00:56:31 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CF93516A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  1 Jul 2004 00:56:31 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C93AD43D45
	for <freebsd-gnats-submit@FreeBSD.org>; Thu,  1 Jul 2004 00:56:31 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i610uO4L041709
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 1 Jul 2004 00:56:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i610uOv7041708;
	Thu, 1 Jul 2004 00:56:24 GMT
	(envelope-from nobody)
Message-Id: <200407010056.i610uOv7041708@www.freebsd.org>
Date: Thu, 1 Jul 2004 00:56:24 GMT
From: David Bear <david.bear@asu.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: segfault during make buildworld after cvsup
X-Send-Pr-Version: www-2.3

>Number:         68536
>Category:       kern
>Synopsis:       segfault during make buildworld after cvsup
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 01 01:00:43 GMT 2004
>Closed-Date:    Sun Oct 03 15:00:59 GMT 2004
>Last-Modified:  Sun Oct 03 15:00:59 GMT 2004
>Originator:     David Bear
>Release:        4.10
>Organization:
ASU
>Environment:
dbsrv1# uname -a
FreeBSD dbsrv1.pp.asu.edu 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Tue Jun 29 16:47:57 MST 2004     root@dbsrv1.pp.asu.edu:/usr/src/sys/compile/DBSRV1  i386

>Description:
    I had successfully configure and built and installed my own kernel. There was nothing fancy it. I just removed references to hardware that I know I will never have -- mostly certain scsi/raid cards and nics.
After using the new kernel, I did a cvsupdate to update to RELENG-4 to assure all kernel level security fixes. Then, during a make buildworld I received the following:

..
./../usr.bin/cc/cc_tools  -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I.  -DL_divdi3 -o _divdi3.o /usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.c
/usr/src/contrib/gcc/libgcc2.c: In function `__divdi3':
/usr/src/contrib/gcc/libgcc2.c:757: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1

Stop in /usr/src/gnu/lib/libgcc.
*** Error code 1

Stop in /usr/src.
*** Error code 1
  
I performed a make clean and tried again. I received the same error.
>How-To-Repeat:
      Any make buildworld will throw this error.
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Ruslan Ermilov <ru@freebsd.org>
To: David Bear <david.bear@asu.edu>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/68536: segfault during make buildworld after cvsup
Date: Thu, 1 Jul 2004 12:18:38 +0300

 On Thu, Jul 01, 2004 at 12:56:24AM +0000, David Bear wrote:
 > 
 > After using the new kernel, I did a cvsupdate to update to RELENG-4 to assure all kernel level security fixes. Then, during a make buildworld I received the following:
 > 
 > ..
 > ./../usr.bin/cc/cc_tools  -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc/config -I/usr/src/gnu/lib/libgcc/../../../contrib/gcc -I.  -DL_divdi3 -o _divdi3.o /usr/src/gnu/lib/libgcc/../../../contrib/gcc/libgcc2.c
 > /usr/src/contrib/gcc/libgcc2.c: In function `__divdi3':
 > /usr/src/contrib/gcc/libgcc2.c:757: internal compiler error: Segmentation fault
 > Please submit a full bug report,
 > with preprocessed source if appropriate.
 > See <URL:http://gcc.gnu.org/bugs.html> for instructions.
 > *** Error code 1
 > 
 > Stop in /usr/src/gnu/lib/libgcc.
 > *** Error code 1
 > 
 > Stop in /usr/src.
 > *** Error code 1
 >   
 > I performed a make clean and tried again. I received the same error.
 > 
 Are you sure that you always get it in the same place in
 buildworld?  If not, your hardware may have become flaky.
 
 
 Cheers,
 -- 
 Ruslan Ermilov
 ru@FreeBSD.org
 FreeBSD committer
State-Changed-From-To: open->feedback 
State-Changed-By: arved 
State-Changed-When: Tue Aug 24 17:25:19 GMT 2004 
State-Changed-Why:  
Did you try to boot the old GENERIC kernel, and see if the problem 
persists? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68536 
State-Changed-From-To: feedback->closed 
State-Changed-By: arved 
State-Changed-When: Sun Oct 3 15:00:44 GMT 2004 
State-Changed-Why:  
feedback timeout (1 month) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68536 
>Unformatted:
