Ok, was my fault, my --host attribute was wrong, I tried arm, armv4 and armv4t (accepted -march options of gcc) but it seems to need the result of gcc -dumpmachine (arm-none-linux-gnueabi in my case).
Thanks for the help. I've also found an upper level library doing what I want, google-breakpad. It has its own unwinder (which work not so bad) but it seems possible to use libunwind instead, I'll take a look on that. But libunwind usage is flagged "still in development", does anybody have already tried to do it ? Le Wednesday 02 November 2011 à 14:29 +0100, Ken Werner a écrit : > On 10/31/2011 03:29 PM, StéphaneRégnier wrote: > > Hi, > > > > I'm trying to compile libunwind for armv4/linux to see if it fill my needs. > > I > > have an issue concerning a missing symbol : _Uarm_get_elf_image (when > > linking > > tests and own prog). Both in last release and git master branch, that > > function > > seems to be defined in src/os-linux.c but I see no object file containing > > this > > symbol (scanned with nm). > > > > Is arm compilation broken or I'm missing something ? I'm compiling on a x86 > > host > > with arm-gcc 4.4.1. > > > > Thx > > Hi Stéphane, > > Could you post some details on how you're cross-building libunwind? > Usually I'm building it natively so I haven't much experiences with > doing it cross. However, the following seems to work on a X86 Ubuntu system: > > sudo apt-get install git gawk make automake libtool texlive-extra-utils > gcc-arm-linux-gnueabi > git clone git://git.sv.gnu.org/libunwind.git libunwind > cd libunwind > autoreconf -i > ./configure --host=arm-linux-gnueabi CFLAGS="-U_FORTIFY_SOURCE" > make -j`getconf _NPROCESSORS_ONLN` > > $ arm-linux-gnueabi-nm -D src/.libs/libunwind*.so.8.0.0 | grep get_elf_image > 00001c08 T _Uarm_get_elf_image > 00001ca0 T _Uarm_get_elf_image > > Regards > Ken _______________________________________________ Libunwind-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/libunwind-devel
