Re: fatal error: stdint.h: No such file or directory

1,075 views
Skip to first unread message

Jonathan Balkind

unread,
Sep 12, 2022, 2:17:09 PM9/12/22
to OpenPiton Discussion
Hi Abdul Muheet,

I imagine you've probably resolved this by now. In general the toolchain business can be a bit messy so it depends how you got your riscv toolchain. If it's via Ariane, I'd say check on the Ariane side because it's not infrastructure we're directly providing. You could try the Sifive prebuilt toolchains (e.g. https://github.com/sifive/freedom-tools/releases/tag/v2020.12.0) which we've found to work reasonably well. You could also try building with toolchain and riscv-tests versions that are newer than what are pointed to by our somewhat outdated version of ariane (to be updated very soon).

One of my students specifically had luck with this combination:
SiFive toolchain: riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14
Tests revision: eeacd5507db7a0f50ca8c4f27aff220fcbb60bdf

Thanks,
Jon

On Mon, 22 Aug 2022 at 12:57, abdul muheet ghani <agh...@students.uit.edu> wrote:
Hi Jon

I'm Abdul Muheet. I'm using openpiton for my final year project. I have facing an issue with arian_build.sh.
In file included from /home/openpiton/piton/design/chip/tile/ariane/tmp/riscv-tests/build/../benchmarks/common/util.h:41,
from /home/openpiton/piton/design/chip/tile/ariane/tmp/riscv-tests/build/../benchmarks/median/median_main.c:12: /usr/lib/gcc/riscv64-unknown-elf/9.3.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory 9 | # include_next <stdint.h>

riscv-gcc toolchain seems to be running fine.

--
You received this message because you are subscribed to the Google Groups "OpenPiton Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpiton+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openpiton/bd204cd6-b1cb-40e0-9d5c-d4e4d0334cf6n%40googlegroups.com.

abdul muheet ghani

unread,
Sep 13, 2022, 2:17:09 AM9/13/22
to Jonathan Balkind, OpenPiton Discussion
Thank you soo much for your reply. This issue is resolved and simulate 2 tile with openpiton successfully.

Regards.

Reply all
Reply to author
Forward
0 new messages