-
Notifications
You must be signed in to change notification settings - Fork 284
Closed
Description
Building CBMC with clang on ubuntu 22.04 fails.
The issue is that during the compilation of target library-check.stamp at step Checking /root/cbmc/src/ansi-c/library/stdio.c there is an error:
__libcheck.c:859:5: error: definition with same mangled name '__isoc99_fscanf' as another definition
int __isoc99_fscanf
The issue happens with clang-11, clang-12 and clang-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