git: libexecinfo(3): Internalize libelf in symtab.c.

Rimvydas Jasinskas zrj at
Sat Dec 21 18:33:45 PST 2019

commit 77bd33e17033047707557baf11c4799f1d4a3110
Author: zrj <rimvydas.jasinskas at>
Date:   Fri Dec 20 11:21:44 2019 +0200

    libexecinfo(3): Internalize libelf in symtab.c.
     Previous variant had symbol conflicts against ports libelf library.
     Use custom, cut down variant that provides basic set needed for
     libexecinfo symtab.c, ensure symbols are static and mangled.
     The libelf (as provided in contrib) is not very suitable for generic
     implementation of backtrace(3) function family.
     This is a temporary workaround to unbreak specific ports that are link
     against libelf and libexecinfo (including static compilations).
    Reported-by: Romick at users

Summary of changes:
 lib/libexecinfo/Makefile         |    2 +
 lib/libexecinfo/private_libelf.h | 3542 ++++++++++++++++++++++++++++++++++++++
 lib/libexecinfo/symtab.c         |    4 +
 3 files changed, 3548 insertions(+)
 create mode 100644 lib/libexecinfo/private_libelf.h

DragonFly BSD source repository

More information about the Commits mailing list