Cross compiling hsdis for RISC-V
Dingli Zhang
dingli at iscas.ac.cn
Thu Oct 13 03:15:43 UTC 2022
Hi Ludovic,
Thank you for your patch!
I have created one for you: https://bugs.openjdk.org/browse/JDK-8295251
Best regards,
Dingli
> On Oct 12, 2022, at 19:28, Ludovic Henry <ludovic at rivosinc.com> wrote:
>
> 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.
>
> Thanks,
> Ludovic
>
> On Wed, Oct 12, 2022 at 12:13 PM Aleksey Shipilev <shade at redhat.com> 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
> > https://github.com/rivosinc/jdk/commit/4c88e66b654e4c29ede7c221d223298497fa06c2
> > <https://github.com/rivosinc/jdk/commit/4c88e66b654e4c29ede7c221d223298497fa06c2>
> >
> > 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:
> https://github.com/openjdk/jdk/commit/392f35df4be1a9a8d7a67a25ae01230c7dd060ac
>
> It allows to cross-compile hsdis on every arch, including RISC-V :)
>
> --
> Thanks,
> -Aleksey
>
More information about the riscv-port-dev
mailing list