[SERVER-6158] Windows builds link client examples against previous mongoclient.lib Created: 21/Jun/12  Updated: 11/Jul/16  Resolved: 05/Jul/12

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 2.1.1
Fix Version/s: 2.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Tad Marshall Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: Windows, buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows scons build


Operating System: Windows
Participants:

 Description   

When building programs in the Windows build that use mongoclient.lib, events happen in this order:
1) A new mongoclient.lib is built;
2) Example programs are built using the previous day's mongoclient.lib;
3) The new mongoclient.lib is copied to the root of the built tree so it can be used for tomorrow's build.

This falls down any time an interface is changed such that a new function signature needed is not found in the previous day's version of mongoclient.lib.

We could either not copy the mongoclient.lib to the root of the build tree, or copy it before we link the client example programs, or force the linker to use the full path to the version of mongoclient.lib that was built from today's code.



 Comments   
Comment by Andy Schwerin [ 05/Jul/12 ]

Effectively tested by the buildbot.

Comment by auto [ 05/Jul/12 ]

Author:

{u'date': u'2012-07-05T11:49:43-07:00', u'email': u'schwerin@10gen.com', u'name': u'Andy Schwerin'}

Message: SERVER-6158: Link against an explicit instance of the mongoclient library.

This makes sure we're building and testing against the version of the library
that we expect.
Branch: master
https://github.com/mongodb/mongo/commit/83418bb235520d8e2d2ee5bd2083a58aadc5eca7

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