﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
20582	libunwind-1.8.1 (new upstream location)	Douglas R. Reno	Bruce Dubbs	"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 :)"	enhancement	closed	normal	12.3	BOOK	git	medium	fixed		
