Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686194 - sys-apps/portage: support riscv ABIs
Summary: sys-apps/portage: support riscv ABIs
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
Keywords: InVCS
Depends on:
Blocks: 686768
  Show dependency tree
Reported: 2019-05-18 01:45 UTC by Zac Medico
Modified: 2020-09-14 06:38 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2019-05-18 01:45:36 UTC

> Supported ABIs are ilp32 (32-bit soft-float), ilp32d (32-bit hard-float), ilp32f
> (32-bit with single-precision in registers and double in memory, niche use only),
> lp64 lp64f lp64d (same but with 64-bit long and pointers).
Comment 1 Zac Medico gentoo-dev 2019-05-18 01:56:30 UTC
Also, mentions:

> There is also the ‘ilp32e’ ABI that can only be used with the ‘rv32e’ architecture.
> This ABI is not well specified at present, and is subject to change.
Comment 3 Larry the Git Cow gentoo-dev 2019-05-18 19:15:07 UTC
The bug has been referenced in the following commit(s):

commit 40d51b2548dd74641aa6db619446a8d9473394a3
Author:     Zac Medico <>
AuthorDate: 2019-05-17 22:45:30 +0000
Commit:     Zac Medico <>
CommitDate: 2019-05-18 18:42:33 +0000

    Recognize riscv ABIs (bug 686194)
    In order to avoid possibe misidentification, only the following ABIs
    are recognized:
     * lp64
     * lp64d
    The compute_multilib_category function correctly identifies both
    riscv_lp64 and riscv_lp64d files found in the experimental stages
    Reviewed-by: Andreas K. Hüttel <>
    Signed-off-by: Zac Medico <>

 lib/portage/dep/soname/ | 51 ++++++++++++++++++++++++++---
 lib/portage/util/elf/           | 10 +++++-
 2 files changed, 55 insertions(+), 6 deletions(-)