summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2019-06-14 06:27:14 +0800
committerDave Watson <dade.watson@gmail.com>2019-06-13 15:27:14 -0700
commitb316234d63c7ff6fcfac6d72e0f27394fe86af80 (patch)
treed491607ec20be11528c06700efb52e1c85daab21
parent0efe1db0ebf03ed8b7004c75c15cfd286854137f (diff)
downloadlibunwind-b316234d63c7ff6fcfac6d72e0f27394fe86af80.tar.gz
README: add libc requirement description (#121)
I made this table when trying to fix recent packaging issues in OpenWrt . It could help track progress on musl-libc support and may also help other distros.
-rw-r--r--README26
1 files changed, 26 insertions, 0 deletions
diff --git a/README b/README
index c729c52d..9c7455a7 100644
--- a/README
+++ b/README
@@ -23,6 +23,32 @@ several architecture/operating-system combinations:
| FreeBSD | AArch64 | ✓ |
| Solaris | x86-64 | Initial support |
+## Libc Requirements
+
+libunwind depends on getcontext(), setcontext() functions which are missing
+from C libraries like musl-libc because they are considered to be "obsolescent"
+API by POSIX document. The following table tries to track current status of
+such dependencies
+
+ - r, requires
+ - p, provides its own implementation
+ - empty, no requirement
+
+| Archtecture | getcontext | setcontext |
+|--------------|------------|------------|
+| aarch64 | p | |
+| arm | p | |
+| hppa | p | p |
+| ia64 | p | r |
+| mips | p | |
+| ppc32 | r | |
+| ppc64 | r | r |
+| s390x | p | p |
+| sh | r | |
+| tilegx | r | r |
+| x86 | p | r |
+| x86_64 | p | p |
+
## General Build Instructions
In general, this library can be built and installed with the following