[SERVER-14015] S2 Compilation on GCC 4.9/Solaris fails Created: 21/May/14  Updated: 11/Mar/15  Resolved: 01/Nov/14

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 2.7.1
Fix Version/s: 2.6.6, 2.7.1

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-10168 compile error on smartos/solaris (s2 ... Closed
Related
Backwards Compatibility: Fully Compatible
Operating System: Solaris
Backport Completed:
Participants:

 Description   

GCC 4.9 complains about ambiguous call to sqrt(int) on Solaris with GCC 4.9 since it cannot decide between float or double.



 Comments   
Comment by Githook User [ 24/Nov/14 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-14015: Fix S2 Compilation on GCC 4.9/Solaris by choosing sqrt(double)

(cherry picked from commit 885e11b64dae39b4a90304e754caa26254442180)
Branch: v2.6
https://github.com/mongodb/mongo/commit/230cdd386334f0f3e1e5d05be39ab57ccdd79772

Comment by Githook User [ 22/May/14 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-14015: Fix S2 Compilation on GCC 4.9/Solaris by choosing sqrt(double)
Branch: master
https://github.com/mongodb/mongo/commit/885e11b64dae39b4a90304e754caa26254442180

Comment by Eric Milkie [ 21/May/14 ]

Let's move work on this to the original ticket.

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