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

Modify $SHOBJSUFFIX to make gcc and clang generate different .dwo files for static and dynamic object files

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • Build
    • None
    • Fully Compatible
    • Dev Tools 2019-05-06, Dev Tools 2019-04-22

    Description

      Currently static objects use basename.o and dynamic objects use basename.os. Unfortunately both gcc and clang use basename.dwo for the output of -gsplit-dwarf which results in the same file for both static and dynamic objects. The simplest solution involves altering the apparent basename for at least one of them by making the SUFFIX have multiple extensions, such as .dyn.os.

      Attachments

        Activity

          People

            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: