Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 1998 11:24:23 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        John Polstra <jdp@polstra.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: Elf linker question.
Message-ID:  <Pine.BSF.3.95.981124112056.8419D-100000@current1.whistle.com>
In-Reply-To: <199811241907.LAA00624@vashon.polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm not sure that it isn't following  too many links..
I had to add 100 libraries to our makefiles
(usually the same ones)

Even if we were only using 1 function in a library, it required all the
rest of the libraries in that set, even if they were called from functions
other than  the one we were calling.

I find it hard to believe that all out programs would have worked
correctly if they were SO wrong!

I will see if I can make a test case..

julian


On Tue, 24 Nov 1998, John Polstra wrote:

> In article <Pine.BSF.3.95.981123123834.7263H-100000@current1.whistle.com>,
> Julian Elischer  <julian@whistle.com> wrote:
> > 
> > I'm doing some work in a 3.0 system using the elf linker.
> > It seems that the new linker is insisting on me including libraries
> > that I never needed before.. In other words, I thin it's trying to resolve
> > symbols in functions I'm not using. Does anyone have comments on this?
> > 
> > The old aout linker didn't need me to specify libraries that were not in
> > my call-graph. THe new one seems to need them.
> 
> I really think it was a bug that our old linker didn't complain
> about those undefined symbols.  I tried some tests long ago on some
> similar systems -- SVR4 and (maybe -- I can't remember) SunOS.  They
> complained like our new linker does.
> 
> John
> -- 
>   John Polstra                                               jdp@polstra.com
>   John D. Polstra & Co., Inc.                        Seattle, Washington USA
>   "Nobody ever went broke underestimating the taste of the American public."
>                                                             -- H. L. Mencken
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.981124112056.8419D-100000>