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

jdk11u-linux-x64-openj9-criu build failure - error: 'is_trivially_copyable' is not a member of 'std' #15959

Closed
JasonFengJ9 opened this issue Sep 23, 2022 · 2 comments
Labels
criu Used to track CRIU snapshot related work test failure

Comments

@JasonFengJ9
Copy link
Member

Failure link

From an internal build(cent7x64-1-2):
Optional info

Failure output (captured from console output)

21:06:29  /home/jenkins/workspace/build-scripts/jobs/jdk11u/jdk11u-linux-x64-openj9-criu/workspace/build/src/openj9/runtime/compiler/net/MessageBuffer.hpp:103:21: error: 'is_trivially_copyable' is not a member of 'std'
21:06:29         static_assert(std::is_trivially_copyable<T>::value == true, "T must be trivially copyable.");
21:06:29                       ^
21:06:29  /home/jenkins/workspace/build-scripts/jobs/jdk11u/jdk11u-linux-x64-openj9-criu/workspace/build/src/openj9/runtime/compiler/net/MessageBuffer.hpp:103:49: error: expected primary-expression before '>' token
21:06:29         static_assert(std::is_trivially_copyable<T>::value == true, "T must be trivially copyable.");
21:06:29                                                   ^
21:06:29  /home/jenkins/workspace/build-scripts/jobs/jdk11u/jdk11u-linux-x64-openj9-criu/workspace/build/src/openj9/runtime/compiler/net/MessageBuffer.hpp:103:50: error: '::value' has not been declared
21:06:29         static_assert(std::is_trivially_copyable<T>::value == true, "T must be trivially copyable.");

21:06:36  Compiling 3151 files for java.base
21:06:36  [ 43%] Built target j9gcstructs_full
21:06:36  Makefile:129: recipe for target 'all' failed
21:06:36  gmake[4]: *** [all] Error 2
21:06:36  gmake[3]: *** [build-j9] Error 2
21:06:36  /home/jenkins/workspace/build-scripts/jobs/jdk11u/jdk11u-linux-x64-openj9-criu/workspace/build/src/closed/OpenJ9.gmk:515: recipe for target 'build-j9' failed
21:06:36  gmake[2]: *** [j9vm-build] Error 2
21:06:36  gmake[2]: *** Waiting for unfinished jobs....
21:06:36  /home/jenkins/workspace/build-scripts/jobs/jdk11u/jdk11u-linux-x64-openj9-criu/workspace/build/src/closed/custom/Main.gmk:51: recipe for target 'j9vm-build' failed
21:06:38  Creating ct.sym classes
21:06:43  error: module not found: jdk.hotspot.agent
21:06:43  Creating support/symbols/ct.sym
21:07:03  Note: Some input files use or override a deprecated API.
21:07:03  Note: Recompile with -Xlint:deprecation for details.
21:07:03  Note: {0} uses or overrides a deprecated API that is marked for removal.
21:07:03  Note: Recompile with -Xlint:removal for details.
21:07:03  Note: Some input files use unchecked or unsafe operations.
21:07:03  Note: Recompile with -Xlint:unchecked for details.
21:07:04  
21:07:04  ERROR: Build failed for targets 'product-images legacy-jre-image test-image debug-image' in configuration 'linux-x86_64-normal-server-release' (exit code 2) 
21:07:04  Stopping sjavac server

This probably is a build machine issue cause my local build was fine.

@JasonFengJ9 JasonFengJ9 added test failure criu Used to track CRIU snapshot related work labels Sep 23, 2022
@keithc-ca
Copy link
Contributor

We regularly build with CRIU. Is this issue still needed?

@JasonFengJ9
Copy link
Member Author

No, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
criu Used to track CRIU snapshot related work test failure
Projects
None yet
Development

No branches or pull requests

2 participants