Bug 280265 - lang/gcc10: and friends, disable libssp
Summary: lang/gcc10: and friends, disable libssp
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Lorenzo Salvadore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-13 21:52 UTC by Kyle Evans
Modified: 2024-10-30 00:16 UTC (History)
1 user (show)

See Also:
salvadore: maintainer-feedback+


Attachments
git(1) diff against the ports tree (4.12 KB, patch)
2024-07-13 21:52 UTC, Kyle Evans
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Evans freebsd_committer freebsd_triage 2024-07-13 21:52:23 UTC
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.
Comment 1 Lorenzo Salvadore freebsd_committer freebsd_triage 2024-07-16 15:03:54 UTC
I approve. Thanks for the patch.
Comment 2 Rene Ladan freebsd_committer freebsd_triage 2024-10-20 12:32:36 UTC
Note that lang/gcc10 expired today.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-10-29 23:56:39 UTC
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(+)
Comment 4 Kyle Evans freebsd_committer freebsd_triage 2024-10-30 00:16:54 UTC
Thanks!