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

Fix building on platforms without execinfo.h

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.5
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
    • 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

      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>

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

              Created:
              Updated:
              Resolved: