Paul Eggert <[email protected]> wrote:

> On 04/12/2011 12:56 PM, Nelson H. F. Beebe wrote:
> > Has anyone else seen this behavior, and if so, is there a simple fix?
>
> Yes, that's a problem that is triggered only if you compile 'tar'
> on Solaris version N and then run on version N+delta,
> for some values of N and delta.  For example, if you compile on
> Solaris 9 and run on Solaris 10 (the latter updated with the
> cluster patch of January 10) it does not work.  The underlying
> problem is related to the fact that ELF format doesn't support
> library upgrades as well as it should.
>
> The problem affects other GNU packages too.
> To work around it, please try Bruno Haible's patch:
>
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8230#20

Why do you believe this is a ELF problem?

>From the bug desciption, it seems that GNU tar just made an illegal assumption 
or can you verify that the link order was violated in this case?

Link order: search for objects in the order they did appear on the linker 
command line, which means that if e.g. libc tries to call a non-local function 
a(), this function first needs to be searched in the files that appeared before 
-lc on the linker command line.

>From my previous experiences, the dynamic linker developed by Sun for 
>SunOS-4.0 
that made it (in an updated form) into SVr4 and ELF correctly regards the link 
order.

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to