libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] ARM building


From: Ken Werner
Subject: Re: [Libunwind-devel] ARM building
Date: Wed, 02 Nov 2011 14:29:37 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]