*BSD News Article 50826


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!tank.news.pipex.net!pipex!news.sprintlink.net!helena.MT.net!nate
From: nate@trout.sri.MT.net (Nate Williams)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ld.so failed
Date: 7 Sep 1995 16:43:19 GMT
Organization: SRI Intl. - Montana Operations
Lines: 39
Message-ID: <42n7f7$s6g@helena.MT.net>
References: <42dk7r$r6n@shore.shore.net> <42idb0$b6k@helena.MT.net> <42kebn$9ph@shore.shore.net>
Reply-To: "Nate Williams" <nate@sneezy.sri.com>
NNTP-Posting-Host: trout.sri.mt.net

In article <42kebn$9ph@shore.shore.net>,  <witr@spooky.rwwa.com> wrote:
>     Nate Williams wrote in article <42idb0$b6k@helena.MT.net> :
>
>>Such as?  
>
>Such as *why* it failed.  I know one reason, and I assume there
>are others.  Why the need for the cryptic message?  Oh Yeah...

The only reason it would fail aside from 'can't find ld.so' is because
it can't mmap() either the executable or shlibs into memory.  I'm not
sure this is any better than 'ld.so failed'.  At least Sun didn't think so.

However, this being said if you want to send me the patches to it I'll
try and get them integrated into the tree.

>>Remember, every byte added to the activator adds one byte to
>>*every* single program in the entire tree.  Bytes add up fast when you
>>are talking hundreds or programs.
>
>If we added 1024 bytes and we had 1024 programs, it would add a 
>whole Mb to the distribution.  Big deal.

On my laptop, it *is* a big deal.  Also, each program uses another K of
memory for execution, so however many programs you have in memory *may*
be increased by a 4K margin.  (Doubtful, but on the average 25% of the
program would add an extra 4K page, so we're adding an average of 1K
extra/program)

This sounds anal I know, but I *like* being able to run FreeBSD on a 4MB
laptop with 100MB of disks for FreeBSD. :)



Nate
-- 
nate@sneezy.sri.com    | Research Engineer, SRI Intl. - Montana Operations
nate@trout.sri.MT.net  | Loving life in God's country, the great state of
work #: (406) 449-7662 | Montana.  Wanna go fly fishing?  I don't charge or
home #: (406) 443-7063 | feed you, but I do know the area pretty well.