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

euloanty at live dot com gcc-bugzilla@gcc.gnu.org
Tue Oct 29 18:41:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92247

--- Comment #6 from fdlbxtqi <euloanty at live dot com> ---
I have examined the source code of the unistd.h in Microsoft WSL2. The same
thing, these syscalls were removed as well.

https://github.com/microsoft/WSL2-Linux-Kernel/blob/7fec2bd4a7fd7a952e3e5ea2202bef963aa4781d/include/uapi/asm-generic/unistd.h


More information about the Gcc-bugs mailing list