Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904751 - dev-libs/openssl will not build for BIG ENDIAN riscv configurations
Summary: dev-libs/openssl will not build for BIG ENDIAN riscv configurations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: riscv Linux
: Normal minor
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 907135
  Show dependency tree
 
Reported: 2023-04-21 17:06 UTC by Rory Bolt
Modified: 2023-05-25 14:59 UTC (History)
2 users (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-04-21 17:06:41 UTC
Built a rootfs for a 64 bit riscv big endian configuration...
dev-libs/openssl would not build.

gentoo.config-1.0.4 needed the following change:

Old:
                riscv32*)     machine="generic32 -DL_ENDIAN";;
                riscv64*)     machine="riscv64 -DL_ENDIAN" system=linux64;;

New:
                riscv32be*)   machine="generic32 -DB_ENDIAN";;
                riscv32*)     machine="generic32 -DL_ENDIAN";;
                riscv64be*)   machine="riscv64 -DB_ENDIAN" system=linux64;;
                riscv64*)     machine="riscv64 -DL_ENDIAN" system=linux64;;

Low priority since big endian riscv hardware is not yet available
Comment 1 Larry the Git Cow gentoo-dev 2023-05-25 14:59:07 UTC
The bug has been closed via the following commit(s):

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

commit 08dbfd4976e7cf1eb03ea520327769a96e877c4d
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2023-05-25 14:57:07 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2023-05-25 14:58:42 +0000

    dev-libs/openssl: add support for big-endian RISC-V
    
    Closes: https://bugs.gentoo.org/904751
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 dev-libs/openssl/files/gentoo.config-1.0.4 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)