-
-
Notifications
You must be signed in to change notification settings - Fork 255
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
Update Temurin linux builds to use suggested Security Audit gcc compiler flags #3685
Comments
Builds of jdk-22+35 (Not the GA level!) with a bunch of options. Note that while there are a lot of links in here and the builds are being retained for now this is purely as a convenience while they are being tested and they will not be retained in the future.
Initial AQA runs have been done but the openjdk set are being re-run due to them missing the testimage archive which caused a number of failures. |
Noting that the
|
I'm going to ignore that earlier table for now as there were some issues with those executions.
[*] - Note: A number of the extended runs failed RuntimeImageTest - I am excluding those from the analysis here as they have been seen elsewhere as per this slack thread and this triage comment so those are unrelated to the new compiler options and should therefore be discarded in drawing any conclusions here Notes:
|
Yes, this is an awful lot of warnings! |
So the thoughts from talking to Andrew Haley, is the use of enhanced stack protector for Hotspot JVM stack is not beneficial as it is a private stack, and only serves to impinge performance. |
Which does not leave any code options. If we feel any extra options are needed we should work with upstream to update. |
The Adoptium security audit outlined some suggested compiler flags for enhanced security, we need to look at evaluating those, and implementing and testing their use.
As part of the Eclipse Adoptium security audit, the following gcc options were suggested as being used to enhance the security of the JDK binaries.
Code generation suggestions:
Compiler Warning suggestions:
The text was updated successfully, but these errors were encountered: