Cross compiling hsdis for RISC-V

Ludovic Henry ludovic at
Wed Oct 12 11:28:10 UTC 2022

Great! It's still using the same binutils src folder to build multiple
architectures, meaning there will be a conflict when cross-compiling and/or
native-compiling. The change I propose also integrates using the folder
`build/<target>/binutils` as the build folder for binutils, so that the
binutils source tree stays clean and can be used for multiple targets.

Whenever I can submit a bug in JBS (or if anyone feels like doing it and
send me the link), I'll submit these changes as well.


On Wed, Oct 12, 2022 at 12:13 PM Aleksey Shipilev <shade at> wrote:

> On 10/12/22 11:57, Ludovic Henry wrote:
> > I've made a local patch to be able to cross-compile hsdis based on
> binutils at
> >
> > <
> >
> >
> > I'm blocked on getting access to my JBS again in order to submit it
> upstream. Feel free to use it in
> > the meantime.
> You don't need this anymore, as mainline how has this:
> It allows to cross-compile hsdis on every arch, including RISC-V :)
> --
> Thanks,
> -Aleksey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the riscv-port-dev mailing list