[SERVER-2601] Shared client build Created: 21/Feb/11 Updated: 12/Jul/16 Resolved: 14/Feb/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | 1.6.5 |
| Fix Version/s: | 2.1.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jacques Germishuys | Assignee: | Andy Schwerin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Solaris GCC / Linux GCC |
||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Participants: |
| Description |
|
On Linux and Intel GCC, when passing --sharedclient to Scons, the libmongoclient.so builds succesfully. During the linking step GCC is not passed -shared resulting in relocation errors when a program linked to libmongoclient.so is executed. |
| Comments |
| Comment by Andy Schwerin [ 14/Feb/12 ] |
|
This fixes the shared library build of the client library under GCC, a thing that we apparently have not been testing in the continuous integration. Compiling examples against the shared client as part of CI would catch this and related errors. |
| Comment by auto [ 14/Feb/12 ] |
|
Author: {u'login': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}Message: "util/version.cpp" should not be part of the client build. Linking of the shared |
| Comment by Jacques Germishuys [ 21/Feb/11 ] |
|
Sorry for the typo. On Linux and Solaris GCC 4.5.1 |