[yocto] [Fwd: gobject introspection release notes]
Zhenhua Luo
zhenhua.luo at nxp.com
Tue Apr 26 01:05:52 PDT 2016
Hello Chris,
Please see my inline comments.
Best Regards,
Zhenhua
From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org] On Behalf Of Chris Trobridge
Sent: Monday, April 25, 2016 11:01 PM
To: yocto at yoctoproject.org
Subject: Re: [yocto] [Fwd: gobject introspection release notes]
Any ideas as to why "qemu-ppc64 crashes out immediately"?
I can confirm the build ends in a segfault when I tried building gobject-introspection for the t1042d4rdb-64b machine.
[Luo Zhenhua-B19537] This is a gobject-introspection support issue of QEMU PPC64, the fix is not available now, you can use the following workaround to bypass the issue.
http://git.yoctoproject.org/cgit.cgi/meta-fsl-ppc/tree/README#n18
I did get one qemu crash recorded by Fedora but the actual crash dumps (appended) are for a PowerPC. That said, given the dump, either the processor got nowhere or they are likely corrupt. The invalid access reported is roughly to the stack but with the upper 32-bits zeroed.
If I configure bitbake for a 32-bit build (t1042d4rdb) then the build fails with "Unable to find CPU definition" (cpu e5500) so a 32-bit build is out of the question too.
The command line from the wrapper is:
PSEUDO_UNLOAD=1 qemu-ppc -r 2.6.32 -cpu e5500 -L /home/chris/yocto/build/tmp/sysroots/t1042d4rdb -E LD_LIBRARY_PATH=$GIR_EXTRA_LIBS_PATH:.libs:/home/chris/yocto/build/tmp/sysroots/t1042d4rdb//usr/lib:/home/chris/yocto/build/tmp/sysroots/t1042d4rdb//lib "$@"
[Luo Zhenhua-B19537] Please fetch the latest commit, the issue is fixed by http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=krogoth&id=27e202f2d9114a64b67c83eb7eafeb12de5ceea7.
The cpu is supported by the fedora qemu-ppc64, but not qemu-ppc - ie it's a 64-bit processor that's not supported in 32-bit mode.
This is not massively urgent for me but it may be important in the future and I am curious as to whether the problem is in the qemu emulation or in the emulated code.
Regards,
Chris
| Invalid data memory access: 0x00000000007fe8f0
| NIP 00000040008046c8 LR 0000000000000000 CTR 0000000000000000 XER 0000000000000000 CPU#0
| MSR 8000000000006000 HID0 0000000000000000 HF 0000000000006000 idx 0
| TB 00025634 110100571322161
| GPR00 0000000000000000 00000040007fe970 0000004000848e00 00000040007fe970
| GPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| GPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| GPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| GPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| GPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| GPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| GPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| CR 00000000 [ - - - - - - - - ] RES ffffffffffffffff
| FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| FPSCR 0000000000000000
| Invalid segfault errno (42000000)
| NIP 00000040008046c8 LR 0000000000000000 CTR 0000000000000000 XER 0000000000000000 CPU#0
| MSR 8000000000006000 HID0 0000000000000000 HF 0000000000006000 idx 0
| TB 00025634 110100578368626
| GPR00 0000000000000000 00000040007fe970 0000004000848e00 00000040007fe970
| GPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| GPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| GPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| GPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| GPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| GPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| GPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| CR 00000000 [ - - - - - - - - ] RES ffffffffffffffff
| FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000
| FPSCR 0000000000000000
| qemu: uncaught target signal 11 (Segmentation fault) - core dumped
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160426/bd051017/attachment.html>
More information about the yocto
mailing list