From nobody Mon Jan 29 09:06:14 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TNj8R4hf0z58XNX; Mon, 29 Jan 2024 09:06:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TNj8R0slkz4jY0; Mon, 29 Jan 2024 09:06:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706519175; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tWRGLtvb12JROSULDdstQqPnD2NJ3yA8/YZ6b2U7dbo=; b=lRZgcTN3tJlrmRoRwV6TDcg2e3ef7AebkwCPylIU3g8Esa4QpJ4vi5vWdjfcPo8jzVtEJQ 9/5M1fgOrldu0zGfoj6qNegvNcGeZGc5HgO+Q/0TRE8AC2dlscE0vw/xTP6WrfXfk7vnZs WcrQ0bLsCecQr5IaQ/UPqDP8ayABveaQeux2Uey1fdodfo9iniBt1FEI38O4frYpaHTp4N x1xSL20OURqGoy+7oGLDhGIzLgjef0+kWmrW8afu9j4NS8DXiVGgHQc2SIkp8f5petb2BB 3x5nOsf8rAGXzqjZogaT3UNXN+fNkXTkRyHmqkLQYvzLZg9BMpy42S9HNjE8PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706519175; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tWRGLtvb12JROSULDdstQqPnD2NJ3yA8/YZ6b2U7dbo=; b=tCbypmJWxVNx5AvKoCW4LdgCvBNNxSLqoeMN2eUgbrbp1k4sXOKRnQIOJzRzOnqgePzSfa QrQM/Mm+nS3mJrIGU80FVEB3L7mjho1YKr+PB+CMwSEvQl4NQTCPWJ2/t6iV6FzDk2p7m6 sBeXGjufZU6OXaD2RFkNEDsdllFvjBpYLX/VWO0KBOcWXdBoBi/dV2twrEcXwvlktfqBcE sJfebB/naEirIsyrHt8U7ybYDWOAqEar/FyERk5e1he/hnD4sN1eHC4p8mqbfl4jl41BlP 7F8H6vA9JzlWIxUQeAOBX+QMS/47DPl4f3bmLPfmWYZjS3LvTfpdjBBv1+v+1Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706519175; a=rsa-sha256; cv=none; b=RuZ39aGYhuGrQdhBGoha1y1C65Bv1cJDUvpXs7Y890K3gxUjgLscn/1Qcj1FKhZYl9eG5D nOMn3T4oKJ8O/iYua7eLpF76reua7AJWZqYF+TjB04fXZm3jNZaCJw6TWK7WpGs0Qy5d6h FihO4pdyM53X/6dI+pp/mDh/iT/MXiuCfl7o3xhRo4OI+vi8ME/Eha9V6DMStIP3bUM8fM BpRcwdERLBKBvQbczoBz12NdYS/Jf4dDfZY5IxZuN7b3h2RPj1rr7brk5AxmNwiKaN5dfs cVtuK5ZxdqcXWVaUenzkxRrB8VXKxlRvaplIlxMCdeSOklPycT2e709qKyhUcA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TNj8Q72Ptzlg4; Mon, 29 Jan 2024 09:06:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40T96Eo9049214; Mon, 29 Jan 2024 09:06:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40T96Egu049211; Mon, 29 Jan 2024 09:06:14 GMT (envelope-from git) Date: Mon, 29 Jan 2024 09:06:14 GMT Message-Id: <202401290906.40T96Egu049211@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: 1c7a06b4e3a4 - main - devel/libunwind: update to 1.8.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1c7a06b4e3a4f1e4bb91d4f048680021fd793ff1 Auto-Submitted: auto-generated The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=1c7a06b4e3a4f1e4bb91d4f048680021fd793ff1 commit 1c7a06b4e3a4f1e4bb91d4f048680021fd793ff1 Author: awoonya AuthorDate: 2024-01-15 19:56:27 +0000 Commit: Gleb Popov CommitDate: 2024-01-29 09:04:15 +0000 devel/libunwind: update to 1.8.0 PR: 276346 Approved by: sunpoet (maintainer timeout) Co-authored-by: Gleb Popov Pull Request: https://github.com/freebsd/freebsd-ports/pull/215 --- devel/libunwind/Makefile | 5 ++-- devel/libunwind/distinfo | 6 ++--- devel/libunwind/files/patch-armv7 | 29 ---------------------- devel/libunwind/files/patch-i386 | 13 ---------- .../patch-include_tdep-x86__64_libunwind__i.h | 13 ---------- .../libunwind/files/patch-src_setjmp_siglongjmp.c | 11 -------- devel/libunwind/pkg-plist | 9 +++++-- 7 files changed, 12 insertions(+), 74 deletions(-) diff --git a/devel/libunwind/Makefile b/devel/libunwind/Makefile index 66e5992c887c..493da010e3b4 100644 --- a/devel/libunwind/Makefile +++ b/devel/libunwind/Makefile @@ -1,6 +1,5 @@ PORTNAME= libunwind -PORTVERSION= 20230730 # This is the release date on https://github.com/libunwind/libunwind/releases -PORTREVISION= 1 +PORTVERSION= 20240112 # This is the release date on https://github.com/libunwind/libunwind/releases CATEGORIES= devel MASTER_SITES= https://github.com/libunwind/libunwind/releases/download/v${LIBUNWIND_VERSION}/ DISTNAME= ${PORTNAME}-${LIBUNWIND_VERSION} @@ -29,7 +28,7 @@ PLIST_SUB= ARCH=${ARCH:S|amd64|x86_64|:C|armv.|arm|:S|i386|x86|:C|powerpc64.*|pp CPE_VENDOR= libunwind_project -LIBUNWIND_VERSION= 1.7.2 +LIBUNWIND_VERSION= 1.8.0 .include diff --git a/devel/libunwind/distinfo b/devel/libunwind/distinfo index 03fe9071a429..6c2b53618691 100644 --- a/devel/libunwind/distinfo +++ b/devel/libunwind/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1697307744 -SHA256 (libunwind-1.7.2.tar.gz) = a18a6a24307443a8ace7a8acc2ce79fbbe6826cd0edf98d6326d0225d6a5d6e6 -SIZE (libunwind-1.7.2.tar.gz) = 912590 +TIMESTAMP = 1705346537 +SHA256 (libunwind-1.8.0.tar.gz) = b6b3df40a0970c8f2865fb39aa2af7b5d6f12ad6c5774e266ccca4d6b8b72268 +SIZE (libunwind-1.8.0.tar.gz) = 949829 diff --git a/devel/libunwind/files/patch-armv7 b/devel/libunwind/files/patch-armv7 deleted file mode 100644 index e22e4b42fbd4..000000000000 --- a/devel/libunwind/files/patch-armv7 +++ /dev/null @@ -1,29 +0,0 @@ -Obtained from: https://github.com/libunwind/libunwind/commit/99fb31d5f05ff6c96ca3a9350c792618fab23f2d - ---- src/ptrace/_UPT_access_fpreg.c.orig 2021-11-26 16:58:55 UTC -+++ src/ptrace/_UPT_access_fpreg.c -@@ -104,7 +104,11 @@ _UPT_access_fpreg (unw_addr_space_t as, unw_regnum_t r - #elif defined(__i386__) - memcpy(&fpreg.fpr_acc[reg], val, sizeof(unw_fpreg_t)); - #elif defined(__arm__) -+# if __FreeBSD_version >= 1400079 -+ memcpy(&fpreg.fpr_r[reg], val, sizeof(unw_fpreg_t)); -+# else - memcpy(&fpreg.fpr[reg], val, sizeof(unw_fpreg_t)); -+# endif - #elif defined(__aarch64__) - memcpy(&fpreg.fp_q[reg], val, sizeof(unw_fpreg_t)); - #elif defined(__powerpc64__) -@@ -120,7 +124,11 @@ _UPT_access_fpreg (unw_addr_space_t as, unw_regnum_t r - #elif defined(__i386__) - memcpy(val, &fpreg.fpr_acc[reg], sizeof(unw_fpreg_t)); - #elif defined(__arm__) -- memcpy(val, &fpreg.fpr[reg], sizeof(unw_fpreg_t)); -+# if __FreeBSD_version >= 1400079 -+ memcpy(&fpreg.fpr_r[reg], val, sizeof(unw_fpreg_t)); -+# else -+ memcpy(&fpreg.fpr[reg], val, sizeof(unw_fpreg_t)); -+# endif - #elif defined(__aarch64__) - memcpy(val, &fpreg.fp_q[reg], sizeof(unw_fpreg_t)); - #elif defined(__powerpc64__) diff --git a/devel/libunwind/files/patch-i386 b/devel/libunwind/files/patch-i386 deleted file mode 100644 index 86f24c8417ab..000000000000 --- a/devel/libunwind/files/patch-i386 +++ /dev/null @@ -1,13 +0,0 @@ -Reference: https://github.com/libunwind/libunwind/pull/645 - https://github.com/libunwind/libunwind/commit/24dc3b0880695137a48c2ad0244900f9bb8416eb - ---- src/x86/Gos-freebsd.c.orig 2023-07-30 11:32:29 UTC -+++ src/x86/Gos-freebsd.c -@@ -111,6 +111,7 @@ x86_handle_signal_frame (unw_cursor_t *cursor) - struct sigframe *sf; - uintptr_t uc_addr; - struct dwarf_loc esp_loc; -+ int i; - - sf = (struct sigframe *)c->dwarf.cfa; - uc_addr = (uintptr_t)&(sf->sf_uc); diff --git a/devel/libunwind/files/patch-include_tdep-x86__64_libunwind__i.h b/devel/libunwind/files/patch-include_tdep-x86__64_libunwind__i.h deleted file mode 100644 index 51d4a15c8757..000000000000 --- a/devel/libunwind/files/patch-include_tdep-x86__64_libunwind__i.h +++ /dev/null @@ -1,13 +0,0 @@ ---- include/tdep-x86_64/libunwind_i.h.orig 2021-11-26 16:58:55 UTC -+++ include/tdep-x86_64/libunwind_i.h -@@ -288,9 +288,9 @@ extern void tdep_reuse_frame (struct dwarf_cursor *c, - extern int tdep_cache_frame (struct dwarf_cursor *c); - extern void tdep_reuse_frame (struct dwarf_cursor *c, - int frame); -+#endif - extern void tdep_stash_frame (struct dwarf_cursor *c, - struct dwarf_reg_state *rs); --#endif - - extern int tdep_getcontext_trace (unw_tdep_context_t *); - extern int tdep_trace (unw_cursor_t *cursor, void **addresses, int *n); diff --git a/devel/libunwind/files/patch-src_setjmp_siglongjmp.c b/devel/libunwind/files/patch-src_setjmp_siglongjmp.c deleted file mode 100644 index 61728ff11f02..000000000000 --- a/devel/libunwind/files/patch-src_setjmp_siglongjmp.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/setjmp/siglongjmp.c.orig 2020-11-10 16:14:18 UTC -+++ src/setjmp/siglongjmp.c -@@ -108,7 +108,7 @@ siglongjmp (sigjmp_buf env, int val) - && unw_set_reg (&c, UNW_REG_EH + 3, wp[JB_MASK + 1]) < 0)) - abort (); - #elif defined(__FreeBSD__) -- if (unw_set_reg (&c, UNW_REG_EH + 2, &wp[JB_MASK]) < 0) -+ if (unw_set_reg (&c, UNW_REG_EH + 2, wp[JB_MASK]) < 0) - abort(); - #else - #error Port me diff --git a/devel/libunwind/pkg-plist b/devel/libunwind/pkg-plist index 6ba806a5cc42..c1040317d779 100644 --- a/devel/libunwind/pkg-plist +++ b/devel/libunwind/pkg-plist @@ -7,7 +7,7 @@ include/libunwind.h lib/libunwind-%%ARCH%%.a lib/libunwind-%%ARCH%%.so lib/libunwind-%%ARCH%%.so.8 -lib/libunwind-%%ARCH%%.so.8.0.1 +lib/libunwind-%%ARCH%%.so.8.1.0 %%COREDUMP%%lib/libunwind-coredump.a %%COREDUMP%%lib/libunwind-coredump.so %%COREDUMP%%lib/libunwind-coredump.so.0 @@ -25,7 +25,7 @@ lib/libunwind-setjmp.so.0.0.0 lib/libunwind.a lib/libunwind.so lib/libunwind.so.8 -lib/libunwind.so.8.0.1 +lib/libunwind.so.8.1.0 %%COREDUMP%%libdata/pkgconfig/libunwind-coredump.pc libdata/pkgconfig/libunwind-generic.pc libdata/pkgconfig/libunwind-ptrace.pc @@ -33,8 +33,10 @@ libdata/pkgconfig/libunwind-setjmp.pc libdata/pkgconfig/libunwind.pc share/man/man3/_U_dyn_cancel.3.gz share/man/man3/_U_dyn_register.3.gz +share/man/man3/libunwind-coredump.3.gz share/man/man3/libunwind-dynamic.3.gz share/man/man3/libunwind-ia64.3.gz +share/man/man3/libunwind-nto.3.gz share/man/man3/libunwind-ptrace.3.gz share/man/man3/libunwind-setjmp.3.gz share/man/man3/libunwind.3.gz @@ -44,6 +46,8 @@ share/man/man3/unw_create_addr_space.3.gz share/man/man3/unw_destroy_addr_space.3.gz share/man/man3/unw_flush_cache.3.gz share/man/man3/unw_get_accessors.3.gz +share/man/man3/unw_get_elf_filename.3.gz +share/man/man3/unw_get_elf_filename_by_ip.3.gz share/man/man3/unw_get_fpreg.3.gz share/man/man3/unw_get_proc_info.3.gz share/man/man3/unw_get_proc_info_by_ip.3.gz @@ -63,6 +67,7 @@ share/man/man3/unw_resume.3.gz share/man/man3/unw_set_cache_size.3.gz share/man/man3/unw_set_caching_policy.3.gz share/man/man3/unw_set_fpreg.3.gz +share/man/man3/unw_set_iterate_phdr_function.3.gz share/man/man3/unw_set_reg.3.gz share/man/man3/unw_step.3.gz share/man/man3/unw_strerror.3.gz