Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-44899

Remove --start-group and --end-group from link command lines in SCons

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.3
    • None
    • None
    • None
    • Fully Compatible
    • Dev Platform 2019-12-16

    Description

      Now that the link graph is acyclic, it should be safe and even desirable to remove the -Wl,--start-group and --Wl,--end-group arguments in the Linux and BSD builds. It should actually be OK to remove the entire LINK_LIBGROUP_START and LINK_LIBGROUP_END concepts from libdeps as well. It's a minor code simplification, and may modestly speed up static link times on systems with older linkers.

      Unfortunately, the "whole archive" requirement remains.

      Attachments

        Activity

          People

            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: