[Bug 256874] devel/gcc: stop linking against _p.a libraries

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 28 Jun 2021 19:48:54 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256874

            Bug ID: 256874
           Summary: devel/gcc: stop linking against _p.a libraries
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs_at_FreeBSD.org
          Reporter: emaste_at_freebsd.org

We plan to deprecate the PROFILE option / _p.a archives - see
https://reviews.freebsd.org/D30833.

Clang upstream and in base no longer links against _p.a archives when -pg is
specified:

commit b762974cf4b9ea77f1decf4a6d829372f0a97f75
Author: Ed Maste <emaste_at_FreeBSD.org>
Date:   Sat Jun 26 19:58:16 2021 -0400

    clang: stop linking _p libs for -pg as of FreeBSD 14

    In FreeBSD 14 we will stop providing _p libraries (compiled with -pg).

    Reviewed by:    dim (upstream)
    Obtained from:  LLVM 699d47472c3f
    MFC after:      2 weeks
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D30861

We'll need to make the same change in gcc. AFAICT at present only libc_p.a and
libpthread_p.a have this special case in gcc.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Mon Jun 28 2021 - 19:48:54 UTC

Original text of this message