Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vcs compile error #3649

Open
dimory opened this issue Jun 21, 2024 · 0 comments
Open

vcs compile error #3649

dimory opened this issue Jun 21, 2024 · 0 comments

Comments

@dimory
Copy link

dimory commented Jun 21, 2024

when i compiler with vcs, some error occur.
Generating code for _VCSgd_YP0eM
Generating code for _VCSgd_KrGDi
make[1]: Entering directory '/yzy/project/chipyard/sims/vcs/generated-src/chipyard.harness.TestHarness.RocketConfig/chipyard.harness.TestHarness.RocketConfig'
In file included from /yzy/project/chipyard/.conda-env/x86_64-conda-linux-gnu/sysroot/usr/include/features.h:375,
from /yzy/project/chipyard/.conda-env/x86_64-conda-linux-gnu/sysroot/usr/include/stdio.h:27,
from rmapats.c:2:
/usr/include/x86_64-linux-gnu/sys/cdefs.h:153:55: error: missing binary operator before token "("
153 | #if __USE_FORTIFY_LEVEL == 3 && (__glibc_clang_prereq (9, 0)
| ^
In file included from /yzy/project/chipyard/.conda-env/x86_64-conda-linux-gnu/sysroot/usr/include/features.h:375,
from /yzy/project/chipyard/.conda-env/x86_64-conda-linux-gnu/sysroot/usr/include/stdio.h:27,
from rmapats.c:2:
/usr/include/x86_64-linux-gnu/sys/cdefs.h:652:49: error: missing binary operator before token "("
652 | #if __GNUC_PREREQ (4,8) || __glibc_clang_prereq (3,5)
| ^
In file included from rmapats.c:2:
image
with :
make run-binary BINARY=$RISCV/riscv64-unknown-elf/share/riscv-tests/isa/rv64ui-p-simple
the version of vcs is 2018.9 in ubuntu24.04.
can someone help me fix this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant