Hi Jean,
On Wed, 2014-03-19 at 11:58 +0100, Jean Pihet wrote:
On 19 March 2014 11:46, Mark Wielaard mjw@redhat.com wrote: Do you have an idea what/where to check for libdw compat support? I just quickly browsed through the code and found the uses of the ELFCLASS32/ELFCLASS64 macros interesting.
In theory it should "just work" assuming arm32 as native arch works. Normally elfutils/libdwfl uses the backend that matches the ELF header/EM value used. The only issue is that for arm32 only .debug_frame is supported and not EXIDX tables (as .eh_frame isn't used on arm32). But I believe that isn't an issue in your case because you require the debuginfo to be available.
If you were using the mjw/aarch64-unwind branch you might have missed various patches for arm32 support since that branch was fairly old. I have rebased the branch on current master now.
Do you need testing etc. in order to be able to merge the aarch64 branch? Please let me know!
The system I am testing on is missing various glibc fixes, in particular https://sourceware.org/bugzilla/show_bug.cgi?id=16169 and gcc doesn't use -fasynchronous-unwind-tables by default. So the make check results are not reliable for me.
If you can run make check on the rebased branch on your setup that would be helpful. Ideally all tests PASS. If not, the output of tests/test-suite.log would be interesting.
Thanks,
Mark