Bug#869868: Diffoscope should be much more flexible with respects to the ELF tools it uses

Daniel Egger daniel at eggers-club.de
Thu Jul 27 09:20:33 UTC 2017


Package: diffoscope
Version: 84

I'm using diffoscope on a Mac and it doesn't have tools like readelf and objdump by default and even after installation (e.g. via brew) those would be called greadelf and gobjdump instead to not conflict with local tools under the same name. Diffoscope should either find them automatically or have some configuration to the names.

However it doesn't stop there: With objdump you can't just pick *any* version but you need one with support for the precisely the target architecture you want to look at; if it has multiple potential choices, it'll barf but more typically it does not have the correct architecture support, e.g. when crosscompiling. So it is important to again either automatically guess and check for the correct version using the readelf information or to provide configuration...

In case you are wondering now; I'm trying to compare embedded application binaries compiled with a arm-non-eabi toolchain.


More information about the Reproducible-builds mailing list