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

JDKnext_x86-64_linux_valhalla_Nightly compilation failures - error: #elif with no expression & 'valueToWrite' was not declared in this scope #20598

Closed
JasonFengJ9 opened this issue Nov 15, 2024 · 3 comments · Fixed by #20608
Labels
blocker project:panama Used to track Project Panama related work test failure

Comments

@JasonFengJ9
Copy link
Member

JasonFengJ9 commented Nov 15, 2024

Failure link

From an internal build

Optional info

Failure output (captured from console output)

21:26:36  [ 89%] Building CXX object runtime/compiler/CMakeFiles/j9jit.dir/optimizer/TreeLowering.cpp.o
21:26:36  /home/jenkins/workspace/Build_JDKnext_x86-64_linux_valhalla_Nightly/openj9/runtime/compiler/optimizer/VectorAPIExpansion.cpp:1669:6: error: #elif with no expression
21:26:36   1669 | #elif
21:26:36        |      ^
21:26:39  [ 89%] Building CXX object runtime/compiler/CMakeFiles/j9jit.dir/ras/HashTable.cpp.o
21:26:39  /home/jenkins/workspace/Build_JDKnext_x86-64_linux_valhalla_Nightly/openj9/runtime/compiler/optimizer/VectorAPIExpansion.cpp: In static member function 'static TR::Node* TR_VectorAPIExpansion::storeIntrinsicHandler(TR_VectorAPIExpansion*, TR::TreeTop*, TR::Node*, TR::DataType, TR::VectorLength, int32_t, TR_VectorAPIExpansion::handlerMode)':
21:26:39  /home/jenkins/workspace/Build_JDKnext_x86-64_linux_valhalla_Nightly/openj9/runtime/compiler/optimizer/VectorAPIExpansion.cpp:1673:96: error: 'valueToWrite' was not declared in this scope
21:26:39   1673 |    return transformStoreToArray(opt, treeTop, node, elementType, vectorLength, numLanes, mode, valueToWrite, base, offset, objType);
21:26:39        |                                                                                                ^~~~~~~~~~~~
21:26:39  [ 89%] Building CXX object runtime/compiler/CMakeFiles/j9jit.dir/ras/InternalFunctions.cpp.o

jdk23u-linux-aarch64

23:36:06  /home/jenkins/workspace/build-scripts/jobs/jdk23u/jdk23u-linux-aarch64-openj9/workspace/build/src/openj9/runtime/compiler/optimizer/VectorAPIExpansion.cpp:1669:6: error: #elif with no expression
23:36:06   1669 | #elif
23:36:06        |      ^
23:36:06  [ 82%] Building CXX object runtime/gc_check/CMakeFiles/j9gccheck_full.dir/CheckJNIGlobalReferences.cpp.o

It seems related to

FYI @gita-omr

@JasonFengJ9 JasonFengJ9 added project:valhalla Used to track Project Valhalla related work test failure blocker labels Nov 15, 2024
Copy link

Issue Number: 20598
Status: Open
Recommended Components: comp:vm, comp:gc, comp:test
Recommended Assignees: keithc-ca, hangshao0, pshipton

@hangshao0 hangshao0 added project:panama Used to track Project Panama related work and removed project:valhalla Used to track Project Valhalla related work labels Nov 15, 2024
Copy link

Issue Number: 20598
Status: Closed
Actual Components: project:panama, test failure, blocker
Actual Assignees: No one :(
PR Assignees: 0xdaryl

1 similar comment
Copy link

Issue Number: 20598
Status: Closed
Actual Components: project:panama, test failure, blocker
Actual Assignees: No one :(
PR Assignees: 0xdaryl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker project:panama Used to track Project Panama related work test failure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants