[SERVER-23974] Add clang 3.4 with libc++ canary builder Created: 28/Apr/16  Updated: 17/Jan/17  Resolved: 22/Jun/16

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

Type: Bug Priority: Major - P3
Reporter: Jonathan Reams Assignee: Waley Chen
Resolution: Done Votes: 0
Labels: bkp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.2
Sprint: Platforms 14 (05/13/16), Platforms 15 (06/03/16), Platforms 16 (06/24/16)
Participants:

 Description   

Since we're saying that the alternative to gcc 5.3 is clang with libc++ 3.4, we need to add a builder to evergreen that just compiles the server with clang 3.4.

Ubuntu 14.04 has 3.4 available from apt.



 Comments   
Comment by Githook User [ 22/Jun/16 ]

Author:

{u'username': u'WaleyChen', u'name': u'Waley Chen', u'email': u'waleycz@gmail.com'}

Message: SERVER-23974 Add clang 3.4 with libc++ canary builder
Branch: master
https://github.com/mongodb/mongo/commit/2f708de73326bfa6aef14169888c23ccdd3345d1

Comment by Githook User [ 09/Jun/16 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-23974 Don't use attribute((cold)) with clang
Branch: master
https://github.com/mongodb/mongo/commit/ccbcb85c68bf03f6ecc024a32a2b6c6a35c23c33

Comment by Andrew Morrow (Inactive) [ 28/Apr/16 ]

I'm double checking that that works right now on a spawn host.

Comment by Eric Milkie [ 28/Apr/16 ]

Maybe we can make the shared linker canary clang 3.4?

Comment by Jonathan Reams [ 28/Apr/16 ]

The ASAN builder runs with a newer version of clang - this is to ensure that we don't break compatibility with clang 3.4 specifically, which we've said is the alternative to running gcc 5.3.0.

I do think the number of compiler/build system canary builders is getting pretty large though.

Comment by Eric Milkie [ 28/Apr/16 ]

I feel like this is much less likely to break than the Shared Library canary builder. Perhaps we can just depend on the ASAN builder to alert us when this breaks? It is already doing a full build with libc++.

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