[SERVER-8676] Enable support for building against libc++ on OS X when building for C++11 Created: 22/Feb/13  Updated: 11/Jul/16  Resolved: 16/Mar/13

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 2.5.0

Type: Improvement Priority: Critical - P2
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: c++11
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-8842 SCons build should pass -mmacosx-vers... Closed
is depended on by SERVER-8467 Official support for building with clang Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

For SERVER-8464 support on OS X we will need to use clang (since OS X gcc is very old). However, clang C++11 support on OS X basically requires that we use libc++ rather than (the also very old libstdc++). We will need to educate SCons about invoking clang with the --stdlib=libc++ flag to support C++11 on OS X.



 Comments   
Comment by auto [ 16/Mar/13 ]

Author:

{u'date': u'2013-03-01T20:50:58Z', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-8676 Add libc++ support when building with clang
Branch: master
https://github.com/mongodb/mongo/commit/1426de920e1066149c79408ec232b04945c465b0

Comment by auto [ 16/Mar/13 ]

Author:

{u'date': u'2013-02-28T20:59:39Z', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-8676 Macroize 'hash' namespace detection in platform, use for s2
Branch: master
https://github.com/mongodb/mongo/commit/e23f796526a5158f9e5b5ba0fc9bf3371beb909e

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