Summary: | sys-devel/clang-common-16.0.6-r2 does not enforce full RELRO on hardened | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | LLVM support project <llvm> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hardened |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 920044 | ||
Bug Blocks: |
Description
Agostino Sarubbo
2023-11-20 12:25:49 UTC
Yes, this is known. commit d7e3de5bc89f7ea17ebc0ea0a1c9ad289a29cabb Author: Sam James <sam@gentoo.org> Date: Sat Aug 26 23:53:44 2023 +0100 sys-devel/clang-common: enable relro, enable bind_now (for hardened) * Always enable RELRO (-Wl,-z,relro) * Conditionally enable BIND_NOW (-Wl,-z,now) based on USE=hardened (for parity with gcc for now) Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/32465 Signed-off-by: Sam James <sam@gentoo.org> This should be the same behaviour as GCC right now. (In reply to Sam James from comment #1) Note that this change was only made to >=17. Well, since there aren't other bug reports about that, I'd say to keep it open until we stabilize clang-17 and then close |