On 10 June 2016 at 21:43, Yousong Zhou <yszhou4t...@gmail.com> wrote: > On 10 June 2016 at 20:52, Sergey Zakharchenko <doublef.mob...@gmail.com> > wrote: >> Hello Yousong, >> >> The libunwind-enabled strace builds fine but I'm getting a "Can't >> initiate libunwind: Invalid argument" error when trying to use it >> (this is on an Atheros, i.e. MIPS chip). This is just a report, I'm >> not urging you to anything... >> > > Yeah, the stack trace dump feature seems really fragile. I noticed > that once on qemu/malta, then did "make clean" and rebuilt, the > 'invalid argument' error disappeared later and along with it the -k > option does not have said effect at all. But it works partly on > qemu/x86_64 though at the moment the traces cannot go past libc. > > yousong
I tried yesterday building a x86_64 firmware with glibc and strace -k works quite well there. However the situation of the glibc-mips combination is the same as with musl-mips. My current guess is that libunwind may need some patching to work with musl-libc. Regards, yousong _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev