Date: 23 Jan 1996 12:08:27 -0800 From: jdp@polstra.com (John Polstra) To: freebsd-current@freebsd.org Subject: Re: malloc in current Message-ID: <4e3f7r$svm@austin.polstra.com> References: <199601221654.LAA23680@hopf.math.purdue.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <199601221654.LAA23680@hopf.math.purdue.edu>,
Clarence Wilkerson <freebsd@hopf.math.purdue.edu> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4e3f7r$svm>
