[MONGOCRYPT-521] Build failure with LTO Created: 24/Jan/23  Updated: 28/Oct/23  Resolved: 01/Feb/23

Status: Closed
Project: Libmongocrypt
Component/s: Build
Affects Version/s: 1.7.0
Fix Version/s: 1.7.1

Type: Bug Priority: Unknown
Reporter: Remi Collet Assignee: Colby Pike
Resolution: Fixed Votes: 0
Labels: Bug
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File build.log    

 Description   

Build fails for LTO (e.g. -flto=auto -ffat-lto-objects ) which is used by default in various Linux distributions

 



 Comments   
Comment by Githook User [ 01/Feb/23 ]

Author:

{'name': 'vector-of-bool', 'email': 'vectorofbool@gmail.com', 'username': 'vector-of-bool'}

Message: MONGOCRYPT-521 LTO Build Fixes (#551)

  • Being too clever results in ABI mismatches that are detected by the
    LTO optimizer.
  • Fix mismatches between some function definitions.
  • Change the way usage requirements propagate for the DFP library.
Comment by Githook User [ 01/Feb/23 ]

Author:

{'name': 'vector-of-bool', 'email': 'vectorofbool@gmail.com', 'username': 'vector-of-bool'}

Message: MONGOCRYPT-521 LTO Build Fixes (#551)

  • Being too clever results in ABI mismatches that are detected by the
    LTO optimizer.
  • Fix mismatches between some function definitions.
  • Change the way usage requirements propagate for the DFP library.
Comment by Remi Collet [ 24/Jan/23 ]

IIRC same error exist in some previous versions and was fixed, so may be a regression.

Generated at Thu Feb 08 09:08:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.