From owner-freebsd-current@FreeBSD.ORG Thu Dec 9 18:10:35 2004 Return-Path: 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 812F816A4CE for ; Thu, 9 Dec 2004 18:10:35 +0000 (GMT) Received: from ack.Berkeley.EDU (ack.Berkeley.EDU [128.32.206.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4792143D39 for ; Thu, 9 Dec 2004 18:10:35 +0000 (GMT) (envelope-from mhunter@ack.Berkeley.EDU) Received: (from mhunter@localhost) by ack.Berkeley.EDU (8.11.3/8.11.3) id iB9IAYc18796; Thu, 9 Dec 2004 10:10:34 -0800 (PST) Date: Thu, 9 Dec 2004 10:10:34 -0800 From: Mike Hunter To: Steve Kargl Message-ID: <20041209181034.GA16160@ack.Berkeley.EDU> References: <20041209002430.GA18622@ack.Berkeley.EDU> <20041209002939.GB7272@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041209002939.GB7272@troutmask.apl.washington.edu> User-Agent: Mutt/1.5.6i cc: freebsd-current@freebsd.org Subject: Re: coredump while trying to build world (2004.12.08.1600-0800 src) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Dec 2004 18:10:35 -0000 On Dec 08, "Steve Kargl" wrote: > On Wed, Dec 08, 2004 at 04:24:30PM -0800, Mike Hunter wrote: > > Hi, > > > > I'm trying to go from RELENG_5 to HEAD on my new amd64, but I'm bombing > > out here: > > > > cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -DMAGIC='"/usr/share/misc/magic"' -DBUILTIN_ELF -DELFCORE -DHAVE_CONFIG_H -I/usr/src/lib/libmagic -I/usr/src/lib/libmagic/../../contrib/file -c /usr/src/lib/libmagic/../../contrib/file/softmagic.c -o softmagic.So > > building shared library libmagic.so.1 > > Segmentation fault (core dumped) > > *** Error code 139 > > > > You need to back out the recent changes to make(1). > In your supfile file that you use with cvsup, set > > *default date=2004.11.08.00.00.00 > src-usrbin > > cd /usr/src/usr.bin/make > make > make install > > PS: surprising the broken make(1) actually works for building > a new make(1). Ugh. I tried cvsupping as you suggested, but it gave the same error. This morning I cvsup'd again after make was fixed (thanks!), and it *still* gives the same error. I don't think my installed /usr/bin/make is being updated. I forgot to md5 the original make, but this is from this morning's fixed-make sources: bash-2.05b# cd /usr/src/usr.sbin/make bash-2.05b# make ... job.o(.text+0x2973): In function `Job_Init': : warning: warning: mktemp() possibly used unsafely; consider using mkstemp() gzip -cn /usr/src/usr.bin/make/make.1 > make.1.gz bash-2.05b# md5 `which make` MD5 (/usr/bin/make) = fbb5679f9fde6036770a13ea5d6f9373 bash-2.05b# find /usr/obj -type f -name make | xargs -L 1 md5 MD5 (/usr/obj/usr/src/make.amd64/usr/src/usr.bin/make/make) = 5d3d91bf4ca06d1dae5a5d0874589b2c MD5 (/usr/obj/usr/src/make.amd64/make) = 5d3d91bf4ca06d1dae5a5d0874589b2c MD5 (/usr/obj/usr/src/usr.bin/make/make) = 0e719846f3f245fa7aa7d3aa2dca0bfd bash-2.05b# make install install -s -o root -g wheel -m 555 make /usr/bin install -o root -g wheel -m 444 make.1.gz /usr/share/man/man1 bash-2.05b# md5 `which make` MD5 (/usr/bin/make) = fbb5679f9fde6036770a13ea5d6f9373 Why doesn't /usr/bin/make change? Let me guess, there's a bug in make? :| I am trying again after copying /usr/obj/usr/src/usr.bin/make/make over /usr/bin/make by hand. Am I missing something here? Also, what's the make.amd64 directory about, and why are those make binaries also different? Befuddled in Berkeley