[SERVER-40448] SConstruct: using_system_version_of_cxx_libraries is out of date Created: 02/Apr/19  Updated: 28/Aug/23  Resolved: 28/Aug/23

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

Type: Improvement Priority: Major - P3
Reporter: Billy Donahue Assignee: [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Development Platform
Participants:

 Description   

Make a decision re: using_system_version_of_cxx_libraries(),
which consults a stale list of libraries that can be deferred to the system.



 Comments   
Comment by Andrew Morrow (Inactive) [ 09/Apr/19 ]

I took a quick look at what we do here.

We attempt to prevent two things:

  • Mixing libraries built with different versions of the C++ ABI based on the targeted language standard, where system libraries aren't built with C++17, but our code is.
  • Mixing our code, when built with _GLIBCXX_DEBUG, with system libraries which presumably are not.

I think, looking at this, that both of these cases are likely to build binaries that never even get off the ground. I think it would be very difficult to get something that built, started up, and then had some subtle latent runtime issue.

Given that we are very likely to forget to add C++ libraries to the list when required, I propose that we simply remove the check.

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