crosscompiler toolchain support for diffoscope?

Mattia Rizzolo mattia at debian.org
Tue Aug 22 09:54:34 UTC 2017


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?

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20170822/d45c4df8/attachment.sig>


More information about the Reproducible-builds mailing list