[CXX-1214] build failed due to crtbegin.o in 2.6.4 version Created: 31/Jan/17  Updated: 31/Jan/17  Resolved: 31/Jan/17

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: legacy-0.0-26compat-2.6.12
Fix Version/s: None

Type: Bug Priority: Blocker - P1
Reporter: Kashp Assignee: David Golden
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS : El 6
Compiler : clang39
boost : 1.56.0



 Description   

Hi

I am trying to build mongo-cxx-driver 2.6.4 with clang3.9 with boost = 1.56.0

but i am getting following error. Please help.

clang++3.9.0 -o .scons/Linux/nohost/sconf_temp/conftest_14 -Wl,--enable-new-dtags -fPIC -pthread -Wl,-z,now -rdynamic -stdlib=libc++ -lsupc++ -Wl,-lstdc++ -Wl,-rpath=/*/boost/1.61.0-clang39-c++11-release-multi-libcxx-libicu54.1/lib:/*/llvm/3.9.0/lib:/*/openssl/1.0.1e/lib .scons/Linux/nohost/sconf_temp/conftest_14.o -L/*/boost/1.61.0-clang39-c++11-release-multi-libcxx-libicu54.1/lib -L/*/gcc/4.9.3/lib -L/*/gcc/4.9.3/lib64 -L/usr/lib64 -L/lib64 -Wl,--start-group -Wl,--end-group -lm -lpthread -lssl -lcrypto
/*/binutils/2.25/bin/ld: cannot find crtbegin.o: No such file or directory
/*/binutils/2.25/bin/ld: skipping incompatible /*/gcc/4.9.3/lib/libsupc++.a when searching for -lsupc++
/*/binutils/2.25/bin/ld: skipping incompatible /*/gcc/4.9.3/lib/libstdc++.so when searching for -lstdc++
/*/binutils/2.25/bin/ld: skipping incompatible /*/gcc/4.9.3/lib/libstdc++.a when searching for -lstdc++
clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)
scons: Configure: no



 Comments   
Comment by David Golden [ 31/Jan/17 ]

We're sorry to hear you're having trouble. You might try older compilers or searching Google for your compilation error.

The legacy-0.026compat series is no longer supported. The legacy 1.1.x series will be supported for critical fixes only for a while, but we generally are encouraging users to upgrade to the new 3.1.x series for the best support.

Generated at Wed Feb 07 22:01:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.