Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907029 - app-cdr/cdrtools will not build for riscv64be due to ebuild file
Summary: app-cdr/cdrtools will not build for riscv64be due to ebuild file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: RISCV project
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 907135
  Show dependency tree
 
Reported: 2023-05-23 16:00 UTC by Rory Bolt
Modified: 2023-12-24 14:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rory Bolt 2023-05-23 16:00:29 UTC
Note: this is for BIG ENDIAN risc-v


The line
"symlink_build_rules riscv64be" needs to be added to the ebuild file to support big endian builds.

This is required to enable catalyst to build the stages for this platform.
Comment 1 Yixun Lan archtester gentoo-dev 2023-05-24 01:23:18 UTC
what's the motivation for supporting BE? although I found this [1], the GCC is somehow already implemented, but the psABI isn't settle down..

[1] https://reviews.llvm.org/D128612
Comment 2 Rory Bolt 2023-05-24 04:55:08 UTC
(In reply to Yixun Lan from comment #1)
> what's the motivation for supporting BE? although I found this [1], the GCC
> is somehow already implemented, but the psABI isn't settle down..
> 
> [1] https://reviews.llvm.org/D128612


To enable experimentation of a big endian system. As noted, the GCC toolchain supports riscv64be, and with the exception of dev-lib/openssl (another bug already filed for this) and app-cdr/cdrtools, all of Gentoo necessary to build a stage3 tarball already works.
Comment 3 Larry the Git Cow gentoo-dev 2023-12-24 14:28:49 UTC
The bug has been closed via the following commit(s):

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

commit ea6ae9af5e74e4df9b27c472c6e9897e99d14a2c
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2023-12-24 10:23:46 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2023-12-24 14:28:42 +0000

    app-cdr/cdrtools: Add support for big endian RISC-V
    
    Closes: https://bugs.gentoo.org/907029
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/34147
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 app-cdr/cdrtools/cdrtools-3.02_alpha09-r5.ebuild | 2 ++
 1 file changed, 2 insertions(+)