*BSD News Article 53800


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!news.corpcomm.net!newspeak.ultratech.net!worldlinx.com!news.sprintlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!uwm.edu!newsspool.doit.wisc.edu!night.primate.wisc.edu!nntp.msstate.edu!olivea!wetware!wsrcc.com!news.orst.edu!news.uidaho.edu!usenet
From: Faried Nawaz <fn@uidaho.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: XF86_SVGA eats 9Mb ?
Date: 31 Oct 1995 00:31:12 -0800
Organization: how to calculate electric bills for idaho residential customers
Lines: 40
Sender: nawaz921@hidden.cs.uidaho.edu
Distribution: world
Message-ID: <im68h65a27.fsf@hidden.cs.uidaho.edu>
References: <DGJqKz.2KI@cr-df.rnp.br> <463tmb$d6s@agate.berkeley.edu>
	<imag6uqjho.fsf@crater.cs.uidaho.edu>
	<skYzW0u00YUxEVzl80@andrew.cmu.edu>
Reply-To: fn@uidaho.edu
NNTP-Posting-Host: hidden.cs.uidaho.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
In-reply-to: Robert N Watson's message of Sun, 29 Oct 1995 16:56:16 -0500
X-Newsreader: Gnus v5.0.9

In article <skYzW0u00YUxEVzl80@andrew.cmu.edu> Robert N Watson <rnw+@andrew.cmu.edu> writes:

$ Excerpts from netnews.comp.unix.bsd.freebsd.misc: 21-Oct-95 Re:
$ XF86_SVGA eats 9Mb ? Faried Nawaz@uidaho.edu (1391*)

(fn@uidaho.edu, actually...)


$ I relinked my X server today, and I believe the leak has gone away (not
$ sure if I relinked it right, though.)

you can tell by running `ldd' on it.  a "standard" 3.11 server looks like

XF86_Mach32:
        -lm.2 => /usr/lib/libm.so.2.0 (0x820d000)
        -lc.2 => /usr/lib/libc.so.2.2 (0x8224000)

and (if you relinked it correctly) the relinked one like

XF86_W32:
        -lgnumalloc.2 => /usr/lib/libgnumalloc.so.2.0 (0x8116000)
        -lm.2 => /usr/lib/libm.so.2.0 (0x811a000)
        -lc.2 => /usr/lib/libc.so.2.2 (0x8131000)




$ One really dramatic difference I
$ noticed (that may or may not be there legitimastely) was a difference in
$ the size of binary produced compared to the dist version:
$ 
$ -rwsr-xr-x  1 root  bin  1747609 Oct 29 16:00 /usr/X11R6/bin/XF86_SVGA*
$ -rwsr-xr-x  1 root  bin  2811834 Oct  8 19:58 /usr/X11R6/bin/XF86_SVGA-old*
$ 
$ That's a pretty dramatic difference -- I did a showconfig and they both
$ have the same drivers.  Is it just that it's using the shlib now and
$ wasn't in the distirbution version..?

i don't know how much of a difference relinking makes.  perhaps one is a
stripped binary and the other isn't?  try `file' on both.