[SERVER-77732] Create LTO variant Created: 02/Jun/23  Updated: 29/Oct/23  Resolved: 22/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.2

Type: New Feature Priority: Major - P3
Reporter: Alex Neben Assignee: Tausif Rahman (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0
Participants:

 Comments   
Comment by Githook User [ 22/Aug/23 ]

Author:

{'name': 'Tausif Rahman', 'email': 'tausif.rahman@mongodb.com', 'username': 'trahman1318'}

Message: SERVER-77732 Create LTO Variant

(cherry picked from commit a5d4e8d4584a74691aa1273cc9f767062a030721)
Branch: v7.0
https://github.com/mongodb/mongo/commit/644fe16680cfb1e1778117fcb9dc067912eebc91

Comment by Githook User [ 22/Aug/23 ]

Author:

{'name': 'Tausif Rahman', 'email': 'tausif.rahman@mongodb.com', 'username': 'trahman1318'}

Message: SERVER-77732 Create LTO Variant
Branch: master
https://github.com/mongodb/mongo/commit/a5d4e8d4584a74691aa1273cc9f767062a030721

Comment by Tausif Rahman (Inactive) [ 27/Jul/23 ]

We are running out of disk space on the /tmp directory during ARM compile because it is limited to 32GB. I tried compiling locally, & I did not run into this issue. I also did not see that the /tmp directory was full after running a compile (maybe because the /tmp directory periodically gets cleaned up? I'm not sure exactly why, but I only see 1.8M used.)

Anyhow, we can create a bind mount on the /tmp directory from a newly created directory which exists in the present working directory. The present working directory should have 500GB available, so I don't think we should run out of disk space. I added the following line before the scons invocation to test this theory out:

{{mkdir -p tmp && sudo mount --bind ./tmp /tmp
}}
Waiting on PB here: https://spruce.mongodb.com/version/64c291b857e85aeca361cfd1/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC 

Generated at Thu Feb 08 06:36:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.