On Wed, Nov 30, 2016 at 02:50:26PM +0100, John Ogness wrote: > Package: elfutils > Version: 0.166-2.2 > Severity: normal > Tags: patch > > Dear Maintainer, > > Version 0.166 will crash if sections are added to an empty ELF > file. This problem has been fixed in the released upstream version > 0.167. The exact commit that fixes the problem is here [0]. > > A new tool [1] has been submitted for inclusion in Debian that would > like to add sections to empty ELF files. This tool tests > _ELFUTILS_VERSION to make sure it is at least 167 before activating the > feature. Since this tool will most likely be available for stretch, it > would be nice if 0.167 of the elfutils was also in stretch (rather than > just patching 0.166). > > Therefore, I am requesting that elfutils moves to the new upstream > version 0.167.
0.167 has been on my TODO list for some time. I'll try to to it soon. > I have attached a diff against the 0.166-debian directory to allow > version 0.167 to be built. Hopefully this will help you. However, I was > unsure how to handle the m68k_backend.diff patch since version 0.167 > provides an m68k backend and this differs from the one implemented in > the Debian patch. My diff ignores m68k_backend.diff, which is most > likely not what you want. I think it should be removed. I've already asked the submitter of the patch in the upstream version to look at our patch to see if something else in there is useful, but I didn't get any reply. Kurt