You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.
I followed procedures described in readme.md and I am able to boot riscv-linux using spike. While compiling C-program containing header files like stdio.h it is showing some error like
root@riscv64:~# riscv64-poky-linux-gcc hello.c
riscv64-poky-linux-gcc hello.c
In file included from /usr/include/bits/types.h:130:0,
from /usr/include/stdio.h:35,
from hello.c:1:
/usr/include/bits/types.h:143:12: internal compiler error: in grokdeclarator, at c/c-decl.c:6769
__STD_TYPE __FSID_T_TYPE __fsid_t; /* Type of file system IDs. */
^
Please submit a full bug report,
with preprocessed source if appropriate.
See https://gcc.gnu.org/bugs/ for instructions.
If header files are omitted, the program is compiled with some warnings. How to resolve this problem?
The text was updated successfully, but these errors were encountered:
This looks like a dup of riscvarchive/riscv-gcc#100 . You might check if updating gcc to the tip of the 7.2 branch or later fixes it. (If so, poky should be updated.)
heidecjj
added a commit
to heidecjj/riscv-poky
that referenced
this issue
Oct 14, 2018
I followed procedures described in readme.md and I am able to boot riscv-linux using spike. While compiling C-program containing header files like stdio.h it is showing some error like
root@riscv64:~# riscv64-poky-linux-gcc hello.c
riscv64-poky-linux-gcc hello.c
In file included from /usr/include/bits/types.h:130:0,
from /usr/include/stdio.h:35,
from hello.c:1:
/usr/include/bits/types.h:143:12: internal compiler error: in grokdeclarator, at c/c-decl.c:6769
__STD_TYPE __FSID_T_TYPE __fsid_t; /* Type of file system IDs. */
^
Please submit a full bug report,
with preprocessed source if appropriate.
See https://gcc.gnu.org/bugs/ for instructions.
If header files are omitted, the program is compiled with some warnings. How to resolve this problem?
The text was updated successfully, but these errors were encountered: