[Qemu-devel] [Bug 1516408] Re: sh4: Unsupported syscall: 186

2016-06-17 Thread Peter Maydell
Looks like we fixed this in commit c0d35736323e5b in December, which was released as part of QEMU 2.6. ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net

[Qemu-devel] [Bug 1516408] Re: sh4: Unsupported syscall: 186

2015-11-22 Thread John Paul Adrian Glaubitz
Ping. Any chance to get this merged? I don't think this patch could have any particular bad impact on qemu as it affects the sh4 emulation only and so far my tests with building packages on qemu-sh4 have shown no regressions. But with the patch, sigaltstack now works fine on sh4 which the above te

[Qemu-devel] [Bug 1516408] Re: sh4: Unsupported syscall: 186

2015-11-18 Thread John Paul Adrian Glaubitz
Hello! The attached patch enables the sigaltstack syscall in qemu-sh4. The following minimal test code verifies that sigaltstack works as expected: = #include #include #include #include jmp_buf exit_jmp; void handler(int x) { l

[Qemu-devel] [Bug 1516408] Re: sh4: Unsupported syscall: 186

2015-11-16 Thread John Paul Adrian Glaubitz
I have enabled this syscall in the source code now and performing a test build and run and will report back. Furthermore, looking at the kernel sources, both the 32-bit and 64-bit Linux SH-specific code defines "sigaltstack" as syscall 186: > https://github.com/torvalds/linux/blob/master/arch/sh/