Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2021 15:04:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 258536] Add global LTO support for ports
Message-ID:  <bug-258536-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258536

            Bug ID: 258536
           Summary: Add global LTO support for ports
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: pkubaj@FreeBSD.org
                CC: ports-bugs@FreeBSD.org

Created attachment 227939
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D227939&action=
=3Dedit
patch

It's well known that LTO provides both performance and size benefits for
binaries.

Add preliminary, opt-in support for global LTO enforcement to ports. Ports =
that
provide LTO option on their own and the ones that don't work with LTO will =
need
to set LTO_UNSAFE in the future.

When the LTO is switched by default, it will need to be excluded on the
platforms where LTO does not work, but the purpose of the patch is to give
opt-in support.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258536-7788>