Summary: | [exp-run] devel/libunwind: Update to 20211201 (1.6.2) | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Po-Chuan Hsieh <sunpoet> |
Component: | Individual Port(s) | Assignee: | Po-Chuan Hsieh <sunpoet> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | brd, franco |
Priority: | --- | Flags: | antoine:
exp-run+
|
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
URL: | https://people.freebsd.org/~sunpoet/patch/devel-libunwind.txt | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262447 |
Description
Po-Chuan Hsieh
2022-02-28 19:20:43 UTC
Exp-run looks fine A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=987c1ed1c3c2ea445e5173226ed393e3003a03f9 commit 987c1ed1c3c2ea445e5173226ed393e3003a03f9 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-03-07 17:50:14 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-03-07 18:10:55 +0000 devel/libunwind: Update to 20211201 (1.6.2) Changes: https://github.com/libunwind/libunwind/releases PR: 262257 Exp-run by: antoine devel/libunwind/Makefile | 4 +- devel/libunwind/distinfo | 6 +- devel/libunwind/files/patch-powerpc64 (gone) | 465 --------------------------- 3 files changed, 5 insertions(+), 470 deletions(-) Committed. Thanks! Looks like this is broken on aarch64 both on main (http://ampere2.nyi.freebsd.org/data/main-arm64-default/p422f190aeba4_s23210c9f42/logs/errors/libunwind-20211201.log) and 13: --- aarch64/Gis_signal_frame.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fexceptions -Wall -Wsign-c ompare -D__EXTENSIONS__ -MT aarch64/Gis_signal_frame.lo -MD -MP -MF aarch64/.deps/Gis_signal_frame.Tpo -c aarch64/Gis_signal_frame.c -o aarch64/Gis_signal_frame.o >/dev/null 2>&1 --- aarch64/Ginit.lo --- return &uc->uc_mcontext.regs[reg]; ~~~~~~~~~~~~~~~ ^ aarch64/Ginit.c:52:13: error: expected expression return &GET_FPCTX(uc)->vregs[reg - UNW_AARCH64_V0]; ^ aarch64/unwind_i.h:62:47: note: expanded from macro 'GET_FPCTX' #define GET_FPCTX(uc) ((unw_fpsimd_context_t *)(&uc->uc_mcontext.__reserved)) ^ aarch64/Ginit.c:52:13: error: use of undeclared identifier 'unw_fpsimd_context_t' aarch64/unwind_i.h:62:25: note: expanded from macro 'GET_FPCTX' #define GET_FPCTX(uc) ((unw_fpsimd_context_t *)(&uc->uc_mcontext.__reserved)) ^ aarch64/Ginit.c:52:13: error: no member named '__reserved' in 'struct __mcontext' return &GET_FPCTX(uc)->vregs[reg - UNW_AARCH64_V0]; ^~~~~~~~~~~~~ aarch64/unwind_i.h:62:66: note: expanded from macro 'GET_FPCTX' #define GET_FPCTX(uc) ((unw_fpsimd_context_t *)(&uc->uc_mcontext.__reserved)) ~~~~~~~~~~~~~~~ ^ aarch64/Ginit.c:180:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpoi nter-sign] if (mincore (addr, len, (unsigned char *)mvec) != 0) ^~~~~~~~~~~~~~~~~~~~~ --- aarch64/Gresume.lo --- aarch64/Gresume.c:145:3: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration] printf ("%s: implement me\n", __FUNCTION__); ^ aarch64/Gresume.c:145:3: note: include the header <stdio.h> or explicitly provide a declaration for 'printf' --- aarch64/Ginit.lo --- /usr/include/sys/mman.h:327:41: note: passing argument to parameter here --- aarch64/Gglobal.lo --- libtool: compile: cc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fexceptions -Wall -Wsign-c ompare -D__EXTENSIONS__ -MT aarch64/Gglobal.lo -MD -MP -MF aarch64/.deps/Gglobal.Tpo -c aarch64/Gglobal.c -o aarch64/Gglobal.o >/dev/null 2>&1 --- aarch64/Ginit.lo --- int mincore(const void *, size_t, char *); ^ aarch64/Ginit.c:203:50: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpoi nter-sign] while ((ret = mincore ((void*)addr, PAGE_SIZE, (unsigned char *)mvec)) == -1 && ^~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/mman.h:327:41: note: passing argument to parameter here int mincore(const void *, size_t, char *); ^ 2 warnings and 4 errors generated. *** [aarch64/Ginit.lo] Error code 1 Re-open as this fails on arm64 aarch64 build has been fixed in b53231cc31b2d4e933ba2893c8079cc7d1f07413. |