[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] question about x86 portability issues
From: |
Waldemar Brodkorb |
Subject: |
[Libunwind-devel] question about x86 portability issues |
Date: |
Mon, 17 Apr 2017 17:10:36 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hi developers,
with Buildroot we have some compile issues when using uClibc-ng or
musl toolchains. The reason is the x86 specific code is using
deprecated sigreturn and setcontext functions.
With the attached patch I could compile libunwind with the uClibc-ng
toolchain.
But the best solution would be if the code would use a direct
syscall to rt_sigreturn as the x86_64 code does:
http://git.savannah.gnu.org/gitweb/?p=libunwind.git;a=blob;f=src/x86_64/Gos-linux.c;h=6f70d3ffdb1e514a567d0c2146c852765bda953d;hb=HEAD#l148
What do you think?
I think sigreturn() is a noop in GNU C Library for x86 and x86_64.
Thanks,
Waldemar
0001-x86-do-not-use-deprecated-sigreturn.patch
Description: Text Data
- [Libunwind-devel] question about x86 portability issues,
Waldemar Brodkorb <=