https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92247
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- SANITIZER_USES_CANONICAL_LINUX_SYSCALLS is not defined yet but I think Linux upstream removed the define for __NR_open as it is a legacy system call only there for backwards compability for old binaries.