I also turned of distcc entirely, re-cleared the cache, re-./bin/clean.sh-ed, and no luck.
On Tue, Dec 20, 2016 at 1:02 PM, Jim Apple <[email protected]> wrote: > Unfortunately, that didn't fix it for me. > > On Tue, Dec 20, 2016 at 12:57 PM, Tim Armstrong <[email protected]> > wrote: >> I've seen some odd problems like this before when using the switch_compiler >> distcc command - I've accidentally got into a state where I've built some >> files with clang and some with gcc. It's a real mess since ccache interacts >> badly with the distcc wrapper script - it can't account for the wrapper >> script transparently switching between compilers. >> >> I had to clear ccache to get out of the situation a couple of times >> >> On Tue, Dec 20, 2016 at 11:45 AM, Jim Apple <[email protected]> wrote: >> >>> I get the following when static linking the asan build. Has anyone >>> seen something like this before? I imagine this is an environment >>> issue, as this is working in jenkins.impala.io >>> >>> /opt/Impala-Toolchain/kudu-e018a83/release/lib/libkudu_client.so.0.1.0: >>> error: undefined reference to '__cxa_throw_bad_array_new_length', >>> version 'CXXABI_1.3.8' >>> /opt/Impala-Toolchain/kudu-e018a83/release/lib/libkudu_client.so.0.1.0: >>> error: undefined reference to 'std::__throw_out_of_range_fmt(char >>> const*, ...)', version 'GLIBCXX_3.4.20' >>> /opt/Impala-Toolchain/gcc-4.9.2/lib/gcc/x86_64-unknown- >>> linux-gnu/4.9.2/../../../../include/c++/4.9.2/bitset:770: >>> error: undefined reference to 'std::__throw_out_of_range_fmt(char >>> const*, ...)' >>> /opt/Impala-Toolchain/gcc-4.9.2/lib/gcc/x86_64-unknown- >>> linux-gnu/4.9.2/../../../../include/c++/4.9.2/bits/stl_vector.h:803: >>> error: undefined reference to 'std::__throw_out_of_range_fmt(char >>> const*, ...)' >>> /opt/Impala-Toolchain/gcc-4.9.2/lib/gcc/x86_64-unknown- >>> linux-gnu/4.9.2/../../../../include/c++/4.9.2/bitset:770: >>> error: undefined reference to 'std::__throw_out_of_range_fmt(char >>> const*, ...)' >>> /data/jenkins/workspace/verify-impala-toolchain-package-build/label/ec2- >>> package-ubuntu-14-04/toolchain/build/gcc-4.9.2/ >>> include/c++/4.9.2/bits/basic_string.h:324: >>> error: undefined reference to 'std::__throw_out_of_range_fmt(char >>> const*, ...)' >>> >>> I have tried bin/clean, opening a new terminal window, >>> bootstrap_toolchain, and deleting CMakeCache from Impala-lzo. >>>
