[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Core dumps in tar-1.26 on Solaris SPARC

From: Joerg Schilling
Subject: Re: [Bug-tar] Core dumps in tar-1.26 on Solaris SPARC
Date: Wed, 13 Apr 2011 10:40:10 +0200
User-agent: nail 11.22 3/20/05

Paul Eggert <address@hidden> 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 
that made it (in an updated form) into SVr4 and ELF correctly regards the link 


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]