Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 774900 - sys-libs/libunwind: keyword request ~riscv
Summary: sys-libs/libunwind: keyword request ~riscv
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Keywording (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-08 19:31 UTC by James Beddek
Modified: 2021-06-25 17:40 UTC (History)
2 users (show)

See Also:
Package list:
sys-libs/libunwind ~riscv
Runtime testing required: ---
nattka: sanity-check-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Beddek 2021-03-08 19:31:37 UTC
For https://github.com/gentoo/gentoo/pull/19793

Thanks
Comment 1 Yixun Lan archtester gentoo-dev 2021-04-01 15:03:18 UTC
I give it a shot and without luck, will investigate further later ..

== error ==
checking for target operating system... linux-gnu                                                                                                                                                                                           
checking for ELF helper width... configure: error: Unknown ELF target: riscv64                                                                                                                                                              
                                                                                                                                                                                                                                            
!!! Please attach the following file when seeking support:                                                                                                                                                                                  
!!! /var/tmp/portage/sys-libs/libunwind-1.5.0-r1/work/libunwind-1.5.0-.lp64d/config.log                                                                                                                                                     
 * ERROR: sys-libs/libunwind-1.5.0-r1::gentoo failed (configure phase):
Comment 2 Arfrever Frehtes Taifersar Arahesis 2021-04-10 00:39:38 UTC
llvm-libunwind USE flag is already forced in RISC-V profiles, because sys-libs/llvm-libunwind is the only libunwind implementation currently supporting RISC-V:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c15afd7cd060d8f46ab636befd20086dc9fd9aeb
Comment 3 Larry the Git Cow gentoo-dev 2021-06-25 17:24:06 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=431d604177920f54dbedec7fcaec9365796f8211

commit 431d604177920f54dbedec7fcaec9365796f8211
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2021-06-25 17:17:11 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2021-06-25 17:23:52 +0000

    sys-libs/libunwind: keyword 1.5.0-r1 for -riscv
    
    src_configure fails with
    
    configure: error: Unknown ELF target: riscv64
    
    Given that upstream stated in 2019 they weren't interested in working
    on RISC-V support unless someone implemented it for them, and that the
    LLVM libunwind does support this architecture, the above feels unlikely
    to change any time soon.
    
    See-also: https://github.com/libunwind/libunwind/issues/99
    See-also: https://github.com/libunwind/libunwind/issues/151
    Bug: https://bugs.gentoo.org/774900
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 sys-libs/libunwind/libunwind-1.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 4 Marek Szuba archtester gentoo-dev 2021-06-25 17:25:15 UTC
Feels like we should close this?
Comment 5 NATTkA bot gentoo-dev 2021-06-25 17:28:31 UTC
Unable to check for sanity:

> package masked: sys-libs/libunwind-1.5.0-r1, by keywords: -riscv