RFR: JDK-8305118: Add RISC-V related content to building.md
Aleksey Shipilev
shade at openjdk.org
Wed Mar 29 10:31:57 UTC 2023
On Wed, 29 Mar 2023 10:14:49 GMT, Guoxiong Li <gli at openjdk.org> wrote:
> Hi all,
>
> This patch adds the RISC-V related content to `building.md`. But I didn't
> generate `building.html` locally, because I know the `pandoc` version
> may influencethe the output of `building.html` (Need help here).
>
> I know there are many steps and subtle points about cross-compiling the
> external libraries. Considering the content length and the libraries are
> introduced at `External Library Requirements`, I give only one example
> instead of all of them.
>
> And I tried to build it by using `devkits` and `Debian sysroots`. But it failed locally.
> Maybe someone who has built successfully can tell me how to change the
> document, which mainly adds the right name to their supported target table.
>
> Thanks for the review and assist.
>
> Best Regards,
> -- Guoxiong
RISC-V cross-compiles with sysroots fine:
https://builds.shipilev.net/openjdk-jdk/configure-logs/configure-openjdk-jdk-linux-riscv64-server-release-gcc10-glibc2.31.log
https://builds.shipilev.net/openjdk-jdk/build-logs/build-openjdk-jdk-linux-riscv64-server-release-gcc10-glibc2.31.log
Sometimes you need to point to tools like `OBJCOPY` and `STRIP`, if the host/target triplets contain `unknown`. But other than that, it should be pretty straight-forward.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13223#issuecomment-1488340630
More information about the build-dev
mailing list