[SERVER-40153] size_t on arm32 is not 64 bit Created: 15/Mar/19  Updated: 29/Oct/23  Resolved: 16/Mar/19

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

Type: Bug Priority: Major - P3
Reporter: Anton Korshunov Assignee: Anton Korshunov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query 2019-03-25
Participants:
Linked BF Score: 50

 Description   

The following static assert fails on arm32 architecture as size of size_t on this platform is not 64 bits.

https://github.com/mongodb/mongo/blob/0cfc32589d5f6436e83d6d0d290849cf3798cbae/src/mongo/db/sorter/sorter.cpp#L670



 Comments   
Comment by Githook User [ 21/Mar/19 ]

Author:

{'email': 'billy.donahue@mongodb.com', 'name': 'Billy Donahue', 'username': 'BillyDonahue'}

Message: SERVER-40153 remove overflowing constants that MSVC warns about
Branch: master
https://github.com/mongodb/mongo/commit/a51f50784adaa0c86ace974247d4d0c088152f8e

Comment by Githook User [ 16/Mar/19 ]

Author:

{'email': 'anton.korshunov@mongodb.com', 'name': 'Anton Korshunov', 'username': 'antkorsh'}

Message: SERVER-40153 size_t on arm32 is not 64 bit
Branch: master
https://github.com/mongodb/mongo/commit/6161eb7b7aff5305b445dcdd20825f041b5e5a68

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