[Bug sanitizer/92247] ‘__NR_open’ was not declared in this scope libsanitizer/sanitizer_common/sanitizer_linux compilation failed on ubuntu 18.04 WSL2

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 28 18:31:00 GMT 2019


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.


More information about the Gcc-bugs mailing list