-
Type: Bug
-
Resolution: Cannot Reproduce
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Build
-
Labels:None
-
ALL
-
Dev Platform 2020-08-10, Dev Platform 2020-09-07
I had an Ubuntu machine, where I installed icecream 1.3 (by building it directly) and it recently stopped building due to the following error:
kaloianm@SHARDING-SHARED:/tmp/kaloianm/smoke_patch/mongo$ ninja install-core [1/1174] Linking build/ninja/third_party/IntelRDFPMathLib20U1/libintel_decimal128.so FAILED: build/ninja/third_party/IntelRDFPMathLib20U1/libintel_decimal128.so PATH=/opt/mongodbtoolchain/v3/bin:/usr/local/bin:/opt/bin:/bin:/usr/bin CCACHE_NOCPP2=1 ICECC_CLANG_REMOTE_CPP=1 ICECC_VERSION=/tmp/kaloianm/smoke_patch/mongo/build/scons/icecc/opt_mongodbtoolchain_v3_bin_clang_opt_mongodbtoolchain_v3_bin_clang++.tar.gz CCACHE_PREFIX=/usr/bin/icecc /usr/bin/icerun /opt/mongodbtoolchain/v3/bin/clang @build/ninja/third_party/IntelRDFPMathLib20U1/libintel_decimal128.so.rsp build/ninja/third_party/IntelRDFPMathLib20U1/LIBRARY/src/bid64_noncomp.dyn.o:-:function __bid64_nan: error: undefined reference to '__bid64_from_string' build/ninja/third_party/IntelRDFPMathLib20U1/LIBRARY/src/strtod64.dyn.o:-:function __bid_strtod64: error: undefined reference to '__bid64_from_string' build/ninja/third_party/IntelRDFPMathLib20U1/LIBRARY/src/wcstod64.dyn.o:-:function __bid_wcstod64: error: undefined reference to '__bid64_from_string' clang-7: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed.
These are the instructions I used to build Icecream:
#! /bin/bash apt-get remove icecc apt-get update apt-get install -y autotools-dev automake build-essential libtool libcap-ng-dev liblzo2-dev libzstd-dev libarchive-dev make git docbook2x docbook-to-man git clone https://github.com/icecc/icecream /tmp/icecream pushd /tmp/icecream git checkout 1.3.1 ./autogen.sh && ./configure --prefix=/usr && make && make install popd rm -rf /tmp/icecream