Closed vt-alt closed 1 month ago
With #8366 applied, I still get following errors on aarch64
Fedora Rawhide and CBMC 6.0.1:
Checking /builddir/build/BUILD/cbmc-6.0.1-build/cbmc-cbmc-6.0.1/src/ansi-c/library/stdio.c
__libcheck.c: In function ‘vsnprintf’:
__libcheck.c:1782:65: error: incompatible type for argument 1 of ‘__CPROVER_POINTER_OBJECT’
1782 | __CPROVER_POINTER_OBJECT(str) != __CPROVER_POINTER_OBJECT(ap),
| ^~
| |
| va_list
In file included from ./library/cprover.h:75,
from <command-line>:
./library/../cprover_builtin_headers.h:57:43: note: expected ‘const void *’ but argument is of type ‘va_list’
57 | __CPROVER_size_t __CPROVER_POINTER_OBJECT(const void *);
| ^~~~~~~~~~~~
__libcheck.c: In function ‘s__builtin___vsnprintf_chk’:
__libcheck.c:1830:65: error: incompatible type for argument 1 of ‘__CPROVER_POINTER_OBJECT’
1830 | __CPROVER_POINTER_OBJECT(str) != __CPROVER_POINTER_OBJECT(ap),
| ^~
| |
| va_list
./library/../cprover_builtin_headers.h:57:43: note: expected ‘const void *’ but argument is of type ‘va_list’
57 | __CPROVER_size_t __CPROVER_POINTER_OBJECT(const void *);
| ^~~~~~~~~~~~
At top level:
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-gnu-line-marker’ may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option ‘-Wno-dollar-in-identifier-extension’ may have been intended to silence earlier diagnostics
rm: cannot remove '__libcheck.s': No such file or directory
CBMC version: 6.0.1 Operating system: ALT Linux Exact command line resulting in the issue:
cmake --build aarch64-alt-linux --verbose --parallel 24
What behaviour did you expect: success What happened instead:Build failure on aarch64:
Noting that there was similar issue in 2023: https://github.com/diffblue/cbmc/issues/7862