From owner-freebsd-current Tue Nov 24 11:07:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA24588 for freebsd-current-outgoing; Tue, 24 Nov 1998 11:07:40 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA24583 for ; Tue, 24 Nov 1998 11:07:39 -0800 (PST) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.1/8.9.1) with ESMTP id LAA01991; Tue, 24 Nov 1998 11:07:31 -0800 (PST) (envelope-from jdp@polstra.com) From: John Polstra Received: (from jdp@localhost) by vashon.polstra.com (8.9.1/8.9.1) id LAA00624; Tue, 24 Nov 1998 11:07:31 -0800 (PST) (envelope-from jdp@polstra.com) Date: Tue, 24 Nov 1998 11:07:31 -0800 (PST) Message-Id: <199811241907.LAA00624@vashon.polstra.com> To: julian@whistle.com Subject: Re: Elf linker question. Newsgroups: polstra.freebsd.current In-Reply-To: Organization: Polstra & Co., Seattle, WA Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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