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

Evaluate feasibility and impact of enabling -fno-semantic-interposition

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Server Development Platform
    • Fully Compatible

      The -fno-semantic-interposition flag significantly improves startup time for dynamically linked binaries by disabling support for symbol interposition (e.g. LD_PRELOAD. We should evaluate whether we think the loss of LD_PRELOAD functionality is justified by the performance gains. If we decide against doing so, we should consider building with -fsemantic-interposition, since clang defaults to -fno-semantic-interposition despite it generating binaries that are technically not in alignment with the ELF standard.

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: