Open ni4 opened 3 years ago
Strange since ffi_pass_callback_file
is defined correctly:
static bool
ffi_pass_callback_file(rnp_ffi_t ffi,
void * app_ctx,
rnp_key_handle_t key,
const char * pgp_context,
char buf[],
size_t buf_len)
This could be false positive, as the issue with stdout_writer, see PR #1709. Possible solution:
#if defined(__clang__)
__attribute__((no_sanitize("undefined")))
#endif
It seems like a trait of outdated Clang shipped with CentOS 7.
In PR 1792, CI checks on centos-based systems with "mode sanitize" and clang:
So I'd suggest to disregard the combination centos7 + clang + sanitize.
@andrey-utkin I think it would be the right time to drop CentOS 7, especially since CentOS 8 has already been discontinued. Maybe make the next release the last release for CentOS 7?
@ronaldtse CentOS 7 has EOL 2024, while 8 had end of 2021, is it okay to drop 2-year support timeline? Also, then should not we add support for CentOS stream 9 instead?
@ni4 whoa, I did not realise that CentOS 8 was EOLed before CentOS 7. In this case we should keep CentOS 7... And yes we should support the CentOS Stream version. I think deprecating CentOS 8 and adding support for CentOS 9 can be independent steps.
Oh, I forgot - we already use CentOS 8 Stream images in CI, but those are unofficial (there are no official on the Docker hub, they use Quay). Will file an issue for CentOS 9 Stream.
Description
Following error appears on centos sanitize build: