Skip to content
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

Open
llamadonica opened this issue Mar 24, 2018 · 3 comments
Open

setcontext deprecated on x86 #69

llamadonica opened this issue Mar 24, 2018 · 3 comments
Labels
enhancement x86 Problems specific to the 32-bit x86 ARCH

Comments

@llamadonica
Copy link

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

@ghost
Copy link

ghost commented Apr 17, 2018

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

@ghost
Copy link

ghost commented May 17, 2018

@djwatson, can libunwind switch to the alternative and stop using the obsolete ucontext?

@djwatson
Copy link
Member

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>
@bregma bregma added the x86 Problems specific to the 32-bit x86 ARCH label Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement x86 Problems specific to the 32-bit x86 ARCH
Projects
None yet
Development

No branches or pull requests

3 participants