[SERVER-6461] Get Solaris build working Created: 16/Jul/12  Updated: 11/Jul/16  Resolved: 18/Jul/12

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

Type: Bug Priority: Blocker - P1
Reporter: Ian Whalen (Inactive) Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Comments   
Comment by auto [ 17/Jul/12 ]

Author:

{u'date': u'2012-07-16T17:24:05-07:00', u'email': u'schwerin@10gen.com', u'name': u'Andy Schwerin'}

Message: Revert "SERVER-6461: Ensure that nullstream instance is constructed before main()."

Also revert "check that logging framework is initialized early to avoid segfault".

This reverts commit 3e54e4c81705617abc25b6b6f1b7f04103b6b7d0,
and commit 6f6f99241a62f2ea1ee0c41c98adfd2c66c8da12.
Branch: master
https://github.com/mongodb/mongo/commit/5a63e3766e73a153c47af59acb5cc8941cadbbc9

Comment by auto [ 17/Jul/12 ]

Author:

{u'date': u'2012-07-16T15:48:37-07:00', u'email': u'schwerin@10gen.com', u'name': u'Andy Schwerin'}

Message: Link programs by linking all object files on the command line.

This is done rather than enumerating a list of static libraries to include.

SERVER-5112 and SERVER-6461
Branch: master
https://github.com/mongodb/mongo/commit/78f93d7a3383b3eff72087f7b1a96930ddb59792

Comment by auto [ 17/Jul/12 ]

Author:

{u'date': u'2012-07-16T17:24:05-07:00', u'email': u'schwerin@10gen.com', u'name': u'Andy Schwerin'}

Message: Revert "SERVER-6461: Ensure that nullstream instance is constructed before main()."

Also revert "check that logging framework is initialized early to avoid segfault".

This reverts commit 3e54e4c81705617abc25b6b6f1b7f04103b6b7d0,
and commit 6f6f99241a62f2ea1ee0c41c98adfd2c66c8da12.
Branch: master
https://github.com/mongodb/mongo/commit/5a63e3766e73a153c47af59acb5cc8941cadbbc9

Comment by auto [ 17/Jul/12 ]

Author:

{u'date': u'2012-07-16T15:48:37-07:00', u'email': u'schwerin@10gen.com', u'name': u'Andy Schwerin'}

Message: Link programs by linking all object files on the command line.

This is done rather than enumerating a list of static libraries to include.

SERVER-5112 and SERVER-6461
Branch: master
https://github.com/mongodb/mongo/commit/78f93d7a3383b3eff72087f7b1a96930ddb59792

Comment by auto [ 17/Jul/12 ]

Author:

{u'date': u'2012-07-16T15:43:56-07:00', u'email': u'schwerin@10gen.com', u'name': u'Andy Schwerin'}

Message: Break a few more libraries off of "mongocommon".

Supports building all build products using _LIBDEPS=_LIBDEPS_OBJS instead of
a mix of _LIBDEPS_OBJS and _LIBDEPS_LIBS.

Necessitated in the short term by SERVER-6461, and in the long term by SERVER-5112.
Branch: master
https://github.com/mongodb/mongo/commit/da468fdddfeff6d7a22fd72a0a38a79e19eb61a3

Comment by auto [ 16/Jul/12 ]

Author:

{u'date': u'2012-07-16T09:40:00-07:00', u'email': u'schwerin@10gen.com', u'name': u'Andy Schwerin'}

Message: SERVER-6461: Ensure that nullstream instance is constructed before main().
Branch: master
https://github.com/mongodb/mongo/commit/3e54e4c81705617abc25b6b6f1b7f04103b6b7d0

Comment by Andy Schwerin [ 16/Jul/12 ]

First problem is that the (default) constructor for the "nullstream" global instance of class Nullstream wasn't being constructed in one of the unit tests. This instance is defined and constructed as part of log.cpp, and said unit test calls functions for log.cpp, so I don't really understand why it was happening. However, giving the Nullstream class an explicit zero-parameter constructor relieves the symptom. I suspect a linker error in our Solaris/g++ builder, but the rules governing static initialization are sufficiently baroque that I won't swear to it.

Comment by Ian Whalen (Inactive) [ 16/Jul/12 ]

http://buildbot.mongodb.org/builders/Solaris-SmartOS%2064-bit

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