Release build failed with Clang 18 on Ubuntu 24.04 + both AArch64 and x86_64 hardware.
Here shows the snippet of error log:
=== Output from failing command(s) repeated here ===
* For target support_test_jdk_jtreg_native_support_exePrintSignalDisposition_exePrintSignalDisposition.o:
/tmp/jdk-src/test/jdk/java/lang/ProcessBuilder/childSignalDisposition/exePrintSignalDisposition.c:75:41: error: format specifies type 'unsigned int' but the argument has type '__sigset_t' [-Werror,-Wformat]
75 | printf("%X %X\n", act.sa_flags, act.sa_mask);
| ~~ ^~~~~~~~~~~
1 error generated.
* All command lines available in /tmp/build-release/make-support/failure-logs.
=== End of repeated output ===
No indication of failed target found.
HELP: Try searching the build log for '] Error'.
HELP: Run 'make doctor' to diagnose build problems.
make[1]: *** [/tmp/jdk-src/make/Init.gmk:151: main] Error 2
make: *** [/tmp/jdk-src/make/PreInit.gmk:159: test-image] Error 2
Here shows the snippet of error log:
=== Output from failing command(s) repeated here ===
* For target support_test_jdk_jtreg_native_support_exePrintSignalDisposition_exePrintSignalDisposition.o:
/tmp/jdk-src/test/jdk/java/lang/ProcessBuilder/childSignalDisposition/exePrintSignalDisposition.c:75:41: error: format specifies type 'unsigned int' but the argument has type '__sigset_t' [-Werror,-Wformat]
75 | printf("%X %X\n", act.sa_flags, act.sa_mask);
| ~~ ^~~~~~~~~~~
1 error generated.
* All command lines available in /tmp/build-release/make-support/failure-logs.
=== End of repeated output ===
No indication of failed target found.
HELP: Try searching the build log for '] Error'.
HELP: Run 'make doctor' to diagnose build problems.
make[1]: *** [/tmp/jdk-src/make/Init.gmk:151: main] Error 2
make: *** [/tmp/jdk-src/make/PreInit.gmk:159: test-image] Error 2
- caused by
-
JDK-8364611 (process) Child process SIGPIPE signal disposition should be default
-
- Resolved
-
- duplicates
-
JDK-8365295 Build failure with Clang due to -Wformat warning after JDK-8364611
-
- Closed
-
- relates to
-
JDK-8365307 AIX make fails after JDK-8364611
-
- Resolved
-
- links to
-
Review(master) openjdk/jdk/26771