FS#60438 - [riscv64-linux-gnu-glibc] can't compile riscv-pk with this package

Attached to Project: Community Packages
Opened by Wenbo Qiu (crab2313) - Wednesday, 17 October 2018, 07:30 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 18 October 2018, 14:32 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I'm trying to compile riscv-pk as its README says.

./configure --host=riscv64-linux-gnu --with-arch=rv64i
make

riscv64-linux-gnu-gcc -MMD -MP -Wall -Werror -D__NO_INLINE__ -mcmodel=medany -O2 -std=gnu99 -Wno-unused -Wno-attributes -fno-delete-null-pointer-checks -fno-PIE -march=rv64im -mabi=lp64 -DBBL_PAYLOAD=\"bbl_payload\" -DBBL_LOGO_FILE=\"bbl_logo_file\" -I. -I./pk -I./bbl -I./softfloat -I./dummy_payload -I./machine -I./util -c ./pk/file.c
In file included from /usr/riscv64-linux-gnu/usr/include/features.h:452,
from /usr/riscv64-linux-gnu/usr/include/sys/stat.h:25,
from ./pk/file.h:6,
from ./pk/file.c:3:
/usr/riscv64-linux-gnu/usr/include/gnu/stubs.h:8:11: fatal error: gnu/stubs-lp64.h: No such file or directory
# include <gnu/stubs-lp64.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.

This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 18 October 2018, 14:32 GMT
Reason for closing:  Not a bug
Additional comments about closing:  User requested: It seems the library is using lp64d rather than lp64 as the ABI.

Loading...