From owner-cvs-all Mon Apr 5 10: 7:38 1999 Delivered-To: cvs-all@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 8ACBA14DC8; Mon, 5 Apr 1999 10:07:34 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.1) with ESMTP id KAA16201; Mon, 5 Apr 1999 10:05:36 -0700 (PDT) (envelope-from jdp@polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.9.2/8.9.1) id KAA91582; Mon, 5 Apr 1999 10:05:35 -0700 (PDT) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199904051531.LAA20354@khavrinen.lcs.mit.edu> Date: Mon, 05 Apr 1999 10:05:35 -0800 (PDT) Organization: Polstra & Co., Inc. From: John Polstra To: Garrett Wollman Subject: RE: cvs commit: src/libexec/rtld-elf rtld.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, John Polstra Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Garrett Wollman wrote: > < said: > >> Resolve undefined weak references to a value of 0. This solves the >> "__deregister_frame_info" problem that was seen when combining a >> program linked using the old gcc with shared libraries that were >> built using egcs. > > Perhaps we should bump the major version of all the libraries? Luckily, that won't be necessary. My commit message wasn't clear enough. The "__deregister_frame_info" problem has never existed in our source base. It was a potential problem that had to be solved before we would be able to switch to the dwarf2 exception implementation. This fix to the dynamic linker clears the way for that. Some people had seen the problem when using the egcs _port_. This dynamic linker fix will solve that for them. But I believe that the problem cropped up only when mixing egcs shared libraries with executables that had been linked using the system cc. So there was already a work-around even before this fix. On a related note, though, I'm seriously considering adding code to the dynamic linker that would allow a program to find out its version number. That would be helpful for certain make world bootstrapping situations which come up occasionally. John --- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-interest is the aphrodisiac of belief." -- James V. DeLong To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message