[SERVER-5451] can't build clientBuild Created: 29/Mar/12  Updated: 11/Jul/16  Resolved: 30/Mar/12

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

Type: Bug Priority: Major - P3
Reporter: Eric Milkie Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

When I invoke "scons --release clientBuild":

g++ -o build/firstExample -Wl,--as-needed -Wl,-zdefs build/mongo/client/examples/first.o -Lbuild -Lsrc -lmongoclient -lboost_thread-mt -lboost_filesystem-mt -lboost_system-mt
/usr/bin/ld: build/libmongoclient.a(spin_lock.o): undefined reference to symbol 'pthread_yield@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_yield@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the linker command line
/lib64/libpthread.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
scons: *** [build/firstExample] Error 1
scons: building terminated because of errors.

The Linux 64-bit Nightly builder seems to be affected by this problem in a similar way.



 Comments   
Comment by auto [ 30/Mar/12 ]

Author:

{u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-5451: Fix "scons clientBuild" on buildbots with Boost installed in non-standard locations.
Branch: master
https://github.com/mongodb/mongo/commit/0546c22c22b237e89eefb7ef7ed33acf311ec4be

Generated at Thu Feb 08 03:08:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.