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

Fix building on platforms without execinfo.h

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.5
    • None
    • Build
    • Fully Compatible
    • ALL
    • Hide

      Compile with a toolchain missing execinfo.h

      Show
      Compile with a toolchain missing execinfo.h
    • Platform 2 04/24/15, BUILD 4 06/05/15, Build 5 06/26/16

    Description

      The file src/mongo/platform/backtrace.cpp includes dlfcn.h without #define _GNU_SOURCE to access functions like dladdr(). According to the man page this doesn't seem right and as a matter of fact it didn't compile with a toolchain missing <execinfo.h>

      Attachments

        Activity

          People

            jonathan.reams@mongodb.com Jonathan Reams
            raffopazzo Raffaele Rossi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: