Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jdk11/17 riscv64/plinux openj9.dtfj-gensrc-src build failure #11818

Closed
andrew-m-leonard opened this issue Jan 29, 2021 · 6 comments
Closed

jdk11/17 riscv64/plinux openj9.dtfj-gensrc-src build failure #11818

andrew-m-leonard opened this issue Jan 29, 2021 · 6 comments

Comments

@andrew-m-leonard
Copy link
Contributor

https://ci.adoptopenjdk.net/view/Failing%20Builds/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-linux-riscv64-openj9/273/console

08:49:54  riscv64-unknown-linux-gnu-objcopy --only-keep-debug ../libjclse29.so ../libjclse29.debuginfo
08:49:54  riscv64-unknown-linux-gnu-objcopy --strip-debug ../libjclse29.so
08:49:54  riscv64-unknown-linux-gnu-objcopy --add-gnu-debuglink=../libjclse29.debuginfo ../libjclse29.so
08:49:54  gmake[5]: Leaving directory '/home/adoptopenjdk/workspace/build-scripts/jobs/jdk11u/jdk11u-linux-riscv64-openj9/workspace/build/src/build/linux-riscv64-normal-server-release/vm/jcl'
08:49:54  gmake[4]: Leaving directory '/home/adoptopenjdk/workspace/build-scripts/jobs/jdk11u/jdk11u-linux-riscv64-openj9/workspace/build/src/build/linux-riscv64-normal-server-release/vm'
08:49:54  OpenJ9 compile complete
08:49:54  
08:49:54  ERROR: Build failed for targets 'product-images legacy-jre-image test-image debug-image' in configuration 'linux-riscv64-normal-server-release' (exit code 2) 
08:49:54  
08:49:54  === Make failed targets repeated here ===
08:49:54  make/Main.gmk:112: recipe for target 'openj9.dtfj-gensrc-src' failed

Has a gensrc change happened?

@andrew-m-leonard
Copy link
Contributor Author

plinux too:
https://ci.adoptopenjdk.net/view/Failing%20Builds/job/build-scripts/job/jobs/job/jdk/job/jdk-linux-ppc64le-openj9/247/console

09:02:38  superset file name : superset.dat
09:02:39  Writing generated classes to /home/jenkins/workspace/build-scripts/jobs/jdk/jdk-linux-ppc64le-openj9/workspace/build/src/build/linux-ppc64le-server-release/support/gensrc/openj9.dtfj/com/ibm/j9ddr/vm29/structure
09:02:39  /usr/bin/cp: cannot create directory '/home/jenkins/workspace/build-scripts/jobs/jdk/jdk-linux-ppc64le-openj9/workspace/build/src/build/linux-ppc64le-server-release/support/gensrc/openj9.dtfj/com/ibm/j9ddr/vm29': File exists
09:02:40  /home/jenkins/workspace/build-scripts/jobs/jdk/jdk-linux-ppc64le-openj9/workspace/build/src/closed/DDR.gmk:128: recipe for target '/home/jenkins/workspace/build-scripts/jobs/jdk/jdk-linux-ppc64le-openj9/workspace/build/src/build/linux-ppc64le-server-release/support/ddr/debugtools.done' failed
09:02:40  gmake[4]: *** [/home/jenkins/workspace/build-scripts/jobs/jdk/jdk-linux-ppc64le-openj9/workspace/build/src/build/linux-ppc64le-server-release/support/ddr/debugtools.done] Error 1
09:02:40  gmake[4]: *** Waiting for unfinished jobs....
09:02:40  Unhandled structure type: _IO_FILEPointer->_lock _IO_lock_t*
09:02:41  Unhandled structure type: J9CudaLinkerStatePointer->createOptions $JitOptions
09:02:44  Processing complete
09:02:44  Processing complete
09:02:47  Gensrc.gmk:26: recipe for target 'all' failed
09:02:47  gmake[3]: *** [all] Error 2
09:02:47  make/Main.gmk:115: recipe for target 'openj9.dtfj-gensrc-src' failed
09:02:47  gmake[2]: *** [openj9.dtfj-gensrc-src] Error 1

@andrew-m-leonard andrew-m-leonard changed the title jdk11 riscv64-unknown-linux-gnu-objcopy build failure jdk11/17 riscv64/plinux openj9.dtfj-gensrc-src build failure Jan 29, 2021
@pshipton
Copy link
Member

@ChengJin01 @keithc-ca fyi

@ChengJin01
Copy link

There is no code or setting changes specific to RISC-V on my side.

@keithc-ca keithc-ca self-assigned this Jan 29, 2021
@keithc-ca
Copy link
Contributor

I think there are two problems here.

  1. builds fail when DDR is not enabled
  2. it appears there's a conflict between parallel tasks when DDR is enabled

@ChengJin01
Copy link

DDR should be disabled via cross-compilation on the local/host system for RISC-V (only enabled if directly compiled on RISC-V with a cross-build as a boot/build JDK).

@pshipton
Copy link
Member

The fixes are merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants