On 01/30/2017 05:52 PM, Sam Bobroff wrote: > On Mon, Jan 16, 2017 at 04:03:21PM -0600, Aníbal Limón wrote: >> >> >> On 01/16/2017 03:56 PM, Aníbal Limón wrote: >>> Hi folks, >>> >>> I'm trying to upgrade qemu to 2.8.0 in Openembedded-core and segfaults >>> in qemu-ppc when is executing: > > Hi Aníbal, > > I've recently encountered a similar problem and I've posted a fix. If > you'd like to try it, it's here: > > https://lists.gnu.org/archive/html/qemu-ppc/2017-01/msg00413.html The patch works, thanks for made it. Cheers, alimon > > Cheers, > Sam. > >>> /home/alimon/repos/poky/build-ppc/tmp/work/x86_64-linux/qemu-native/2.8.0-r0/build/ppc-linux-user/qemu-ppc >>> -s 16M -r 3.2.0 -cpu 7400 -L >>> /home/alimon/repos/poky/build-ppc/tmp/sysroots/qemuppc -E >>> LD_LIBRARY_PATH=/home/alimon/repos/poky/build-ppc/tmp/work/ppc7400-poky-linux/gobject-introspection/1.50.0-r0/build/.libs:.libs:/home/alimon/repos/poky/build-ppc/tmp/sysroots/qemuppc//usr/lib:/home/alimon/repos/poky/build-ppc/tmp/sysroots/qemuppc//lib >>> /home/alimon/repos/poky/build-ppc/tmp/work/ppc7400-poky-linux/gobject-introspection/1.50.0-r0/build/tmp-introspectu_ewt_1z/Gio-2.0 >>> --introspect-dump=/home/alimon/repos/poky/build-ppc/tmp/work/ppc7400-poky-linux/gobject-introspection/1.50.0-r0/build/tmp-introspectu_ewt_1z/functions.txt,/home/alimon/repos/poky/build-ppc/tmp/work/ppc7400-poky-linux/gobject-introspection/1.50.0-r0/build/tmp-introspectu_ewt_1z/dump.xml >>> [Thread debugging using libthread_db enabled] >>> >>> >>> And the debug info, >>> >>> (gdb) info threads >>> Id Target Id Frame >>> 1 Thread 0x7ffff7fd0780 (LWP 25457) "qemu-ppc" >>> pthread_cond_wait@@GLIBC_2.3.2 () at >>> ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 >>> 2 Thread 0x7ffff647e700 (LWP 25461) "qemu-ppc" syscall () at >>> ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 >>> * 3 Thread 0x7ffff7f4d700 (LWP 25462) "qemu-ppc" 0x000000000086fba4 >>> in static_code_gen_buffer () >>> >>> (gdb) bt >>> #0 0x000000000086fba4 in static_code_gen_buffer () >>> #1 0x000000000040e922 in cpu_tb_exec (itb=, >>> itb=, cpu=0x29864d0) at >>> /home/alimon/repos/poky/build-ppc/tmp/work/x86_64-linux/qemu-native/2.8.0-r0/qemu-2.8.0/cpu-exec.c:164 >>> #2 cpu_loop_exec_tb (sc=, tb_exit=, >>> last_tb=, tb=, cpu=0x29864d0) at >>> /home/alimon/repos/poky/build-ppc/tmp/work/x86_64-linux/qemu-native/2.8.0-r0/qemu-2.8.0/cpu-exec.c:544 >>> #3 cpu_exec (cpu=cpu@entry=0x29864d0) at >>> /home/alimon/repos/poky/build-ppc/tmp/work/x86_64-linux/qemu-native/2.8.0-r0/qemu-2.8.0/cpu-exec.c:638 >>> #4 0x0000000000445fba in cpu_loop (env=env@entry=0x298e750) at >>> /home/alimon/repos/poky/build-ppc/tmp/work/x86_64-linux/qemu-native/2.8.0-r0/qemu-2.8.0/linux-user/main.c:1359 >>> #5 0x0000000000448a95 in clone_func (arg=0x7fffffffa910) at >>> /home/alimon/repos/poky/build-ppc/tmp/work/x86_64-linux/qemu-native/2.8.0-r0/qemu-2.8.0/linux-user/syscall.c:6090 >>> #6 0x00007ffff6a750a4 in start_thread (arg=0x7ffff7f4d700) at >>> pthread_create.c:309 >>> #7 0x00007ffff67aa62d in clone () at >>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 >> >> Here is the core dump, >> >> https://drive.google.com/file/d/0B9uDfO-FJ1kgY3ZhendISTZzOUU/view?usp=sharing >> >>> >>> Any help will be appreciated. >>> >>> Best regards, >>> alimon >>> >> > > >