[Bug 262427] devel/google-perftools fails to build using poudriere on amd64 13-stable with linker error undefined symbol: unw_getcontext

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 08 Mar 2022 21:35:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262427

            Bug ID: 262427
           Summary: devel/google-perftools fails to build using poudriere
                    on amd64 13-stable with linker error undefined symbol:
                    unw_getcontext
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: transitive@gmail.com
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)
 Attachment #232328 text/plain
         mime type:

Created attachment 232328
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232328&action=edit
devel/google-perftools poudriere build log of linker error

The port devel/google-perftools fails to build for me using poudriere on amd64
13-stable.

It fails with a linker error undefined symbol: unw_getcontext as shown below:

/libstacktrace.a")
libtool: link: (cd .libs/libtcmalloc_internal.lax/libstacktrace.a && ar x
"/wrkdirs/usr/ports/devel/google-perftools/work/gperftools-2.9.1/./.libs/libstacktrace.a")
ld: error: undefined symbol: unw_getcontext
>>> referenced by stacktrace.cc
>>>               stacktrace.o:(GetStackFrames_libunwind(void**, int*, int, int)) in archive ./.libs/libstacktrace.a
>>> referenced by stacktrace.cc
>>>               stacktrace.o:(GetStackFramesWithContext_libunwind(void**, int*, int, int, void const*)) in archive ./.libs/libstacktrace.a
>>> referenced by stacktrace.cc
>>>               stacktrace.o:(GetStackTrace_libunwind(void**, int, int)) in archive ./.libs/libstacktrace.a
>>> referenced 1 more times

-- 
You are receiving this mail because:
You are the assignee for the bug.