From owner-freebsd-current Tue Jan 23 12:08:31 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA12618 for current-outgoing; Tue, 23 Jan 1996 12:08:31 -0800 (PST) Received: from austin.polstra.com (austin.polstra.com [206.213.73.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA12613 for ; Tue, 23 Jan 1996 12:08:29 -0800 (PST) Received: (from jdp@localhost) by austin.polstra.com (8.6.12/8.6.12) id MAA29695; Tue, 23 Jan 1996 12:08:28 -0800 To: freebsd-current@freebsd.org Path: not-for-mail From: jdp@polstra.com (John Polstra) Newsgroups: polstra.freebsd.current Subject: Re: malloc in current Date: 23 Jan 1996 12:08:27 -0800 Organization: Polstra & Co., Seattle, WA Lines: 57 Distribution: local Message-ID: <4e3f7r$svm@austin.polstra.com> References: <199601221654.LAA23680@hopf.math.purdue.edu> Sender: owner-current@freebsd.org Precedence: bulk In article <199601221654.LAA23680@hopf.math.purdue.edu>, Clarence Wilkerson wrote: > After my last "make world", ( sup as of 1800 SUNDAY EST), > any man page call gives me a couple of hundred > of these: > > Malloc warning: free(): already free chunk. > Malloc warning: free(): already free chunk. > Malloc warning: free(): already free chunk. > Malloc warning: free(): already free chunk. This is probably due to my screwup in /usr/share/mk/bsd.lib.mk. Check the revision number of that file, in the "$Id..." string on line 2. If the revision number is 1.28, then you have the bad version. This patch will get you to 1.29 (which is simply a reversion back to 1.27): ------------------------------------------------------------------------------- *** bsd.lib.mk 1996/01/17 00:03:08 1.28 --- bsd.lib.mk 1996/01/21 17:26:25 1.29 *************** *** 1,5 **** # from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 ! # $Id: bsd.lib.mk,v 1.28 1996/01/17 00:03:08 jdp Exp $ # .if exists(${.CURDIR}/../Makefile.inc) --- 1,5 ---- # from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 ! # $Id: bsd.lib.mk,v 1.29 1996/01/21 17:26:25 jdp Exp $ # .if exists(${.CURDIR}/../Makefile.inc) *************** *** 187,193 **** .endif .if !defined(NOPIC) ! .if !make(clean) && !make(cleandir) SOBJS+= ${DESTDIR}/usr/lib/c++rt0.o .endif --- 187,193 ---- .endif .if !defined(NOPIC) ! .if defined(CPLUSPLUSLIB) && !make(clean) && !make(cleandir) SOBJS+= ${DESTDIR}/usr/lib/c++rt0.o .endif ------------------------------------------------------------------------------- After you've made the patch, you need to rebuild and install all of your shared libraries. -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-knowledge is always bad news." -- John Barth