Bugs in debuginfo packages

Jan Kratochvil jan.kratochvil at redhat.com
Thu Feb 24 08:50:38 UTC 2011


On Thu, 24 Feb 2011 09:28:10 +0100, Karel Klic wrote:
> I have written a script which checks the completeness and correctness of the
> debuginfo packages.

Thanks, it would be great to run it automatically like the `Broken deps'
checker.


> Regarding the report below: it is interesting that /usr/bin/mysql_config and
> /usr/bin/mysqlbug, two different binaries from mysql, seem to share the same
> build id.

They are compiled from the same sources and everything matches for the debug
info purposes.  This is correct.

mysql-5.5.9-2.fc16.i686 (the one you checked)
diff <(readelf -Wa /usr/bin/mysql_config) <(readelf -Wa usr/bin/mysqlbug)
-  Start of section headers:          2424 (bytes into file)
+  Start of section headers:          2420 (bytes into file)
-  [26] .gnu_debuglink    PROGBITS        00000000 00086c 000018 00      0   0  4
+  [26] .gnu_debuglink    PROGBITS        00000000 00086c 000014 00      0   0  4
-  [27] .shstrtab         STRTAB          00000000 000884 0000f2 00      0   0  1
+  [27] .shstrtab         STRTAB          00000000 000880 0000f2 00      0   0  1

eu-elfcmp /usr/bin/mysql_config /usr/bin/mysqlbug; echo $?
0

As described in the mail by Roland McGrath:
	https://fedorahosted.org/pipermail/crash-catcher/2011-February/001538.html


Thanks,
Jan


More information about the devel mailing list