-
Notifications
You must be signed in to change notification settings - Fork 416
RISC-V Target is missing support for -mabi=lp64d based systems #749
Description
RISC-V Target is missing support for -mabi=lp64d based systems such as the Starfive Visionfive 2 Processor
-mabi=lp64d -march=rv64imafdc_zicsr_zba_zbb -mcpu=sifive-u74 -mtune=sifive-7-series.
The rv64i does not seem to build on it
It gives the following error
StarFive ~/Downloads/blis # make
Generating monolithic blis.h..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Generated include/rv64i/blis.h
Compiling obj/rv64i/config/rv64i/bli_cntx_init_rv64i.o ('rv64i' CFLAGS for config code)
In file included from /usr/include/features.h:515,
from /usr/include/bits/libc-header-start.h:33,
from /usr/include/stdio.h:27,
from ./frame/include//bli_system.h:46,
from config/rv64i/bli_cntx_init_rv64i.c:35:
/usr/include/gnu/stubs.h:14:11: fatal error: gnu/stubs-lp64.h: No such file or directory
The reason for this is it needs to include stubs-lp64d.h for this processor.