[SERVER-29458] `ProcessInfo::getNumAvailableCores` has no implementation for FreeBSD Created: 06/Jun/17  Updated: 30/Oct/23  Resolved: 06/Jun/17

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

Type: Bug Priority: Major - P3
Reporter: ADAM Martin (Inactive) Assignee: ADAM Martin (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2017-06-19
Participants:

 Description   

After the change made in `153c4a036ac` (SERVER-29238), the codebase is no longer able to build on FreeBSD. This is due to a missing implementation of `ProcessInfo::getNumAvailableCores` on FreeBSD. The implementation was always missing, but as it is finally used after the referenced change, the final binaries will not link.



 Comments   
Comment by Githook User [ 06/Jun/17 ]

Author:

{u'username': u'adamlsd', u'name': u'ADAM David Alan Martin', u'email': u'adam.martin@10gen.com'}

Message: SERVER-29458 Fix building on FreeBSD

`ProcessInfo::getNumAvailableCores` has no implementation on
FreeBSD. After the change made in `153c4a036ac` (SERVER-29238),
the codebase is no longer able to build on FreeBSD. This is due
to a missing implementation of `ProcessInfo::getNumAvailableCores`
on FreeBSD. The implementation was always missing, but as it
is finally used after the referenced change, the final binaries
will not link.
Branch: master
https://github.com/mongodb/mongo/commit/f692588b64a5d89d12d3c3438bd068193bb5ed9d

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