Opened 2 years ago
Closed 2 years ago
#20582 closed enhancement (fixed)
libunwind-1.8.1 (new upstream location)
| Reported by: | Douglas R. Reno | Owned by: | Bruce Dubbs |
|---|---|---|---|
| Priority: | normal | Milestone: | 12.3 |
| Component: | BOOK | Version: | git |
| Severity: | medium | Keywords: | |
| Cc: |
Description
libunwind has moved to github, see https://github.com/libunwind/libunwind
I noticed this while trying to diagnose an issue with x86 which was fixed in libunwind-1.8. The issue is an incompatible pointer types problem due to GCC-14, and I fixed it temporarily with a sed. The issue is:
x86/Gos-linux.c: In function ‘_Ux86_local_resume’:
x86/Gos-linux.c:302:22: error: passing argument 1 of ‘_Ux86_sigreturn’ from
incompatible pointer type [-Wincompatible-pointer-types]
302 | x86_sigreturn (sc);
| ^~
| |
| struct sigcontext *
In file included from x86/Gos-linux.c:26:
x86/unwind_i.h:64:42: note: expected ‘unw_cursor_t *’ {aka ‘struct unw_cursor
*’} but argument is of type ‘struct sigcontext *’
64 | extern void x86_sigreturn (unw_cursor_t *cursor);
| ~~~~~~~~~~~~~~^~~~~~
The sed I used is: sed -i 's/x86_sigreturn (sc)/setcontext (uc)/' src/x86/Gos-linux.c
That being said though, the best approach is going to be to update the package to libunwind-1.8.1 :)
Change History (3)
comment:1 by , 2 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:3 by , 2 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed at commits
32a9970f76 Upgrade to mercurial-6.8.2. d04d252023 Upgrade to libunwind-1.8.1.
Note:
See TracTickets
for help on using tickets.

Small bugfix release of libunwind 1.8.
One of the functional changes is that the testsuite is now installed with a make install, which may affect downstream packagers. By default these executables are installed in ${libexecdir}/libunwind where ${libexecdir} defaults to ${prefix}/libexec, but all this can be set explicitly though arguments to configure.
What's Changed