https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292384

--- Comment #3 from Evgenii Khramtsov <[email protected]> ---
(In reply to Alexander Leidinger from comment #2)

- HardenedBSD switched to zeroing ="used" rather than ="all" registers, see
https://github.com/HardenedBSD/ports/commit/feae5c19663a
- Then removed python gate as well due to zeroreg becoming opt in:
https://github.com/HardenedBSD/ports/commit/5f66cbd0fe9c

- nix enabled -fzero-call-used-regs"=used-gpr" by default, see:
https://github.com/NixOS/nixpkgs/blob/20443e857583/doc/stdenv/stdenv.chapter.md#hardening-flags-enabled-by-default-sec-hardening-flags-enabled-by-default
https://github.com/NixOS/nixpkgs/blob/20443e857583/doc/stdenv/stdenv.chapter.md#zerocallusedregs-zerocallusedregs
- nix does not opt opt from zeroreg for cpython, see:
https://github.com/NixOS/nixpkgs/blob/20443e857583/pkgs/development/interpreters/python/cpython/default.nix

- Upstream has -fzero-call-used-regs related issue only citing minor
performance regression not breakage:
https://github.com/python/cpython/issues/130961

- exp-run isn't required for Features not enabled by default in the ports
framework, see:
https://github.com/freebsd/freebsd-ports/blob/0286baf75e6a/Mk/bsd.port.mk#L1005

- Current gate is too broad e.g. I want this for www/firefox not opt out

- My local exp-run of limited coverage (~LLVM, ~Rust, ~KDE, ~Firefox,
~whatever) has not seen any fallout from either =used vs. user-gpr

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Reply via email to