impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Apple <jbap...@cloudera.com>
Subject Re: Linking failure when static linking asan build
Date Tue, 20 Dec 2016 21:02:45 GMT
Unfortunately, that didn't fix it for me.

On Tue, Dec 20, 2016 at 12:57 PM, Tim Armstrong <tarmstrong@cloudera.com> 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 <jbapple@cloudera.com> 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.
>>

Mime
View raw message