[SERVER-84778] Support --linker=[gold|lld] in bazel Created: 11/Jan/24  Updated: 28/Jan/24  Resolved: 17/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Zack Winter Assignee: Trevor Guidry
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Build
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Support --linker scons flag in bazel with gold and lld options. Drop support for auto & bfd.

Based on https://github.com/10gen/mongo/pull/17995 it seems like --detect-odr-violations requires this, making it a tier 1 feature.

Code pointer: https://github.com/10gen/mongo/blob/master/SConstruct#L3564



 Comments   
Comment by Githook User [ 17/Jan/24 ]

Author:

{'name': 'Trevor Guidry', 'email': 'trevor.guidry@mongodb.com', 'username': ''}

Message: SERVER-84778 Support --linker=[gold|lld] in bazel

GitOrigin-RevId: 36c67042bb6c026a9ea35502af6e1118119c1144
Branch: master
https://github.com/mongodb/mongo/commit/3e74eaf5ef5766e46585778685592ed78975abea

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