libunwind-devel
[Top][All Lists]
Advanced

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

[Libunwind-devel] undefined reference to `_Uppc64_get_elf_image'


From: Jim Galarowicz
Subject: [Libunwind-devel] undefined reference to `_Uppc64_get_elf_image'
Date: Wed, 11 Jan 2012 17:20:39 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0

Hi,

I'm trying to build and use libunwind-1.0.1 on ppc64. However, when I try to use the library I'm getting the undefined symbol reference for symbol: _Uppc64_get_elf_image.

Would anyone know what the problem might be? I did an internet search and found a reference to _Uppc64_get_elf_image as an undefined in 2007 with some indication of that particular problem being resolved, but no details.

Any help would be greatly appreciated.

Thanks,
Jim G.

This is from the OpenSpeedShop configure to determine if libunwind is present and usable.

configure:24170: result: yes
configure:24242: checking for libunwind library and headers
configure:24261: gcc -o conftest -m64 -g -O2 -m64 -I/home/jeg/OSS201_64/include -DUNW_LOCAL_ONLY -L/usr/lib64 -DLIB_DIR=lib64 -L/home/jeg/OSS201_64/lib64 -lunwind-ppc64 -lunwind conftest.c -ldl -L/home/jeg/OSS201_64/lib64 -lunwind-ppc64 -lunwind >&5 /home/jeg/OSS201_64/lib64/libunwind-ppc64.so: undefined reference to `_Uppc64_get_elf_image'
collect2: ld returned 1 exit status
configure:24261: $? = 1
configure: failed program was:

When I had -lunwind before -lunwind-ppc64 I got a similar message:
/home/jeg/OSS201_64/lib64/libunwind.so: undefined reference to `_Uppc64_get_elf_image'




When I changed directories into the src/.libs directory for libunwind-1.0.1 I see these references to the `_Uppc64_get_elf_image' symbol.

libunwind-1.0.1/src/.libs:0:>nm *.a | grep _Uppc64_get_elf_image
                 U _Uppc64_get_elf_image
                 U _Uppc64_get_elf_image
                 U _Uppc64_get_elf_image
                 U _Uppc64_get_elf_image
prompt:~/OpenSpeedShop_ROOT/BUILD/yyyfen2/libunwind-1.0.1/src/.libs:0:>nm *.so | grep _Uppc64_get_elf_image
0000000000003da8 t 00000010.plt_call._Uppc64_get_elf_image+0
                 U _Uppc64_get_elf_image
0000000000000998 t 00000010.plt_call._Uppc64_get_elf_image+0
                 U _Uppc64_get_elf_image
0000000000004438 t 00000010.plt_call._Uppc64_get_elf_image+0
                 U _Uppc64_get_elf_image
prompt:~/OpenSpeedShop_ROOT/BUILD/yyyfen2/libunwind-1.0.1/src/.libs:0:>nm libunwind.so | grep _Uppc64_get_elf_image
0000000000004438 t 00000010.plt_call._Uppc64_get_elf_image+0
                 U _Uppc64_get_elf_image
prompt:~/OpenSpeedShop_ROOT/BUILD/yyyfen2/libunwind-1.0.1/src/.libs:0:>nm libunwind-ppc64.so | grep _Uppc64_get_elf_image
0000000000003da8 t 00000010.plt_call._Uppc64_get_elf_image+0
                 U _Uppc64_get_elf_image
prompt:~/OpenSpeedShop_ROOT/BUILD/yyyfen2/libunwind-1.0.1/src/.libs:0:>nm libunwind-setjmp.so | grep _Uppc64_get_elf_image
0000000000000998 t 00000010.plt_call._Uppc64_get_elf_image+0
                 U _Uppc64_get_elf_image
prompt:~/OpenSpeedShop_ROOT/BUILD/yyyfen2/libunwind-1.0.1/src/.libs:0:>




reply via email to

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