cloudera / native-toolchain

Apache License 2.0
27 stars 71 forks source link

Ubuntu:16.04 PowerPC platform, libunwind shared library .so file not generated #55

Open sunil1783 opened 5 years ago

sunil1783 commented 5 years ago

Followed the below steps : git clone https://github.com/cloudera/native-toolchain.git ~/native-toolchain cd ~/native-toolchain
mkdir ccache ./buildall.sh

libunwind build is successful, But it does not generate the 'libunwind.so' file.

impdev@ebfd4dac5024:~/native-toolchain/build/libunwind-1.3-rc1-p3/lib64$ ls libunwind-generic.a libunwind-ppc64.la libunwind-ptrace.la libunwind-setjmp.la libunwind.la libunwind-ppc64.a libunwind-ptrace.a libunwind-setjmp.a libunwind.a pkgconfig

When using the native-toolchain libraries to build impala , it gives following error $IMPALA_HOME/buildall.sh

CMake Error at CMakeLists.txt:154 (message): Library 'libunwind' has neither shared nor static library files Call Stack (most recent call first): CMakeLists.txt:373 (IMPALA_ADD_THIRDPARTY_LIB)

impdev@ebfd4dac5024:~/$ uname -a Linux ebfd4dac5024 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:05:18 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux

timarmstrong commented 5 years ago

Patches are welcome. Some people tried in the past to add powerpc support but it wasn't maintained.