[SERVER-64124] Explicit template instantiations cause MacOS ARM static build failure Created: 02/Mar/22  Updated: 29/Oct/23  Resolved: 03/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0-rc3

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

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Dev Platform 2022-03-07
Participants:
Linked BF Score: 64

 Description   

We noticed that the explicit template instantiations in src/mongo/db/pipeline/accumulator_multi.cpp are causing build failures on MacOS arm64. These were apparently put in place to solve a link-time error in dynamic builds, but they now cause a problem in static builds instead. These need to be corrected (or removed) so both build types work.



 Comments   
Comment by Githook User [ 03/Mar/22 ]

Author:

{'name': 'Ryan Egesdahl', 'email': 'ryan.egesdahl@mongodb.com', 'username': 'deriamis'}

Message: SERVER-64124 Limit instantiation of AccumulatorTopBottomN template
Branch: master
https://github.com/mongodb/mongo/commit/3e50ef2b069bb09ab9e718730b55f4febe5e4b8e

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