RFR: 8348582: Set -fstack-protector when building with clang
Matthias Baesken
mbaesken at openjdk.org
Mon Jan 27 12:58:32 UTC 2025
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.
-------------
Commit messages:
- JDK-8348582
Changes: https://git.openjdk.org/jdk/pull/23316/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23316&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8348582
Stats: 15 lines in 1 file changed: 6 ins; 6 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/23316.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23316/head:pull/23316
PR: https://git.openjdk.org/jdk/pull/23316
More information about the build-dev
mailing list