From owner-freebsd-current Tue Nov 24 11:31:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA26812 for freebsd-current-outgoing; Tue, 24 Nov 1998 11:31:13 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA26807 for ; Tue, 24 Nov 1998 11:31:12 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id LAA10461; Tue, 24 Nov 1998 11:24:56 -0800 (PST) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpdw10450; Tue Nov 24 19:24:49 1998 Date: Tue, 24 Nov 1998 11:24:23 -0800 (PST) From: Julian Elischer To: John Polstra cc: current@FreeBSD.ORG Subject: Re: Elf linker question. In-Reply-To: <199811241907.LAA00624@vashon.polstra.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 , > Julian Elischer 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