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

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Ammar Faizi from comment #1)
> This breaks raw syscall wrappers (such as those in liburing, nolibc, and
> custom implementations) whenever a syscall buffer is a thread-local object.
> Syscall arguments 4, 5, and 6 (%r10, %r8, %r9) are silently corrupted.

You can use -mtls-dialect=gnu2 as a workaround for now.

Reply via email to