[SERVER-62156] CSFLE: linux library to use extra switches Created: 17/Dec/21  Updated: 12/Jul/22  Resolved: 21/Jan/22

Status: Closed
Project: Core Server
Component/s: Field Level Encryption
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Sergey Galtsev (Inactive) Assignee: Sergey Galtsev (Inactive)
Resolution: Done Votes: 0
Labels: FLE, csfle
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-62494 Research effect of gnu-unique flags o... Closed
is depended on by SERVER-62155 CSFLE: Test that no side symbols snea... Closed
Sprint: Security 2021-12-27, Security 2022-01-10, Security 2022-01-24
Participants:

 Description   

Per design, implement following switches:

 

-Bsymbolic and -Bsymbolic-functions , -fno-gnu-unique



 Comments   
Comment by Githook User [ 21/Jan/22 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-62156 add fno-gnu-unique to csfle builds
Branch: master
https://github.com/mongodb/mongo/commit/8d963a0c024966d2571d3b673a02a0c5ff5c8050

Comment by Sergey Galtsev (Inactive) [ 20/Jan/22 ]

Accoding to SERVER-62494, must use

CCFLAGS=-fno-gnu-unique SHLINKFLAGS_EXTRA=-Wl,--no-gnu-unique

in csfle builds

Comment by Githook User [ 14/Jan/22 ]

Author:

{'name': 'sergey.galtsev', 'email': 'sergey.galtsev@mongodb.com', 'username': 'brushless-glitch'}

Message: SERVER-62156 implement SHLINKFLAGS_EXTRA and use it in csfle builds
Branch: master
https://github.com/mongodb/mongo/commit/2fb4480e741f46d89b1245295414ed36501c57ae

Comment by Sergey Galtsev (Inactive) [ 10/Jan/22 ]

I discussed the matter with acm and the flags can not be added until further research is done. I opened SERVER-62494 to conduct said research

Comment by Sergey Galtsev (Inactive) [ 17/Dec/21 ]

Note: The switches must be implemented via adding LINKFLAGS to evergreen.yml build command

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