commit:     d1f73c979a18ea2c1d0bc6ae500f5f0c3adc7b27
Author:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 10 20:07:33 2019 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Thu Oct 10 20:48:32 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1f73c97

sys-libs/libunwind: unkeyword riscv

There doesn't seem to be any official support for RISC-V yet. The
build fails with:

  checking for ELF helper width... configure: error: Unknown ELF target: riscv64

The git HEAD (commit a36ec8cfdb8764e4f8bf6b16a149a60ea6ad038d) doesn't
seem to provide support for RISC-V either:

AC_MSG_CHECKING([for ELF helper width])
case "${target_arch}" in
(arm|hppa|ppc32|x86|sh) use_elf32=yes; AC_MSG_RESULT([32]);;
(aarch64|ia64|ppc64|x86_64|s390x|tilegx)  use_elf64=yes; AC_MSG_RESULT([64]);;
(mips)                 use_elfxx=yes; AC_MSG_RESULT([xx]);;
*)                     AC_MSG_ERROR([Unknown ELF target: ${target_arch}])
esac

This reverts commit 9037f242c1d5941a57612f6b617cc74b761e6896.

Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org>

 profiles/arch/riscv/package.use.mask         | 1 +
 sys-libs/libunwind/libunwind-1.2.1-r3.ebuild | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/profiles/arch/riscv/package.use.mask 
b/profiles/arch/riscv/package.use.mask
index 0a6c2f0e282..a16d07ecc34 100644
--- a/profiles/arch/riscv/package.use.mask
+++ b/profiles/arch/riscv/package.use.mask
@@ -49,6 +49,7 @@ dev-util/meson test
 dev-util/ninja doc test
 dev-util/patchutils test
 dev-util/pkgconf test
+dev-util/strace unwind
 dev-vcs/git cvs highlight gnome-keyring subversion tk xinetd
 media-libs/freetype harfbuzz png
 media-libs/tiff jbig jpeg test webp zstd

diff --git a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild 
b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
index 518da3a72e5..27084d43a5b 100644
--- a/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
+++ b/sys-libs/libunwind/libunwind-1.2.1-r3.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="7"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv -sparc ~x86 
~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 
~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
 IUSE="debug debug-frame doc libatomic lzma +static-libs"
 
 RESTRICT="test" # half of tests are broken (toolchain version dependent)

Reply via email to