[Nix-dev] PatchELF test failures on ppc/ppc32

Eelco Dolstra e.dolstra at tudelft.nl
Fri Aug 20 17:28:33 CEST 2010


Hi,

On 08/20/2010 11:25 AM, Jeremy Sanders wrote:

> Hello - I'm working on adding a Fedora package for PatchELF to the Fedora 
> project. See https://bugzilla.redhat.com/show_bug.cgi?id=602574
> 
> It has problems when doing make test on the ppc/ppc64 architectures. I've 
> contacted the project privately before.
> 
> Here is another copy of the build log doing readelf -a before and after the 
> patching (for set-interpreter-long.sh). If it doesn't look obviously fixable 
> we can ignore this architecture on Fedora for the moment.

Could you try the attached patch?  I see we were not updating the DT_RELA tag in
the dynamic section.  This might fix some of the tests, but probably not the
set-interpreter-long.sh test.  I have no idea what goes wrong there - the
readelf output on the resulting binary looks fine.  Strangely, there is no error
message:

  running with missing interpreter...
  running with new interpreter...
  FAIL: set-interpreter-long.sh

The other tests at least die, e.g.

  ./set-rpath.sh: line 21:  5453 Killed                  ./main

-- 
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rela.patch
Url: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20100820/cd82b892/attachment.pl 


More information about the nix-dev mailing list