Back to bug 806474

Who When What Removed Added
Suzanne Logcher 2012-03-30 18:30:00 UTC CC syeghiay
Martin Cermak 2012-09-13 11:26:03 UTC CC mcermak
Flags needinfo?(mjw)
Mark Wielaard 2012-09-13 11:45:26 UTC Flags needinfo?(mjw)
Mark Wielaard 2012-11-30 15:41:59 UTC CC mjw
Mark Wielaard 2014-02-13 22:10:00 UTC Flags needinfo?(acme)
Arnaldo Carvalho de Melo 2014-02-17 14:14:39 UTC Flags needinfo?(acme)
Mark Wielaard 2014-02-17 14:35:43 UTC Flags needinfo?(acme)
Arnaldo Carvalho de Melo 2014-02-17 15:27:39 UTC Flags needinfo?(acme)
Mark Wielaard 2014-05-28 11:11:35 UTC CC mbenitez
Status ASSIGNED MODIFIED
Fixed In Version elfutils-0.158-3.2.el6
errata-xmlrpc 2014-05-28 11:25:00 UTC Status MODIFIED ON_QA
errata-xmlrpc 2014-05-29 10:13:20 UTC Status ON_QA VERIFIED
Lubos Kocman 2014-07-22 17:07:22 UTC Depends On 1122165
John Shortt 2014-07-22 17:57:00 UTC Depends On 1122165
Mark Wielaard 2014-09-15 20:09:56 UTC Doc Text Cause:

There were bugs in some toolchain tools, see bug #698005, that could cause a main ELF file the separate debuginfo file to have different header types/flags. eu-unstrip would not combine such files. The same was true when the main ELF file was prelinked after the debuginfo was separated into a debug file.

Consequence:

The ELF file and the separate debug file could not be recombined into one with eu-unstrip.

Fix:

eu-unstrip now explains which header field doesn't match when it refuses to combine a stripped and unstripped file. e.g. "ELF header identification (e_ident) different."

And also now has a --force option that will warn, but try to combine such files anyway. That works fine for ELF files produced with the buggy binutils from bug #698005.

For prelinked stripped files it might work, but eu-unstrip also produces a warning if the DWARF data might need adjusting for prelinking bias (DWARF data in 'merged' not adjusted for prelinking bias; consider prelink -u).

Result:

Such mismatching main ELF and separate debug files can now be recombined into one using eu-unstrip, using the --force flag.
errata-xmlrpc 2014-10-14 06:42:24 UTC Status VERIFIED CLOSED
Resolution --- ERRATA
Last Closed 2014-10-14 02:42:24 UTC

Back to bug 806474