devel/libunwind 20250904
Generic stack unwinding library
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel
- Package size
- 213.5 KiB, 1186.7 KiB installed
Description
The primary goal of this project is to define 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. As such, the API is useful in a number of applications. Some examples include:
- exception handling The libunwind API makes it trivial to implement the stack-manipulation aspects of exception handling.
- debuggers The libunwind API makes it trivial for debuggers to generate the call-chain (backtrace) of the threads in a running program.
- introspection It is often useful for a running thread to determine its call-chain. For example, this is useful to display error messages (to show how the error came about) and for performance monitoring/analysis.
- efficient setjmp() With libunwind, it is possible to implement an extremely efficient version of setjmp(). Effectively, the only context that needs to be saved consists of the stack-pointer(s).
Install
As a binary package — by origin, or by package name:
pkg install devel/libunwind
pkg install libunwind
From the ports tree:
cd /usr/ports/devel/libunwind/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= libunwind>0:devel/libunwind
LIB_DEPENDS= libunwind-.so:devel/libunwind
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 20250904 | 20250904 | 20211201_1 | 20240221_2 | 20250904 |
| FreeBSD:14:quarterly | 20250904 | 20250904 | n/a | 20240221_2 | 20250904 |
| FreeBSD:15:latest | 20250904 | 20250904 | n/a | 20240221_2 | 20240221_2 |
| FreeBSD:15:quarterly | 20250904 | 20250904 | n/a | n/a | n/a |
| FreeBSD:16:latest | 20250904 | 20250904 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
All build dependencies 1
Required by 5654
- accessibility/kdeaccessibility
- accessibility/kmousetool
- accessibility/kmouth
- accessibility/libspeechprovider
- accessibility/libspiel
- accessibility/qt6-speech
- accessibility/rubygem-atk
- arabic/libreoffice
- archivers/engrampa
- archivers/file-roller
- archivers/rubygem-archive-zip
- archivers/rubygem-bzip2-ffi
- archivers/rubygem-bzip2-ruby
- archivers/rubygem-fpm
- archivers/rubygem-libarchive
- archivers/rubygem-minitar
- archivers/rubygem-minitar-cli
- archivers/rubygem-minitar0
- archivers/rubygem-ruby-xz
- archivers/rubygem-rubyzip
- archivers/rubygem-rubyzip-gitlab
- archivers/rubygem-rubyzip13
- archivers/rubygem-rubyzip2
- archivers/rubygem-snappy
- archivers/thunar-archive-plugin
- astro/gpsbabel
- astro/kstars
- astro/marble
- astro/merkaartor
- astro/opencpn
- astro/phd2
- astro/qmapshack
- astro/siril
- astro/stellarium
- astro/viking
- audio/amarok
- audio/amberol
- audio/asterisk-espeak
- audio/asterisk-flite
- audio/audacity
- audio/audiocd-kio
- audio/bambootracker
- audio/baresip
- audio/bespokesynth
- audio/cadence
- audio/cantata
- audio/cardinal
- audio/carla
- audio/d11amp
- audio/dmidiplayer
- audio/drumstick
- audio/elisa
- audio/entropypianotuner
- audio/espeak-ng
- audio/exaile
- audio/fmit
- audio/g4music
- audio/giada
- audio/gnome-metronome
- audio/gnome-music
- audio/gnome-podcasts
- audio/gonic
- audio/goobox
- audio/gsequencer
- audio/gstreamer1-plugins-a52dec
- audio/gstreamer1-plugins-alsa
- audio/gstreamer1-plugins-amrnb
- audio/gstreamer1-plugins-amrwbdec
- audio/gstreamer1-plugins-bs2b
- audio/gstreamer1-plugins-cdparanoia
- audio/gstreamer1-plugins-chromaprint
- audio/gstreamer1-plugins-faac
- audio/gstreamer1-plugins-faad
- audio/gstreamer1-plugins-fdkaac
- audio/gstreamer1-plugins-flac
- audio/gstreamer1-plugins-flite
- audio/gstreamer1-plugins-gme
- audio/gstreamer1-plugins-gsm
- audio/gstreamer1-plugins-jack
- audio/gstreamer1-plugins-ladspa
- audio/gstreamer1-plugins-lame
- audio/gstreamer1-plugins-lv2
- audio/gstreamer1-plugins-modplug
- audio/gstreamer1-plugins-mpg123
- audio/gstreamer1-plugins-ogg
- audio/gstreamer1-plugins-openmpt
- audio/gstreamer1-plugins-opus
- audio/gstreamer1-plugins-pulse
- audio/gstreamer1-plugins-shout2
- audio/gstreamer1-plugins-sidplay
- audio/gstreamer1-plugins-sndfile
- audio/gstreamer1-plugins-sndio
- audio/gstreamer1-plugins-soundtouch
- audio/gstreamer1-plugins-speex
- audio/gstreamer1-plugins-taglib
- audio/gstreamer1-plugins-twolame
- audio/gstreamer1-plugins-vorbis
- audio/gstreamer1-plugins-wavpack
- audio/gstreamer1-plugins-webrtcdsp
- audio/inscore
The first 100 are listed.
Configuration
No options to configure.
- USES
- compiler:c11 cpe libtool pkgconfig
- Service scripts
- none
Files
Manual pages 40
- _U_dyn_cancel(3)
- _U_dyn_register(3)
- libunwind(3)
- libunwind-coredump(3)
- libunwind-dynamic(3)
- libunwind-ia64(3)
- libunwind-nto(3)
- libunwind-ptrace(3)
- libunwind-setjmp(3)
- unw_apply_reg_state(3)
- unw_backtrace(3)
- unw_create_addr_space(3)
- unw_destroy_addr_space(3)
- unw_flush_cache(3)
- unw_get_accessors(3)
- unw_get_elf_filename(3)
- unw_get_elf_filename_by_ip(3)
- unw_get_fpreg(3)
- unw_get_proc_info(3)
- unw_get_proc_info_by_ip(3)
- unw_get_proc_info_in_range(3)
- unw_get_proc_name(3)
- unw_get_proc_name_by_ip(3)
- unw_get_reg(3)
- unw_getcontext(3)
- unw_init_local(3)
- unw_init_local2(3)
- unw_init_remote(3)
- unw_is_fpreg(3)
- unw_is_signal_frame(3)
- unw_reg_states_iterate(3)
- unw_regname(3)
- unw_resume(3)
- unw_set_cache_size(3)
- unw_set_caching_policy(3)
- unw_set_fpreg(3)
- unw_set_iterate_phdr_function(3)
- unw_set_reg(3)
- unw_step(3)
- unw_strerror(3)
pkg-plist 73
- include/libunwind-.h
- include/libunwind-common.h
- include/libunwind-coredump.h
- include/libunwind-dynamic.h
- include/libunwind-ptrace.h
- include/libunwind.h
- lib/libunwind-.a
- lib/libunwind-.so
- lib/libunwind-.so.8
- lib/libunwind-.so.8.2.0
- lib/libunwind-coredump.a
- lib/libunwind-coredump.so
- lib/libunwind-coredump.so.0
- lib/libunwind-coredump.so.0.0.0
- lib/libunwind-generic.a
- lib/libunwind-generic.so
- lib/libunwind-ptrace.a
- lib/libunwind-ptrace.so
- lib/libunwind-ptrace.so.0
- lib/libunwind-ptrace.so.0.0.0
- lib/libunwind-setjmp.a
- lib/libunwind-setjmp.so
- lib/libunwind-setjmp.so.0
- lib/libunwind-setjmp.so.0.0.0
- lib/libunwind.a
- lib/libunwind.so
- lib/libunwind.so.8
- lib/libunwind.so.8.2.0
- libdata/pkgconfig/libunwind-coredump.pc
- libdata/pkgconfig/libunwind-generic.pc
- libdata/pkgconfig/libunwind-ptrace.pc
- libdata/pkgconfig/libunwind-setjmp.pc
- libdata/pkgconfig/libunwind.pc
- share/man/man3/_U_dyn_cancel.3.gz
- share/man/man3/_U_dyn_register.3.gz
- share/man/man3/libunwind-coredump.3.gz
- share/man/man3/libunwind-dynamic.3.gz
- share/man/man3/libunwind-ia64.3.gz
- share/man/man3/libunwind-nto.3.gz
- share/man/man3/libunwind-ptrace.3.gz
- share/man/man3/libunwind-setjmp.3.gz
- share/man/man3/libunwind.3.gz
- share/man/man3/unw_apply_reg_state.3.gz
- share/man/man3/unw_backtrace.3.gz
- share/man/man3/unw_create_addr_space.3.gz
- share/man/man3/unw_destroy_addr_space.3.gz
- share/man/man3/unw_flush_cache.3.gz
- share/man/man3/unw_get_accessors.3.gz
- share/man/man3/unw_get_elf_filename.3.gz
- share/man/man3/unw_get_elf_filename_by_ip.3.gz
- share/man/man3/unw_get_fpreg.3.gz
- share/man/man3/unw_get_proc_info.3.gz
- share/man/man3/unw_get_proc_info_by_ip.3.gz
- share/man/man3/unw_get_proc_info_in_range.3.gz
- share/man/man3/unw_get_proc_name.3.gz
- share/man/man3/unw_get_proc_name_by_ip.3.gz
- share/man/man3/unw_get_reg.3.gz
- share/man/man3/unw_getcontext.3.gz
- share/man/man3/unw_init_local.3.gz
- share/man/man3/unw_init_local2.3.gz
- share/man/man3/unw_init_remote.3.gz
- share/man/man3/unw_is_fpreg.3.gz
- share/man/man3/unw_is_signal_frame.3.gz
- share/man/man3/unw_reg_states_iterate.3.gz
- share/man/man3/unw_regname.3.gz
- share/man/man3/unw_resume.3.gz
- share/man/man3/unw_set_cache_size.3.gz
- share/man/man3/unw_set_caching_policy.3.gz
- share/man/man3/unw_set_fpreg.3.gz
- share/man/man3/unw_set_iterate_phdr_function.3.gz
- share/man/man3/unw_set_reg.3.gz
- share/man/man3/unw_step.3.gz
- share/man/man3/unw_strerror.3.gz
distinfo 3
| File | Size | SHA256 |
|---|---|---|
| libunwind-1.8.3.tar.gz | 981017 | be30d910e67f58d82e753231f1357f326a1a088acf126b21ff77e60aab19b90b |
| b841b2a2665da25dd28fd16977a77bf8b3494dc7.patch | 953 | 56570397cbdd40ef36d3fe06538357651b2a7923780bc7e49b486857eb4999b5 |
| 2ad7f439d6d04a808947e04b07e1efb34371c8b2.patch | 1201 | 87fdd01ce33faa27f001895e0c672c172dfd8b14e5dec69f0466ac7ecabd85e6 |
Master sites 1
- https://github.com/libunwind/libunwind/releases/download/v1.8.3/
Commit history 0
No commits in the history this site was built from.