Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 1997 02:02:31 -0800 (PST)
From:      asami@vader.cs.berkeley.edu (Satoshi Asami)
To:        bsdcur@shadows.aeon.net
Cc:        terry@lambert.org, current@FreeBSD.ORG
Subject:   Re: SIGTERMs killing X
Message-ID:  <199703261002.CAA02116@silvia.HIP.Berkeley.EDU>
In-Reply-To: <199703260847.IAA11159@shadows.aeon.net> (message from mika ruohotie on Wed, 26 Mar 1997 10:47:31 %2B0200 (EET))

next in thread | previous in thread | raw e-mail | index | archive | help
 * do i get phk_malloc when i compile whole X from the /usr/ports collection?

Depends on your imake config file (/usr/X11R6/lib/X11/config/FreeBSD.cf).
If it's updated correctly, it should say something like:

===
#ifndef OSMajorVersion
#define OSMajorVersion 2
#endif
#ifndef OSMinorVersion
#define OSMinorVersion 2
#endif
===

which would in turn turn off gnumalloc a few lines below:

===
/* 2.2 doesn't really have GnuMalloc */
#if OSMajorVersion < 2 || (OSMajorVersion == 2 && OSMinorVersion < 2)
#define UseGnuMalloc		YES
#else
#define UseGnuMalloc		NO
#endif
#endif
===

However, the gnumalloc shared library on 2.2 and -current systems is
just a skeleton only, so unless your X server is compiled static, it
shouldn't make any difference whether it's linked with -lgnumalloc or
not.

Satoshi



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