[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[aa04882] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY libunwind-download-http "https://download.savannah.nongnu.org/releases/libunwind/libunwind-&libunwind-version;.tar.gz">
|
---|
| 8 | <!ENTITY libunwind-download-ftp " ">
|
---|
| 9 | <!ENTITY libunwind-md5sum "f625b6a98ac1976116c71708a73dc44a">
|
---|
| 10 | <!ENTITY libunwind-size "884 KB">
|
---|
| 11 | <!ENTITY libunwind-buildsize "20 MB (with tests)">
|
---|
| 12 | <!ENTITY libunwind-time "0.2 SBU (with tests)">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libunwind" xreflabel="libunwind-&libunwind-version;">
|
---|
| 16 | <?dbhtml filename="libunwind.html"?>
|
---|
| 17 |
|
---|
| 18 | <title>libunwind-&libunwind-version;</title>
|
---|
| 19 |
|
---|
| 20 | <indexterm zone="libunwind">
|
---|
| 21 | <primary sortas="a-libunwind">libunwind</primary>
|
---|
| 22 | </indexterm>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="package">
|
---|
| 25 | <title>Introduction to libunwind</title>
|
---|
| 26 |
|
---|
| 27 | <para>
|
---|
| 28 | The <application>libunwind</application> package contains a portable and
|
---|
| 29 | efficient C programming interface (API) to determine the call-chain of a
|
---|
| 30 | program. The API additionally provides the means to manipulate the
|
---|
| 31 | preserved (callee-saved) state of each call-frame and to resume execution
|
---|
| 32 | at any point in the call-chain (non-local goto). The API supports both
|
---|
| 33 | local (same-process) and remote (across-process) operation.
|
---|
| 34 | </para>
|
---|
| 35 |
|
---|
[f2574af5] | 36 | &lfs122_checked;
|
---|
[aa04882] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&libunwind-download-http;"/>
|
---|
| 43 | </para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&libunwind-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download MD5 sum: &libunwind-md5sum;
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download size: &libunwind-size;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Estimated disk space required: &libunwind-buildsize;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated build time: &libunwind-time;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect3">libunwind Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 75 | <para role="optional">
|
---|
| 76 | <xref linkend="texlive"/> (for latex2man)
|
---|
| 77 | </para>
|
---|
| 78 |
|
---|
| 79 | </sect2>
|
---|
| 80 |
|
---|
| 81 | <sect2 role="installation">
|
---|
| 82 | <title>Installation of libunwind</title>
|
---|
| 83 |
|
---|
| 84 | <para>
|
---|
| 85 | Install <application>libunwind</application> by running the following
|
---|
| 86 | commands:
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
| 90 | make</userinput></screen>
|
---|
| 91 |
|
---|
| 92 | <para>
|
---|
| 93 | To test the results, issue: <command>make check</command>. Two
|
---|
[7a9a7b26] | 94 | tests, run-coredump-unwind and run-coredump-unwind-mdi are known
|
---|
[aa04882] | 95 | to fail.
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <para>
|
---|
| 99 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 103 |
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | <sect2 role="commands">
|
---|
| 107 |
|
---|
| 108 | <title>Command Explanations</title>
|
---|
| 109 |
|
---|
| 110 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 111 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 112 |
|
---|
| 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2 role="content">
|
---|
| 116 | <title>Contents</title>
|
---|
| 117 |
|
---|
| 118 | <segmentedlist>
|
---|
| 119 | <segtitle>Installed Programs</segtitle>
|
---|
| 120 | <segtitle>Installed Libraries</segtitle>
|
---|
| 121 | <segtitle>Installed Directories</segtitle>
|
---|
| 122 |
|
---|
| 123 | <seglistitem>
|
---|
| 124 | <seg>
|
---|
| 125 | None
|
---|
| 126 | </seg>
|
---|
| 127 | <seg>
|
---|
| 128 | libunwind.so,
|
---|
| 129 | libunwind-coredump.so,
|
---|
| 130 | libunwind-generic.so,
|
---|
| 131 | libunwind-ptrace.so,
|
---|
| 132 | libunwind-setjmp.so, and
|
---|
[e72bf16] | 133 | libunwind-x86_64.so (libunwind-x86.so on i686)
|
---|
[aa04882] | 134 | </seg>
|
---|
| 135 | <seg>
|
---|
| 136 | None
|
---|
| 137 | </seg>
|
---|
| 138 | </seglistitem>
|
---|
| 139 | </segmentedlist>
|
---|
| 140 |
|
---|
| 141 | </sect2>
|
---|
| 142 |
|
---|
| 143 | </sect1>
|
---|