[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#604047: warning: collect info objdump-info about package PACKAGE failed



Niels Thykier <niels@thykier.net> writes:

> objdump -T --headers --private-headers looks the same as well in both
> cases (but it still exits 1 in experimental).  Removing the -T will make
> it succeed and I found the following entry in the upstream changelog:

> 2010-10-05  Alan Modra  <amodra@gmail.com>

> [...]
>         * objdump.c (free_only_list): Formatting.
>         (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
>         object".
> [...]
> 	(main): Return non-zero exit status on bad options.
> [...]

> I guess objdump has become a bit more strict with its exit codes :)

Ideally we'd finish the work required to just switch to readelf.  I think
last time we looked at that we concluded we could get all of the same
information.  objdump is theoretically superior in that it can also handle
non-ELF binaries, but it seems unlikely to me that Debian is ever going to
have a non-ELF architecture.  And IIRC readelf doesn't care about
differing word sizes, architectures, and so forth the way that objdump
tends to.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: