<div dir="ltr">Hi Dingli,<div><br></div><div>Sorry I saw your message too late. I recovered access to my JBS account this morning (yay!) and submitted <a href="https://bugs.openjdk.org/browse/JDK-8295262">https://bugs.openjdk.org/browse/JDK-8295262</a>. The corresponding PR is <a href="https://github.com/openjdk/jdk/pull/10689">https://github.com/openjdk/jdk/pull/10689</a>.</div><div><br></div><div>I'll mark yours as duplicate to help keep track.</div><div><br></div><div>Thank you!</div><div>Ludovic</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 13, 2022 at 5:15 AM Dingli Zhang <<a href="mailto:dingli@iscas.ac.cn">dingli@iscas.ac.cn</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Ludovic,<br>
<br>
Thank you for your patch!<br>
I have created one for you: <a href="https://bugs.openjdk.org/browse/JDK-8295251" rel="noreferrer" target="_blank">https://bugs.openjdk.org/browse/JDK-8295251</a><br>
<br>
Best regards,<br>
Dingli<br>
<br>
> On Oct 12, 2022, at 19:28, Ludovic Henry <<a href="mailto:ludovic@rivosinc.com" target="_blank">ludovic@rivosinc.com</a>> wrote:<br>
> <br>
> 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.<br>
> <br>
> 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.<br>
> <br>
> Thanks,<br>
> Ludovic<br>
> <br>
> On Wed, Oct 12, 2022 at 12:13 PM Aleksey Shipilev <<a href="mailto:shade@redhat.com" target="_blank">shade@redhat.com</a>> wrote:<br>
> On 10/12/22 11:57, Ludovic Henry wrote:<br>
> > I've made a local patch to be able to cross-compile hsdis based on binutils at <br>
> > <a href="https://github.com/rivosinc/jdk/commit/4c88e66b654e4c29ede7c221d223298497fa06c2" rel="noreferrer" target="_blank">https://github.com/rivosinc/jdk/commit/4c88e66b654e4c29ede7c221d223298497fa06c2</a> <br>
> > <<a href="https://github.com/rivosinc/jdk/commit/4c88e66b654e4c29ede7c221d223298497fa06c2" rel="noreferrer" target="_blank">https://github.com/rivosinc/jdk/commit/4c88e66b654e4c29ede7c221d223298497fa06c2</a>><br>
> > <br>
> > I'm blocked on getting access to my JBS again in order to submit it upstream. Feel free to use it in <br>
> > the meantime.<br>
> <br>
> You don't need this anymore, as mainline how has this:<br>
> <a href="https://github.com/openjdk/jdk/commit/392f35df4be1a9a8d7a67a25ae01230c7dd060ac" rel="noreferrer" target="_blank">https://github.com/openjdk/jdk/commit/392f35df4be1a9a8d7a67a25ae01230c7dd060ac</a><br>
> <br>
> It allows to cross-compile hsdis on every arch, including RISC-V :)<br>
> <br>
> -- <br>
> Thanks,<br>
> -Aleksey<br>
> <br>
<br>
</blockquote></div>