RFR: 8341586: RISC-V: build fail with gcc9
SendaoYan
syan at openjdk.org
Wed Oct 9 02:41:02 UTC 2024
On Sun, 6 Oct 2024 13:28:30 GMT, SendaoYan <syan at openjdk.org> wrote:
> Hi all,
> The `src/hotspot/cpu/riscv/icache_riscv.cpp` build fails `riscv_flush_icache.cpp:51:29: error: requested alignment 64 is larger than 16 [-Werror=attributes]` with gcc9. Alignment 16 will be enough, though the [NR_riscv_flush_icache syscall](https://github.com/torvalds/linux/blob/master/tools/arch/riscv/include/uapi/asm/unistd.h) doesn't reqiure alignment.
>
> Addiontional testing:
>
> - [x] riscv native build with release conf and slowdebug conf
> - [ ] jtreg tier1 tests with release build
I will close this PR, and open a new one PR in jdk21u-dev.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21376#issuecomment-2401154989
More information about the hotspot-runtime-dev
mailing list