Re: [Qemu-devel] [Qemu-discuss] ASan'ed binaries start up very slow under qemu-aarch64.

2016-07-19 Thread Maxim Ostapenko
On 18/07/16 18:51, Peter Maydell wrote: (CCing qemu-devel, which is more likely to get developer attention) Peter, thank you for your answer. On 18 July 2016 at 15:45, Maxim Ostapenko wrote: 1) AddressSanitizer mmaps quite large regions of memory for redzones and shadow gap. In particular

[Qemu-devel] [Bug 1528239] Re: Unable to debug PIE binaries with QEMU gdb stub.

2015-12-22 Thread Maxim Ostapenko
GDB server itself actually supports PIE binaries. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1528239 Title: Unable to debug PIE binaries with QEMU gdb stub. Status in QEMU: New Bug descripti

[Qemu-devel] [Bug 1528239] [NEW] Unable to debug PIE binaries with QEMU gdb stub.

2015-12-21 Thread Maxim Ostapenko
Public bug reported: The issue occurs on current trunk: max@max:~/build/qemu$ cat test.c #include int main() { printf("Hello, world!\n"); return 0; } max@max:~/build/qemu$ gcc test.c -fPIC -pie -o bad.x max@max:~/build/qemu$ ./x86_64-linux-user/qemu-x86_64 -g 1234 bad.x ..

[Qemu-devel] [PATCH v2] Fix ABI incompatibility between Qemu-aarch64 and Linux Kernel in signal handling.

2015-02-02 Thread Maxim Ostapenko
Fix TARGET_SI_PAD_SIZE calculation to match the way the kernel does it. Use different TARGET_SI_PREAMBLE_SIZE for 32-bit and 64-bit targets. Signed-off-by: Maxim Ostapenko --- linux-user/syscall_defs.h | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/linux-user/syscall_defs.h b/

Re: [Qemu-devel] [PATCH] Fix ABI incompatibility between Qemu-aarch64 and Linux Kernel in signal handling.

2015-02-02 Thread Maxim Ostapenko
efine TARGET_SI_PREAMBLE_SIZE (3 * sizeof(int)) +#else +#define TARGET_SI_PREAMBLE_SIZE (4 * sizeof(int)) +#endif + +#define TARGET_SI_PAD_SIZE ((TARGET_SI_MAX_SIZE - TARGET_SI_PREAMBLE_SIZE) / sizeof(int)) typedef struct target_siginfo { #ifdef TARGET_MIPS -- Signed-off-by: Maxim Ostapenko 1.8.5.2

[Qemu-devel] [Bug 1416988] [NEW] Wrong signal handling in qemu-aarch64.

2015-02-02 Thread Maxim Ostapenko
Public bug reported: Running GCC 5.0 testsuite under qemu-aarch64, I noticed that tests connected with stack unwinding fail with: qemu: uncaught target signal 11 (Segmentation fault) - core dumped or run into infinite loop. Here is one example: $ /home/max/build/gcc-aarch64/gcc/xgcc -B/home/ma

[Qemu-devel] [Bug 1299190] Re: Access to /proc/self/exe in linux-user mode

2014-04-28 Thread Maxim Ostapenko
Hi, Is this patch deployed in new version of QEMU? Thanks, Maxim -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1299190 Title: Access to /proc/self/exe in linux-user mode Status in QEMU: New B

[Qemu-devel] [Bug 1299190] Re: Access to /proc/self/exe in linux-user mode

2014-04-03 Thread Maxim Ostapenko
Ok, fixed. ** Patch added: "qemu.patch" https://bugs.launchpad.net/qemu/+bug/1299190/+attachment/4062748/+files/qemu.patch -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1299190 Title: Access t

[Qemu-devel] [Bug 1299190] Re: Access to /proc/self/exe in linux-user mode

2014-04-03 Thread Maxim Ostapenko
Yes, it works. Here is updated patch. ** Patch added: "qemu.patch" https://bugs.launchpad.net/qemu/+bug/1299190/+attachment/4062345/+files/qemu.patch -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs

[Qemu-devel] [Bug 1299190] Re: Access to /proc/self/exe in linux-user mode

2014-03-31 Thread Maxim Ostapenko
This tiny patch seems to work. ** Patch added: "qemu.patch" https://bugs.launchpad.net/qemu/+bug/1299190/+attachment/4055887/+files/qemu.patch -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/129919