-
Bug
-
Resolution: Fixed
-
P4
-
25
-
b08
-
generic
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8351636 | 24.0.2 | Matthias Baesken | P4 | Resolved | Fixed | master |
We noticed -fstack-protector is set when building on Linux with gcc but we miss it in the Hotspot compile calls when building on Linux with clang.
AIX/clang has already the -fstack-protector setting.
MacOS/clang misses it.
Some info about the flag can be found here :
https://developers.redhat.com/articles/2022/06/02/use-compiler-flags-stack-protection-gcc-and-clang
https://clang.llvm.org/docs/ClangCommandLineReference.html
AIX/clang has already the -fstack-protector setting.
MacOS/clang misses it.
Some info about the flag can be found here :
https://developers.redhat.com/articles/2022/06/02/use-compiler-flags-stack-protection-gcc-and-clang
https://clang.llvm.org/docs/ClangCommandLineReference.html
- backported by
-
JDK-8351636 Set -fstack-protector when building with clang
-
- Resolved
-
- duplicates
-
JDK-8345093 Enable -fstack-protector for clang builds
-
- Closed
-
- links to
-
Commit(master) openjdk/jdk24u/31ea0208
-
Commit(master) openjdk/jdk/fe6d9ab9
-
Review(master) openjdk/jdk24u/59
-
Review(master) openjdk/jdk/23316
(1 links to)