aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/libunwind
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2019-05-30 08:30:42 +0000
committerYousong Zhou <yszhou4tech@gmail.com>2019-05-30 10:30:45 +0000
commit1e5f4dcd66807b662f0ffb2bebd0c8bf9bf89c92 (patch)
treea794485154e6a5b8e2cd425f1759b2bc6c8d8691 /package/libs/libunwind
parenta765a2178cae2e39b7384149486b819cedf87603 (diff)
downloadupstream-1e5f4dcd66807b662f0ffb2bebd0c8bf9bf89c92.tar.gz
upstream-1e5f4dcd66807b662f0ffb2bebd0c8bf9bf89c92.tar.bz2
upstream-1e5f4dcd66807b662f0ffb2bebd0c8bf9bf89c92.zip
libunwind: requires glibc if arch in powerpc
libunwind for powerpc depends on getcontext() from libc which musl-libc does not provide because this API and its friends are supposed to be "obsolescent" [1,2] [1] Subject: Re: setcontext/getcontext/makecontext missing? https://www.openwall.com/lists/musl/2016/02/04/5 [2] http://pubs.opengroup.org/onlinepubs/009695399/functions/makecontext.html Refs: https://github.com/openwrt/packages/issues/8548#issuecomment-497200058 Reported-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'package/libs/libunwind')
-rw-r--r--package/libs/libunwind/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libs/libunwind/Makefile b/package/libs/libunwind/Makefile
index 2e4b11b8bc..c36cb5c290 100644
--- a/package/libs/libunwind/Makefile
+++ b/package/libs/libunwind/Makefile
@@ -32,7 +32,7 @@ define Package/libunwind
CATEGORY:=Libraries
TITLE:=The libunwind project
URL:=http://www.nongnu.org/libunwind/
- DEPENDS:=@(mips||mipsel||powerpc||i386||x86_64||arm||aarch64)
+ DEPENDS:=@((mips||mipsel||i386||x86_64||arm||aarch64)||(USE_GLIBC&&powerpc))
ABI_VERSION:=8
endef