-
Notifications
You must be signed in to change notification settings - Fork 274
CBMC does not build with clang on ubuntu 22.04 #7366
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
Labels
Comments
After a bit of investigation it seems that the script On Mac the compilation with |
We should probably |
To be fixed as part of #7496. |
tautschnig
added a commit
to tautschnig/cbmc
that referenced
this issue
Jan 23, 2023
We separately define __isoc99_fscanf. Fixes: diffblue#7366
tautschnig
added a commit
to tautschnig/cbmc
that referenced
this issue
Jan 23, 2023
glibc headers define C99 variants via asm renaming. Library checks (rightly) failed when using clang 14, reporting duplicate definitions. Fixes: diffblue#7366
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Building CBMC with
clang
onubuntu 22.04
fails.The issue is that during the compilation of target
library-check.stamp
at stepChecking /root/cbmc/src/ansi-c/library/stdio.c
there is an error:The issue happens with
clang-11
,clang-12
andclang-13
.The build using
gcc
instead works.CBMC version: commit d932d6f
Operating system: Ubuntu 22.04
Exact command line resulting in the issue:
make
What behaviour did you expect: A correct build
What happened instead: Error during build
The text was updated successfully, but these errors were encountered: