[PATCH] strip: Just admit we don't support stripping ar archives for now.

Mark Wielaard mjw at redhat.com
Wed Jun 10 12:21:19 UTC 2015


On Tue, 2015-06-09 at 16:38 +0200, Mark Wielaard wrote:
> We try to handle (in-place) stripping of ar archives, but since elf_clone
> doesn't really support cloning ar members and we don't handle reducing
> the size of the members, moving the offsets of other members. This causes
> crashes or writing garbage. Better to just admit that for now we don't
> support stripping archives. Call error when we see an ELF_K_AR file.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=766156
> https://lists.fedorahosted.org/pipermail/elfutils-devel/2009-August/000567.html

Pushed to master.


More information about the elfutils-devel mailing list