Created attachment 252026 [details] git(1) diff against the ports tree For today's FreeBSD 14 and earlier, libssp is a nop because nothing on FreeBSD will be referencing these headers or lib. On FreeBSD 15, it actively breaks building with FORTIFY_SOURCE enabled and it's not worth trying to make it work- the potential for GCC improvements comes from the __builtin_object_size enhancement, not from these headers.
I approve. Thanks for the patch.
Note that lang/gcc10 expired today.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=17024a6f828904fbd57ff459b32f9ed21f77a1a4 commit 17024a6f828904fbd57ff459b32f9ed21f77a1a4 Author: Kyle Evans <kevans@FreeBSD.org> AuthorDate: 2024-10-29 23:52:59 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2024-10-29 23:54:20 +0000 lang/gcc*: disable building of libssp For today's FreeBSD 14 and earlier, libssp is a nop because nothing on FreeBSD will be referencing these headers or lib. On FreeBSD 15, it actively breaks building with FORTIFY_SOURCE enabled and it's not worth trying to make it work- the potential for GCC improvements comes from the __builtin_object_size enhancement, not from these headers. PR: 280265 Approved by: salvadore (maintainer) lang/gcc11-devel/Makefile | 1 + lang/gcc11/Makefile | 1 + lang/gcc12-devel/Makefile | 1 + lang/gcc12/Makefile | 1 + lang/gcc13-devel/Makefile | 1 + lang/gcc13/Makefile | 1 + lang/gcc14-devel/Makefile | 1 + lang/gcc14/Makefile | 1 + lang/gcc15-devel/Makefile | 1 + 9 files changed, 9 insertions(+)
Thanks!