git: Add libexecinfo to lib directory, but leave it unhooked

John Marino marino at crater.dragonflybsd.org
Mon Nov 2 16:13:51 PST 2015


commit 999f82af142ace93d4ab5a849504a5d3b6892d2d
Author: John Marino <draco at marino.st>
Date:   Tue Nov 3 01:07:57 2015 +0100

    Add libexecinfo to lib directory, but leave it unhooked
    
    The execinfo library is used to fill in the backtrace of the currently
    executing thread.  It originated in Linux and has found its way into a
    lot of vendor software.  NetBSD created a BSD-licensed implementation
    which FreeBSD imported a while back.
    
    The execinfo library has been in FreeBSD since Release 10.  FreeBSD 9
    is the only release that needs libexecinfo from ports and when that
    release hits EOL, DragonFly could be left unsupported if ports
    maintainers assumes libexecinfo is always available and removes USES
    support for it.
    
    To avoid this situation, bring libexecinfo into DragonFly's base for
    the purpose of supporting ports.  It requires libelf which has also
    been brought in as an internal library.

Summary of changes:
 lib/libexecinfo/Makefile                |  22 +++
 lib/libexecinfo/backtrace.3             | 155 ++++++++++++++++++++
 lib/libexecinfo/backtrace.c             | 248 ++++++++++++++++++++++++++++++++
 lib/libexecinfo/builtin.c               |  66 +++++++++
 lib/libexecinfo/execinfo.h              |  45 ++++++
 lib/libexecinfo/symtab.c                | 191 ++++++++++++++++++++++++
 lib/libexecinfo/symtab.h                |  42 ++++++
 lib/libexecinfo/unwind.c                |  72 ++++++++++
 lib/libexecinfo/unwind.h                |  68 +++++++++
 lib/libexecinfo/unwind_arm_ehabi_stub.c |  61 ++++++++
 10 files changed, 970 insertions(+)
 create mode 100644 lib/libexecinfo/Makefile
 create mode 100644 lib/libexecinfo/backtrace.3
 create mode 100644 lib/libexecinfo/backtrace.c
 create mode 100644 lib/libexecinfo/builtin.c
 create mode 100644 lib/libexecinfo/execinfo.h
 create mode 100644 lib/libexecinfo/symtab.c
 create mode 100644 lib/libexecinfo/symtab.h
 create mode 100644 lib/libexecinfo/unwind.c
 create mode 100644 lib/libexecinfo/unwind.h
 create mode 100644 lib/libexecinfo/unwind_arm_ehabi_stub.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/999f82af142ace93d4ab5a849504a5d3b6892d2d


-- 
DragonFly BSD source repository



More information about the Commits mailing list