Menu

#1980 bind inclusion of <execinfo.h> to existence of __GLIBC__

None
fixed
nobody
None
1
2017-01-07
2016-11-24
Anonymous
No

Hello.

I trying to compile on a musl libc system. musl libc does not have a execinfo.h nor does it have backtrace functionality.
can you please make it optional to GLIBC to use those feature?

something like this maybe (https://github.com/mongodb/mongo/commit/9a00e51f76afd0f68e96196ad8e11924de254d8e), simple conditional on the existence of GLIBC or a HAS_BACKTRACE or whatever.

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2016-11-26

    Try compiling with NO_CRASH_HANDLER.

     
  • Tim Hoffmann

    Tim Hoffmann - 2017-01-07
     

    Related

    Feature Requests: #1186

  • Tim Hoffmann

    Tim Hoffmann - 2017-01-07
    • status: open --> fixed
    • Group: -->
     

Log in to post a comment.