[android-porting] Re: undefined reference to `sigsetjmp' when building mksh for x86
Thank you, mirabilos. I didn't notice your post until now. I independently found the sigsetjmp.S from OpenBSD code and submit a new patch. https://review.source.android.com/19486 On 11月26日, 下午9時45分, mirabilos tg+m...@mirbsd.org wrote: On Nov 26, 2:21 am, Chih-Wei cwhu...@linux.org.tw wrote: I tried to push it into AOSP, but Google rejected it due to its unclear license. Ouch. Would this one work on Linux? https://www.mirbsd.org/cvs.cgi/src/lib/libc/arch/i386/gen/sigsetjmp.S... It doesn’t seem too BSD specific for me, and the macros ENTRY and so are trivial (if not building PIC, PIC_{PLT,{PRO,EPI}LOGUE} are empty, _C_LABEL is empty on ELF). -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: undefined reference to `sigsetjmp' when building mksh for x86
On Nov 26, 2:21 am, Chih-Wei cwhu...@linux.org.tw wrote: I tried to push it into AOSP, but Google rejected it due to its unclear license. Ouch. Would this one work on Linux? https://www.mirbsd.org/cvs.cgi/src/lib/libc/arch/i386/gen/sigsetjmp.S?rev=HEAD It doesn’t seem too BSD specific for me, and the macros ENTRY and so are trivial (if not building PIC, PIC_{PLT,{PRO,EPI}LOGUE} are empty, _C_LABEL is empty on ELF). HTH HAND, //mirabilos -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: undefined reference to `sigsetjmp' when building mksh for x86
Marcus Better wrote: Actually there is no implementation of sigsetjmp in bionic/libc/arch- x86 (but there is one in arch-arm). I fear you’ll need one. (Question to Chih-Wei, how did this ever build on Android-x86 when you added it in ¹ only?) ① http://git.android-x86.org/?p=platform/bionic.git;a=commit;h=f058dc4838298c183cf78536d6695d68994c4440 bye, //mirabilos (via Google alerts… if you want fast help on mksh, Cc t...@mirbsd.{de,org} in the future -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: undefined reference to `sigsetjmp' when building mksh for x86
Hmm, we (Android-x86.org) added sigsetjmp to bionic long time ago. If I remember it correctly, it's needed by the bluetooth modules. I didn't notice mksh also uses it. I tried to push it into AOSP, but Google rejected it due to its unclear license. On 11月26日, 上午1時44分, mirabilos tg+m...@mirbsd.org wrote: Marcus Better wrote: Actually there is no implementation of sigsetjmp in bionic/libc/arch- x86 (but there is one in arch-arm). I fear you’ll need one. (Question to Chih-Wei, how did this ever build on Android-x86 when you added it in ¹ only?) ①http://git.android-x86.org/?p=platform/bionic.git;a=commit;h=f058dc48... -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
[android-porting] Re: undefined reference to `sigsetjmp' when building mksh for x86
On 22 Nov, 13:24, Marcus Better mar...@better.se wrote: target Executable: mksh (out/debug/target/product/generic_x86/obj/ EXECUTABLES/mksh_intermediates/LINKED/mksh) out/debug/target/product/generic_x86/obj/EXECUTABLES/ mksh_intermediates/src/exec.o: In function `herein': system/core/mksh/src/exec.c:1283: undefined reference to `sigsetjmp' Actually there is no implementation of sigsetjmp in bionic/libc/arch- x86 (but there is one in arch-arm). Marcus -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting