Source: diffoscope
Version: 43
Severity: important
Tags: patch

Dear Maintainer,

When there are differences in symbols-related sections of ELF files,
symbols can be truncated if they are long enough. That happens often
with C++ mangled symbols.

The following patch fixes the issue:

diff --git a/diffoscope/comparators/ b/diffoscope/comparators/
index 0aa6386..fd56f41 100644
--- a/diffoscope/comparators/
+++ b/diffoscope/comparators/
@@ -34,7 +34,7 @@ class Readelf(Command):
     def cmdline(self):
-        return ['readelf'] + self.readelf_options() + [self.path]
+        return ['readelf', '-W'] + self.readelf_options() + [self.path]
     def readelf_options(self):
         return []

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reproducible-builds mailing list

Reply via email to