If you delete the llvm-3.8 directories from your toolchain directory then
rerun ./bin/bootstrap-toolchain.py, that will fix the issue.

On Tue, May 17, 2016 at 7:44 PM, Wang, Youwei A <[email protected]>
wrote:

> Greetings everyone.
> I have synchronized my codebase with Impala CDH5-Trunk.
> At the end phase of make_release.sh (I am building the latest CDH5-Trunk),
> I got following errors:
>
> ../../../toolchain/openldap-2.4.25/lib/libldap.a(os-ip.o): In function
> `ldap_int_poll':
> os-ip.c:(.text+0x2a6): warning: `sys_errlist' is deprecated; use
> `strerror' or `strerror_r' instead
> os-ip.c:(.text+0x29a): warning: `sys_nerr' is deprecated; use `strerror'
> or `strerror_r' instead
> ../../../toolchain/llvm-3.8.0-p1/lib/libLLVMSupport.a(Process.cpp.o): In
> function `llvm::sys::Process::FileDescriptorHasColors(int)':
> Process.cpp:(.text._ZN4llvm3sys7Process23FileDescriptorHasColorsEi+0x5e):
> undefined reference to `setupterm'
> Process.cpp:(.text._ZN4llvm3sys7Process23FileDescriptorHasColorsEi+0x88):
> undefined reference to `tigetnum'
> Process.cpp:(.text._ZN4llvm3sys7Process23FileDescriptorHasColorsEi+0x91):
> undefined reference to `set_curterm'
> Process.cpp:(.text._ZN4llvm3sys7Process23FileDescriptorHasColorsEi+0x99):
> undefined reference to `del_curterm'
> collect2: error: ld returned 1 exit status
> be/src/service/CMakeFiles/impalad.dir/build.make:167: recipe for target
> 'be/build/release/service/impalad' failed
> make[3]: *** [be/build/release/service/impalad] Error 1
> CMakeFiles/Makefile2:3768: recipe for target
> 'be/src/service/CMakeFiles/impalad.dir/all' failed
> make[2]: *** [be/src/service/CMakeFiles/impalad.dir/all] Error 2
> CMakeFiles/Makefile2:3780: recipe for target
> 'be/src/service/CMakeFiles/impalad.dir/rule' failed
> make[1]: *** [be/src/service/CMakeFiles/impalad.dir/rule] Error 2
> Makefile:1043: recipe for target 'impalad' failed
> make: *** [impalad] Error 2
> Error in /root/Impala/bin/make_impala.sh at line 140: ${MAKE_CMD}
> -j${IMPALA_BUILD_THREADS:-4} impalad
>
> This issue has been mentioned here:
> https://issues.cloudera.org/browse/IMPALA-3432
> "
> http://sandbox.jenkins.cloudera.com/view/Impala/view/Evergreen-cdh5-trunk/job/impala-cdh5-trunk-core-asan/386/
> The problem is that it's usign an old version of llvm 3.8 from the
> toolchain that depended on libtinfo. I'll delete the toolchain and let it
> rebootstrap on that machine."
>
> So is there any temporary fix for this issue? I just want the trunk
> codebase work and run some simple tests.
> Thank you all for any suggestion. :D
>
>
>
>

Reply via email to