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
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(-)