crosscompiler toolchain support for diffoscope?

Stewart Smith stewart at linux.vnet.ibm.com
Mon Sep 18 07:52:51 UTC 2017


Mattia Rizzolo <mattia at debian.org> writes:
> On Tue, Aug 22, 2017 at 04:24:40PM +1000, Stewart Smith wrote:
>> I'm attempting to use diffoscope on a bunch of ppc64 binaries (firmware
>> in fact) that are typically built with a cross compiler (typically one
>> from buildroot).
>
> Cool!
>
>> unfortunately though, it seems diffoscope is hardcoded to use 'objdump'
>> as command, and there's no easy way to pass through
>> CROSS=powerpc64-linux-gnu- or similar in order for it to be able to
>> disassemble ppc64 asm on my x86 laptop.
>> 
>> Any chance for being able to specify CROSS= or otherwise use a different toolchain?
>
>
> This has been committed to diffoscope's git repository last week after a
> similar request in a bug report:
> https://anonscm.debian.org/git/reproducible/diffoscope.git/commit/?id=1de693d11d0d08d2127b40c6e7f3265f7ba9ab34
>
> Does that solve your use case as well?

It looks like it will, thanks!

-- 
Stewart Smith
OPAL Architect, IBM.




More information about the Reproducible-builds mailing list