Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Apr 1999 10:05:35 -0800 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, John Polstra <jdp@FreeBSD.org>
Subject:   RE: cvs commit: src/libexec/rtld-elf rtld.c
Message-ID:  <XFMail.990405100535.jdp@polstra.com>
In-Reply-To: <199904051531.LAA20354@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Wollman wrote:
> <<On Sun, 4 Apr 1999 19:36:41 -0700 (PDT), John Polstra <jdp@FreeBSD.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990405100535.jdp>