#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-491

### Chapter 9. General Libraries

- Prev

  libunistring-1.4.2

- Next

  liburcu-0.15.6

- Up
- Home

# libunwind-1.8.3

## Introduction to libunwind

The libunwind package contains a portable and efficient C programming interface (API) to determine the call-chain of a program. The API additionally provides the means to manipulate the preserved (callee-saved) state of each call-frame and to resume execution at any point in the call-chain (non-local goto). The API supports both local (same-process) and remote (across-process) operation.

### Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### Package Information

- Download (HTTP): https://github.com/libunwind/libunwind/releases/download/v1.8.3/libunwind-1.8.3.tar.gz

- Download MD5 sum: 13bc7b41462ac6ea157d350eaf6c1503

- Download size: 960 KB

- Estimated disk space required: 22 MB (with tests)

- Estimated build time: 0.4 SBU (with tests)

### libunwind Dependencies

#### Optional

texlive-20250308 (for latex2man)

## Installation of libunwind

First, fix a problem when building with gcc-15:

    sed -i '/func.s/s/s//' tests/Gtest-nomalloc.c

Install libunwind by running the following commands:

    ./configure --prefix=/usr --disable-static &&
    make

To test the results, issue: make check.

Now, as the `root` user:

    make install

## Command Explanations

`--disable-static`: This switch prevents installation of static versions of the libraries.

## Contents

Installed Programs: None
Installed Libraries: libunwind.so, libunwind-coredump.so, libunwind-generic.so (symlink to libunwind-x86_64.so), libunwind-ptrace.so, libunwind-setjmp.so, and libunwind-x86_64.so (libunwind-x86.so on i686)
Installed Directories: /usr/libexec/libunwind

- Prev

  libunistring-1.4.2

- Next

  liburcu-0.15.6

- Up
- Home