New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setcontext deprecated on x86 #69
Labels
Comments
Seems like setcontext is being deprecated everywhere, Mac, BSDs, Alpine etc. Post about its replacement https://stackoverflow.com/questions/4298986/is-there-something-to-replace-the-ucontext-h-functions |
@djwatson, can libunwind switch to the alternative and stop using the obsolete ucontext? |
Yes, definitely. I haven't had time to do this yet, if you have a patch I will happily merge it. |
jow-
pushed a commit
to lede-project/source
that referenced
this issue
Jun 5, 2019
Libunwind provides a sigreturn stub for x86 in version 1.2 [1]. However the arch still depends on setcontext() which is unavailable in musl-libc and which is supposed to be "deprecated everywhere" [2] [1] x86 sigreturn unimplemented for some libcs, libunwind/libunwind#13 [2] setcontext deprecated on x86, libunwind/libunwind#69 Refs: openwrt/packages#8548 (comment) Reported-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
jollaman999
pushed a commit
to jollaman999/openwrt
that referenced
this issue
Jun 5, 2019
Libunwind provides a sigreturn stub for x86 in version 1.2 [1]. However the arch still depends on setcontext() which is unavailable in musl-libc and which is supposed to be "deprecated everywhere" [2] [1] x86 sigreturn unimplemented for some libcs, libunwind/libunwind#13 [2] setcontext deprecated on x86, libunwind/libunwind#69 Refs: openwrt/packages#8548 (comment) Reported-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
hingbong
pushed a commit
to hingbong/openwrt-r7800
that referenced
this issue
Jun 7, 2019
Libunwind provides a sigreturn stub for x86 in version 1.2 [1]. However the arch still depends on setcontext() which is unavailable in musl-libc and which is supposed to be "deprecated everywhere" [2] [1] x86 sigreturn unimplemented for some libcs, libunwind/libunwind#13 [2] setcontext deprecated on x86, libunwind/libunwind#69 Refs: openwrt/packages#8548 (comment) Reported-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
hingbong
pushed a commit
to hingbong/openwrt-r7800
that referenced
this issue
Jun 8, 2019
Libunwind provides a sigreturn stub for x86 in version 1.2 [1]. However the arch still depends on setcontext() which is unavailable in musl-libc and which is supposed to be "deprecated everywhere" [2] [1] x86 sigreturn unimplemented for some libcs, libunwind/libunwind#13 [2] setcontext deprecated on x86, libunwind/libunwind#69 Refs: openwrt/packages#8548 (comment) Reported-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
hingbong
pushed a commit
to hingbong/openwrt-r7800
that referenced
this issue
Jun 8, 2019
Libunwind provides a sigreturn stub for x86 in version 1.2 [1]. However the arch still depends on setcontext() which is unavailable in musl-libc and which is supposed to be "deprecated everywhere" [2] [1] x86 sigreturn unimplemented for some libcs, libunwind/libunwind#13 [2] setcontext deprecated on x86, libunwind/libunwind#69 Refs: openwrt/packages#8548 (comment) Reported-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
grosjo
pushed a commit
to grosjo/openwrt
that referenced
this issue
Aug 31, 2019
Libunwind provides a sigreturn stub for x86 in version 1.2 [1]. However the arch still depends on setcontext() which is unavailable in musl-libc and which is supposed to be "deprecated everywhere" [2] [1] x86 sigreturn unimplemented for some libcs, libunwind/libunwind#13 [2] setcontext deprecated on x86, libunwind/libunwind#69 Refs: openwrt/packages#8548 (comment) Reported-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related to #13
setcontext is also deprecated and not present on x86 android. It would be nice if x86 would provide its own setcontext.S, similar to x86_64
The text was updated successfully, but these errors were encountered: