-
Notifications
You must be signed in to change notification settings - Fork 396
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
omrthreadattr.c signed comparison of unsigned variable priority #7454
Comments
@babsingh fyi |
babsingh
added a commit
to babsingh/omr
that referenced
this issue
Sep 6, 2024
Fixes: eclipse-omr#7454 Signed-off-by: Babneet Singh <[email protected]>
Normally we configure with --disable-ccache, but that was left off. Not sure why it would cause the error. |
The full set of missing configure args was |
babsingh
added a commit
to babsingh/omr
that referenced
this issue
Sep 6, 2024
Fixes: eclipse-omr#7454 Signed-off-by: Babneet Singh <[email protected]>
babsingh
added a commit
to babsingh/omr
that referenced
this issue
Sep 9, 2024
omrthread_prio_t is of type uintptr_t. It cannot have a value below 0. J9THREAD_PRIORITY_MIN is defined as 0 and J9THREAD_PRIORITY_MAX is defined as 11. In omrthread_attr_set_priority, priority, which is of type omrthread_prio_t, will always be greater than or equal to J9THREAD_PRIORITY_MIN. To see if priority is invalid, we only need to evaluate if it is greater than J9THREAD_PRIORITY_MAX. Fixes: eclipse-omr#7454 Signed-off-by: Babneet Singh <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We accidentally ran a jdk8 build with the wrong configure options and got the following error on AIX, which seems legit.
The text was updated successfully, but these errors were encountered: