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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3.1
    • Component/s: Build
    • Labels:
      None

      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

            Assignee:
            acm Andrew Morrow
            Reporter:
            redbeard0531 Mathias Stearn
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: