OpenXiangShan / tl-test-new

The Unified TileLink Memory Subsystem Tester for XiangShan
Mulan Permissive Software License, Version 2
2 stars 0 forks source link

build failed on jdk21 #19

Closed lenged closed 3 weeks ago

lenged commented 2 months ago

jdk21 编译 dut 时候遇到 constant pool 同bug ; 修改build.sc 中

相关版本信息

java --version openjdk 21.0.3 2024-04-16

scalac --version Scala compiler version 3.4.2 -- Copyright 2002-2024, LAMP/EPFL

/dut/CoupledL2/out/mill-build/compile.dest/classes ... [error] [error] bad constant pool index: 0 at pos: 48461 [error] while compiling: [error] during phase: globalPhase=, enteringPhase= [error] library version: version 2.13.10 [error] compiler version: version 2.13.10

Kumonda221-CrO3 commented 1 month ago

建议使用 JDK 17