[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] Issues while building libunwind on powerpc
From: |
Valencia Serrao |
Subject: |
[Libunwind-devel] Issues while building libunwind on powerpc |
Date: |
Wed, 14 Sep 2016 15:43:25 +0530 |
Hi All,
I need to build libunwind on powerpc, however, when i try to build it, I'm facing following errors:
...........
...........
ppc64-test-altivec.o: In function `vec_stack':
/home/test/native-toolchain/source/kudu/kudu-0.8.0-RC1/thirdparty/libunwind-1.1a/tests/ppc64-test-altivec.c:54: undefined reference to `_Uppc64_init_local'
/home/test/native-toolchain/source/kudu/kudu-0.8.0-RC1/thirdparty/libunwind-1.1a/tests/ppc64-test-altivec.c:62: undefined reference to `_Uppc64_get_reg'
/home/test/native-toolchain/source/kudu/kudu-0.8.0-RC1/thirdparty/libunwind-1.1a/tests/ppc64-test-altivec.c:67: undefined reference to `_Uppc64_get_reg'
/home/test/native-toolchain/source/kudu/kudu-0.8.0-RC1/thirdparty/libunwind-1.1a/tests/ppc64-test-altivec.c:72: undefined reference to `_Uppc64_get_fpreg'
/home/test/native-toolchain/source/kudu/kudu-0.8.0-RC1/thirdparty/libunwind-1.1a/tests/ppc64-test-altivec.c:82: undefined reference to `_Uppc64_regname'
/home/test/native-toolchain/source/kudu/kudu-0.8.0-RC1/thirdparty/libunwind-1.1a/tests/ppc64-test-altivec.c:94: undefined reference to `_Uppc64_get_proc_name'
/home/test/native-toolchain/source/kudu/kudu-0.8.0-RC1/thirdparty/libunwind-1.1a/tests/ppc64-test-altivec.c:109: undefined reference to `_Uppc64_step'
/home/test/native-toolchain/source/kudu/kudu-0.8.0-RC1/thirdparty/libunwind-1.1a/tests/ppc64-test-altivec.c:112: undefined reference to `_Uppc64_get_reg'
collect2: error: ld returned 1 exit status
make[1]: *** [ppc64-test-altivec] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: link: /home/test/native-toolchain/build/gcc-4.9.2/bin/gcc -g -O0 -m64 -maltivec -fexceptions -Wall -Wsign-compare -mvsx -Wl,-rpath -Wl,/home/test/native-toolchain/build/gcc-4.9.2/lib64 -Wl,-rpath -Wl,RIGIN/../lib64 -Wl,-rpath -Wl,RIGIN/../lib -o .libs/Lperf-simple Lperf-simple.o -L/home/test/native-toolchain/build/gcc-4.9.2/lib64 ../src/.libs/libunwind.so -Wl,-rpath -Wl,/home/test/native-toolchain/source/kudu/kudu-0.8.0-RC1/thirdparty/installed/lib64
...........
...........
Here's the command i've used to build libunwind:
./configure CFLAGS="-g -O2 -m64 -maltivec" CXXFLAGS="-g -O2 -m64 -maltivec" --build=powerpc64le-unknown-linux-gnu --disable-minidebuginfo --with-pic --prefix=$PREFIX
System details are as follows:
OS: rhel
Arch: ppc64le
gcc version: 4.9.2
Please let me know if you have any pointers on this issue.
Regards,
Valencia
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Libunwind-devel] Issues while building libunwind on powerpc,
Valencia Serrao <=