Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 1995 09:46:53 -0500
From:      rich@id.slip.bcm.tmc.edu (Rich Murphey)
To:        dawes@physics.usyd.edu.au
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Memory leak somewhere?
Message-ID:  <199506241446.JAA03561@id.slip.bcm.tmc.edu>
In-Reply-To: <199506240656.AA02226@physics.su.oz.au> (message from David Dawes on Sat, 24 Jun 1995 16:56:12 %2B1000 (EST))

next in thread | previous in thread | raw e-mail | index | archive | help
|From: David Dawes <dawes@physics.usyd.edu.au>
|>XFree86 used to link the binaries against -lgnumalloc by default in
|>earlier versions.  NetBSD still does.  Is there any reason why it has
|>been dropped for FreeBSD?  (I think gnumalloc falls under LGPL, so the
|>Copyright issues aren't so hard here.)
|>
|>At least for the server, it seems to be a big deal.  I used to link
|>mine against the GNU version, and now that i didn't do it for the
|>first time, i'm seeing it growing rather large, too.
|
|It was dropped because someone reported problems with it.  I've been
|using it for the last few weeks without problems though, and I'm
|planning to link with gnumalloc by default for FreeBSD in XFree86
|3.1.2.
|
|Regarding LGPL, there is no problem for the Xserver because we have
|the LinkKit.
|
|I don't know about clients, etc, or how LGPL fits in with dynamically
|loaded libraries (I'd have expected dynamic linking to fulfill the
|requirements of LGPL).  Anyway, this is an issue for those distributing
|binaries.  We (XFree86) provide full source, so there isn't any problem
|for us.

When FreeBSD had two separate malloc shared libraries we had
a XFree86 release which could use either malloc library simply
by swapping the names.  Substituting libgnumalloc.so.1.1 for
libmalloc.so.1.1 worked just fine for the server.  But this
was only my individual testing and nothing rigorous.

We don't really know whether the problems last year using
gnumalloc were due to valid differences in the API or
unwitting problems in the server itself.  But we can start
beta testing with gnumalloc and see how it goes.  Rich



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506241446.JAA03561>