-
Notifications
You must be signed in to change notification settings - Fork 397
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
Fix build breaks with gcc 11.3.1 #6702
Conversation
a44356c
to
63ab1bc
Compare
@keithc-ca @babsingh could you please review? |
We should be able to build OMR without
|
Yes, if should be fixed eventually. However I have suspicion the condition check was missed at time of split code for OMR many years ago. I think there are more missed checks like this in the code (not only Scavenger but another GC features related). So OMR code requires inspection/cleaning project. Also when it completes it required testing support - compiling code with disabled features on regular basis. Otherwise new errors are going to be introduced unavoidably. Currently we have no resources to address this, so, this is another issue for backlog |
LGTM. GC fix is a good temporary workaround. |
63ab1bc
to
0da82e7
Compare
The current build instructions results in a build break in the gc component. This PR updates the build instructions to ensure that OMR_GC_MODRON_SCAVENGER is enabled at build time. Signed-off-by: Irwin D'Souza <[email protected]>
This commit adds -O3 to the CMakeLists.txt of the omrtrace component to prevent the following warning treated as an error: warning _FORTIFY_SOURCE requires compiling with optimization (-O) Signed-off-by: Irwin D'Souza <[email protected]>
0da82e7
to
d62849e
Compare
jenkins build all To make sure, the |
@AdamBrousseau Noticed a new infra issue on Windows, which is unrelated to this PR. Is this a known infra issue? |
jenkins build win |
We were testing a new machine. Back to normal now. |
riscv build failed because of:
It's not the first time there's been a hang in RWMutex (see #277 (comment)) though that was all the way in 2016 on OSX, so kind of a stretch to link these two. Will run the test again to see if it's reproducable. |
jenkins build riscv64 |
Don't see the RWMutex hang this time around; riscv64 failure now because of #6704 |
OMR_GC_MODRON_SCAVENGER
is enabled during the build-O3
toomrtrace
component to prevent warning about not compiling with-O
when_FORTIFY_SOURCE
is specified.