[SERVER-49923] The new SCons icecc support doesn't work with icecream 1.3.1 Created: 27/Jul/20  Updated: 25/Aug/20  Resolved: 25/Aug/20

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Andrew Morrow (Inactive)
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Sprint: Dev Platform 2020-08-10, Dev Platform 2020-09-07
Participants:

 Description   

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


Generated at Thu Feb 08 05:21:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.