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

Fix warnings when building with experimental optimizations and GCC 11

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Server Development Platform

    Description

      GCC 11 throws some apparently false-positive warnings about unintialized state and string-op truncation when building the server codebase at higher optimization levels. In SERVER-60712 we added builders that enable these optimizations, but we set --disable-warnings-as-errors for the GCC builders to work around this issue. We need to remove that setting and understand whether these are true or false positives, and find a way to work around them so we can remove that flag on the affected builders.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: