Missing file /usr/riscv64-linux-gnu/include/gnu/stubs-lp64.h
Bug #2026829 reported by
Heinrich Schuchardt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cross-toolchain-base-ports (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When trying to build EDK II with -mabi=lp64 on riscv64 we are hitting missing include /usr/riscv64-
To post a comment you must log in.
The RISC-V architecture uses different privilege levels (M-mode, S-mode, U-mode). Depending on the mode different extensions of the instruction set are available. See the RISC-V profile specification in https:/ /github. com/riscv/ riscv-profiles/ blob/main/ profiles. adoc.
As in S-mode no floating point extensions are available floats and doubles have to be passed in integer registers. This is the lp64 ABI. Currently we lack a toolchain for softfloat (__riscv_ float_abi_ soft) RISC-V binaries.