From owner-freebsd-current Wed Mar 26 02:41:46 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA02096 for current-outgoing; Wed, 26 Mar 1997 02:41:46 -0800 (PST) Received: from dfw-ix12.ix.netcom.com (dfw-ix12.ix.netcom.com [206.214.98.12]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA02088 for ; Wed, 26 Mar 1997 02:41:43 -0800 (PST) Received: (from smap@localhost) by dfw-ix12.ix.netcom.com (8.8.4/8.8.4) id EAA06266; Wed, 26 Mar 1997 04:37:20 -0600 (CST) Received: from wck-ca9-25.ix.netcom.com(204.31.231.121) by dfw-ix12.ix.netcom.com via smap (V1.3) id sma006262; Wed Mar 26 04:35:50 1997 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.8.5/8.6.9) id CAA02116; Wed, 26 Mar 1997 02:02:31 -0800 (PST) Date: Wed, 26 Mar 1997 02:02:31 -0800 (PST) Message-Id: <199703261002.CAA02116@silvia.HIP.Berkeley.EDU> To: bsdcur@shadows.aeon.net CC: terry@lambert.org, current@FreeBSD.ORG In-reply-to: <199703260847.IAA11159@shadows.aeon.net> (message from mika ruohotie on Wed, 26 Mar 1997 10:47:31 +0200 (EET)) Subject: Re: SIGTERMs killing X From: asami@vader.cs.berkeley.edu (Satoshi Asami) Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk * 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