Source: openjdk-26
Version: 26~22ea-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: loong64

Dear maintainers,

Compiling the openjdk-26 failed for loong64 in the Debian Package Auto-Building environment.
The error log is as follows,
```
......
Passed: compiler/loopopts/TestPartialPeelAtUnsignedTests.java
Error: compiler/loopopts/TestPartialPeelAtUnsignedTestsNegativeLimit.java#Xbatch Error: compiler/loopopts/TestPartialPeelAtUnsignedTestsNegativeLimit.java#Xcomp-compile-test Error: compiler/loopopts/TestPartialPeelAtUnsignedTestsNegativeLimit.java#Xcomp-run-inline
Passed: compiler/loopopts/TestPartialPeelingAtSingleInputRegion.java
Passed: compiler/loopopts/TestPeelingNeverEnteredLoop.java
FAILED: compiler/loopopts/TestPeelingSkeletonPredicateInitialization.java
Passed: compiler/loopopts/TestPhaseCFGNeverBranchToGotoMain.java#id0
Passed: compiler/loopopts/TestPhaseCFGNeverBranchToGotoMain.java#id1
FAILED: compiler/loopopts/TestPredicateInputBelowLoopPredicate.java
Passed: compiler/loopopts/TestPreMainPostFallInEdges.java
Passed: compiler/loopopts/TestRCEAfterUnrolling.java
FAILED: compiler/loopopts/TestReassociateInvariants.java
......
```
The full build log can be found at https://buildd.debian.org/status/fetch.php?pkg=openjdk-26&arch=loong64&ver=26%7E22ea-2&stamp=1762629065&raw=0.
Please consider the patch I attached.
Currently, OpenJDK can only be built with the Zero variant on loong64.
I have built openjdk-26 successfully on locally.
Your opinions are welcome.

Best regards,
Dandan Zhang

diff -Nru openjdk-26-26~22ea/debian/changelog 
openjdk-26-26~22ea/debian/changelog
--- openjdk-26-26~22ea/debian/changelog 2025-10-30 21:43:06.000000000 +0000
+++ openjdk-26-26~22ea/debian/changelog 2025-11-21 04:07:10.000000000 +0000
@@ -1,3 +1,9 @@
+openjdk-26 (26~22ea-2+loong64) unstable; urgency=medium
+
+  * d/rules: Add loong64 to disabled running check lists.
+
+ -- Dandan Zhang <[email protected]>  Fri, 21 Nov 2025 12:07:10 +0800
+
 openjdk-26 (26~22ea-2) unstable; urgency=medium
 
   * Revert the JDK-8351148 change, breaking zero on i386 and x32.
diff -Nru openjdk-26-26~22ea/debian/rules openjdk-26-26~22ea/debian/rules
--- openjdk-26-26~22ea/debian/rules     2025-10-30 17:19:16.000000000 +0000
+++ openjdk-26-26~22ea/debian/rules     2025-11-21 04:07:10.000000000 +0000
@@ -177,7 +177,7 @@
 testng_pkg = libtestng7-java
 
 with_check = $(if $(findstring nocheck, $(DEB_BUILD_OPTIONS)),,yes)
-ifneq (,$(filter $(DEB_HOST_ARCH), alpha arc armel mipsel mips64el powerpc 
riscv64 x32))
+ifneq (,$(filter $(DEB_HOST_ARCH), alpha arc armel loong64 mipsel mips64el 
powerpc riscv64 x32))
   with_check = disabled running check on $(DEB_HOST_ARCH)
 endif
 # no jtreg backport yet

Reply via email to