Port details |
- libunwind Generic stack unwinding library
- 20211201_1 devel
=24 20211201_1Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2010-05-05 23:21:22
- Last Update: 2022-04-30 15:57:34
- Commit Hash: ca3bbd9
- People watching this port, also watch:: icu, indexinfo, libedit, libunistring, liblz4
- License: MIT
- 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).
WWW: https://www.nongnu.org/libunwind/
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- For RUN/BUILD depends:
- libunwind>0:devel/libunwind
- For LIB depends:
- libunwind-coredump.so:devel/libunwind
- libunwind-generic.so:devel/libunwind
- libunwind-ptrace.so:devel/libunwind
- libunwind-setjmp.so:devel/libunwind
- libunwind-x86_64.so:devel/libunwind
- libunwind.so:devel/libunwind
- To install the port:
- cd /usr/ports/devel/libunwind/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/libunwind
- pkg install libunwind
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: libunwind
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le
- distinfo:
- TIMESTAMP = 1646075307
SHA256 (libunwind-1.6.2.tar.gz) = 4a6aec666991fb45d0889c44aede8ad6eb108071c3554fcdff671f9c94794976
SIZE (libunwind-1.6.2.tar.gz) = 901392
- Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- pkgconf>=1.3.0_1 : devel/pkgconf
- This port is required by:
- for Build
-
- cad/nvc
- databases/mysql80-client
- databases/mysql80-server
- devel/llvm-devel
- devel/llvm12
- devel/llvm13
- devel/llvm14
- for Libraries
-
- databases/mysql80-client
- databases/mysql80-server
- databases/xtrabackup8
- devel/efl
- devel/fbthrift
- devel/folly
- devel/glog
-
Deleted ports which required this port:
- for Run
-
- multimedia/emby-server
- multimedia/emby-server-devel
- net-p2p/prowlarr
- net-p2p/radarr
- net-p2p/readarr
- Configuration Options:
- No options to configure
- Options name:
- devel_libunwind
- USES:
- compiler:c11 cpe libtool pathfix pkgconfig
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
30 Apr 2022 15:57:34 20211201_1
|
Po-Chuan Hsieh (sunpoet)  |
devel/libunwind: Cosmetic change
- Use bsd.port.options.mk + bsd.port.mk instead of bsd.port.pre.mk +
bsd.port.post.mk
- Use = for PLIST_FILES |
27 Apr 2022 16:53:02 20211201_1
|
Tijl Coosemans (tijl)  |
devel/libunwind: use base system unwind.h
- Add --disable-cxx-exceptions so libunwind does not implement the
_Unwind_* API and does not use its internal unwind.h. The base
system libgcc_s provides this API. This was already the upstream
default for most architectures.
- Add --disable-unwind-header to prevent installation of unwind.h.
Instead, install an unwind.h that forwards to the base system
unwind.h, but not on FreeBSD 14 where all implementations of
unwind.h (base, lang/gcc*, and devel/llvm*) are compatible.
PR: 263370
Approved by: sunpoet |
22 Apr 2022 15:37:19 20211201
|
Piotr Kubaj (pkubaj)  |
devel/libunwind: drop unnecessary CFLAGS_powerpc64 |
19 Apr 2022 12:09:15 20211201
|
Piotr Kubaj (pkubaj)  |
devel/libunwind: remove explicit -maltivec for powerpc64le
Baseline target for powerpc64le is POWER8, which includes AltiVec. |
25 Mar 2022 13:36:40 20211201
|
Po-Chuan Hsieh (sunpoet)  |
devel/libunwind: Rename patch file and add comment |
23 Mar 2022 08:29:06 20211201
|
Mikael Urankar (mikael)  |
devel/libunwind: Fix build on aarch64
PR: 262447
Approved by: portmgr (build fix blanket) |
07 Mar 2022 18:10:55 20211201
|
Po-Chuan Hsieh (sunpoet)  |
devel/libunwind: Update to 20211201 (1.6.2)
Changes: https://github.com/libunwind/libunwind/releases
PR: 262257
Exp-run by: antoine |
21 Dec 2021 18:55:05 20201110
|
Po-Chuan Hsieh (sunpoet)  Author: Robert Clausecker |
devel/libunwind: Allow build on armv6
PR: 259650 |
16 Oct 2021 09:51:39 20201110
|
Jimmy Olgeni (olgeni)  |
*: fix tab vs. space issues, and comments according to the guide. |
13 Oct 2021 05:35:56 20201110
|
Po-Chuan Hsieh (sunpoet)  |
devel/libunwind: Cosmetic change |
05 Oct 2021 20:01:24 20201110
|
Bernhard Froehlich (decke)  |
devel/libunwind: Add CPE information
Approved by: portmgr (blanket) |
06 Jul 2021 14:55:27 20201110
|
Po-Chuan Hsieh (sunpoet)  |
devel/libunwind: Sort ARCH substitution in PLIST_SUB
Match the order of ONLY_FOR_ARCHS. |
28 Jun 2021 19:34:46 20201110
|
Piotr Kubaj (pkubaj)  |
devel/libunwind: enable on armv7
Builds fine. |
06 Apr 2021 14:31:07 20201110
|
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
26 Jan 2021 14:00:25
20201110
|
sunpoet  |
Update to 20201110 (1.5.0)
Changes: https://github.com/libunwind/libunwind/releases
PR: 252569
Exp-run by: antoine |
24 Sep 2020 20:52:19
20200331_1
|
linimon  |
Attempt to port to powerpc64le.
Approved by: portmgr (tier-2 blanket) |
09 Sep 2020 20:40:09
20200331_1
|
sunpoet  |
Fix build on powerpc64
PR: 249181
Submitted by: pkubaj |
30 Aug 2020 07:13:24
20200331_1
|
sunpoet  |
Use local patch file instead of PATCHFILES |
18 Aug 2020 15:10:22
20200331_1
|
zeising  |
devel/libunwind: Fix build with -fno-common
Fix the build of devel/libunwind with -fno-common (the default on FreeBSD
current after the llvm 11 update).
Add an upstream patch (pulling it from the official github mirror) to fix
the build woth -fno-common. |
26 May 2020 12:12:46
20200331
|
sunpoet  |
Fix build on aarch64
PR: 246730
Submitted by: Greg V <greg@unrelenting.technology> |
16 May 2020 10:51:13
20200331
|
sunpoet  |
Update to 20200331 (1.4.0)
- Update MASTER_SITES
Changes: https://github.com/libunwind/libunwind/releases
PR: 246390
Exp-run by: antoine |
22 Apr 2020 14:25:51
20170615_1
|
sunpoet  |
Update pkg-descr and WWW |
02 Apr 2020 21:23:29
20170615_1
|
sunpoet  |
Remove DOCS option: install manpages unconditionally
- Bump PORTREVISION for package change |
07 Mar 2020 22:25:34
20170615
|
sunpoet  |
Take maintainership |
07 Mar 2020 15:07:08
20170615
|
danilo  |
Dropping maintainership. I'm running very short of time currently. |
29 Jun 2018 07:48:42
20170615
|
linimon  |
Port to aarch64. Tested for no-harm on amd64.
While here, pet portlint.
PR: 229057
Submitted by: greg at unrelenting.technology
Approved by: portmgr (tier-2 blanket) |
27 Jan 2018 18:42:50
20170615
|
sunpoet  |
Update to 1.2.1 (20170615)
Changes: https://savannah.nongnu.org/forum/forum.php?forum_id=8879
PR: 225140
Submitted by: sunpoet (myself)
Exp-run by: antoine
Approved by: maintainer (timeout, 14 days) |
19 Dec 2017 18:06:29
20170113_1
|
emaste  |
devel/libunwind: set LLD_UNSAFE
libunwind.so has symbols with ELF protected visibility which various
test applications could preempt. Both GNU gold and LLVM's lld fail to
link this case, with errors like
lld:
/usr/bin/ld: error: cannot preempt symbol: _ULx86_64_init_local
>>> defined in ../src/.libs/libunwind.so
>>> referenced by Lperf-trace.c
>>> Lperf-trace.o:(main)
gold:
/usr/local/bin/ld.gold: error: Gperf-simple.o: cannot make copy relocation
for protected symbol '_Ux86_64_local_addr_space', defined in
../src/.libs/libunwind-x86_64.so
For now prevent libunwind from linking with lld. More information can be
found in libunwind upstream issue 58
https://github.com/libunwind/libunwind/issues/58
PR: 219524
Approved by: portmgr (LLD_UNSAFE blanket)
Sponsored by: The FreeBSD Foundation |
06 Jun 2017 22:39:50
20170113_1
|
danilo  |
- Add DOCS option. The configure script looks for latex2man tool to install docs
but
the man files are already built in the package, so we are just installing
them.
PR: 219582
Submitted by: John Hein |
28 May 2017 00:25:27
20170113
|
danilo  |
- Disable docs explicitly. Texlive is needed to build man pages and if it's
detected docs are generated, causing plist errors.
PR: 219582 |
19 Apr 2017 14:51:17
20170113
|
danilo  |
- Reintroduce ARCH variable to fix plist on i386 |
19 Apr 2017 14:39:16
20170113
|
sunpoet  |
Update to 1.2
Changes: https://savannah.nongnu.org/forum/forum.php?forum_id=8775
PR: 218367
Submitted by: sunpoet (myself)
Approved by: maintainer (timeout, 15 days) |
21 Oct 2016 15:21:13
20121006_2
|
mat  |
Use USES=pathfix where applicable.
PR: 213195
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D8093 |
19 May 2016 10:21:25
20121006_2
|
amdmi3  |
- Fix trailing whitespace in pkg-descrs, categories [a-f]*
Approved by: portmgr blanket |
20 Jan 2015 12:26:17
20121006_2
|
danilo  |
- Add LICENSE
- Use USES=autoreconf
- Strip shared library
- Simplify PLIST_SUB manipulation
- Bump PORTREVISION for package change
PR: 196890
Submitted by: sunpoet |
18 Oct 2014 12:20:43
20121006_1
|
jhb  |
The MAP_NORESERVE flag to mmap() has never been implemented in FreeBSD and
is being removed. No portrev bump needed since the kernel will continue to
accept this flag for old binaries even after support for it in new binaries
is removed.
PR: 193961
Approved by: portmgr (antoine) |
18 Aug 2014 16:03:01
20121006_1
|
amdmi3  |
- Switch to USES=libtool, drop .la files
Approved by: portmgr blanket |
27 Sep 2013 02:06:07
20121006
|
danilo  |
- Change maintainer email to @FreeBSD.org
- Add stage support
Approved by: wg (mentor) |
20 Sep 2013 17:13:47
20121006
|
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3) |
23 Jul 2013 07:42:01
20121006
|
jgh  |
- Update 20121006 (1.1)
- Pass maintainership to submitter
- Crop header
- Remove indefinite article from COMMENT
- while here shift to options for ARCH testing
PR: 180751
Submitted by: danilogondolfo@gmail.com |
28 Mar 2013 16:29:01
20110911
|
eadler  |
Style: tab -> space.
Most contributors copy an existing port when writing their own so reduce the
number of bad examples in the tree. |
28 Mar 2013 15:51:17
20110911 
|
eadler  |
Drop support for old versions of FreeBSD from unmaintained ports
Reviewed by: miwi |
18 Nov 2011 01:09:28
20110911
|
sunpoet  |
- Update to 20110911 which is actually official 1.0.1 to avoid PORTEPOCH bump
Changes: https://savannah.nongnu.org/forum/forum.php?forum_id=6947
https://savannah.nongnu.org/forum/forum.php?forum_id=6931
Feature safe: yes |
24 Oct 2011 03:33:20
20100809_2
|
stas  |
- Return my ports back to the pool. I was unable to make any fixes to
my ports in the past 3 weeks while ports were broken on any 10.x
machines, which means I'm unable to maintain them. So let people know
that there's no available support for them until things are back to
normal (which also means that anyone with spare time will be able
to fix them without getting approval). |
05 Oct 2011 17:38:29
20100809_2
|
stas  |
- Fix the unwind.h header, so it can be used in C++ applications.
Reported by: David Chisnall <theraven@theravensnest.org>
Untested by: me, because I don't have a working ports tree anymore |
03 Jul 2011 14:59:23
20100809_1
|
ohauer  |
-remove MD5 |
04 Dec 2010 07:34:27
20100809_1
|
ade  |
Sync to new bsd.autotools.mk |
16 Oct 2010 11:52:47
20100809_1
|
ade  |
Punt autoconf267->autoconf268 |
05 Oct 2010 19:57:56
20100809_1
|
ade  |
Round one migration of ports from automake{19,110} to automake111 |
15 Sep 2010 18:35:24
20100809_1
|
ade  |
Autotools update. Read ports/UPDATING 20100915 for details.
Approved by: portmgr (for Mk/bsd.port.mk part)
Tested by: Multiple -exp runs |
09 Aug 2010 23:52:09
20100809
|
stas  |
- Update to the 20100809 snapshot. |
12 Jul 2010 08:45:26
20100430
|
stas  |
- Unbreak on i386.
PR: ports/148426
Submitted by: Bapt <baptiste.daroussin@gmail.com> |
01 Jun 2010 17:56:38
20100430
|
erwin  |
Mark BROKEN on i386: does not package |
05 May 2010 23:20:21
20100430
|
stas  |
- Add libunwind, a generic stack unwindig library.
WWW: http://www.nongnu.org/libunwind/ |