[Bug 286010] [FBSD 15.0 current]fatal error: 'ssp/ssp.h' file not found
Date: Sat, 12 Apr 2025 01:53:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286010
--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=858b5e4248164e58f53c81a653933b45eecadacf
commit 858b5e4248164e58f53c81a653933b45eecadacf
Author: Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2025-04-12 01:53:27 +0000
Commit: Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2025-04-12 01:53:27 +0000
sys: protect the kernel build from accidental _FORTIFY_SOURCE
Fortification is a userland feature, thus the flag makes no sense in a
kernel context at the moment. Move the relevant includes that aren't
already in a !_KERNEL block under a !_KERNEL condition to avoid breaking
kernel/kmod builds that are catching a stray -D_FORTIFY_SOURCE in their
CFLAGS.
PR: 286010
Reviewed by: emaste, imp, markj
Differential Revision: https://reviews.freebsd.org/D49774
sys/sys/random.h | 10 ++++++----
sys/sys/select.h | 2 +-
sys/sys/socket.h | 4 ++--
3 files changed, 9 insertions(+), 7 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.