<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/123689>123689</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            rtsan/rtsan_interceptors_posix.cpp?l=930:18: error: conflicting types for 'recvmmsg'
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          appujee
      </td>
    </tr>
</table>

<pre>
    Top of the trunk failed with compiler error:

```
FAILED: compiler-rt/lib/rtsan/CMakeFiles/RTRtsan.x86_64.dir/rtsan_interceptors_posix.cpp.o 
/tmpfs/src/git/out/stage1/./bin/clang++ --target=x86_64-unknown-linux-gnu --sysroot=/tmpfs/src/git/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/tmpfs/src/git/out/llvm-project/compiler-rt/lib/rtsan/.. -ffile-prefix-map=/tmpfs/src/git/= -B/tmpfs/src/git/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/x86_64-linux/bin -D_LIBCPP_AVAILABILITY_HAS_NO_VERBOSE_ABORT=1  -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -O3 -DNDEBUG -fPIC -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -O3 -gline-tables-only -stdlib=libc++ -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -std=c++17 -MD -MT compiler-rt/lib/rtsan/CMakeFiles/RTRtsan.x86_64.dir/rtsan_interceptors_posix.cpp.o -MF compiler-rt/lib/rtsan/CMakeFiles/RTRtsan.x86_64.dir/rtsan_interceptors_posix.cpp.o.d -o compiler-rt/lib/rtsan/CMakeFiles/RTRtsan.x86_64.dir/rtsan_interceptors_posix.cpp.o -c /tmpfs/src/git/out/llvm-project/compiler-rt/lib/rtsan/rtsan_interceptors_posix.cpp
/[tmpfs/src/git/out/llvm-project/compiler-rt/lib/rtsan/rtsan_interceptors_posix.cpp:930](https://cs.corp.google.com/piper///depot/google3/tmpfs/src/git/out/llvm-project/compiler-rt/lib/rtsan/rtsan_interceptors_posix.cpp?l=930):18: error: conflicting types for 'recvmmsg'
  930 | INTERCEPTOR(int, recvmmsg, int socket, struct mmsghdr *message,
      | ^
/[tmpfs/src/git/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/socket.h:211](https://cs.corp.google.com/piper///depot/google3/tmpfs/src/git/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/socket.h?l=211):12: note: previous declaration is here
  211 | extern int recvmmsg (int __fd, struct mmsghdr *__vmessages,
      |            ^
1 error generated.
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzEVt9vo7oS_mucF8somObXQx5ICPciNUmVZre69wUZMxBvjc21TZruX39lSLfds7uVztH2HIRA2DPf55n5PIZZK2oFsESTFZokI9a5kzZL1rbdF4BRocvn5VG3WFfYnQA706lHXDEhocRPwp0w100rJBgMxmiDohiN-3s6vt7jOI2z202CovibMTEO0VSKAtHUOMsUoul6yx4hFRIsounhePDDwWU-zac3QSnMi2UulAPDoXXa2LzVVlwC3raBxp6Vpq5pK49gDUc0rYUn0p1_WsdqCBFNA0TTQnhOLpmqEV0husKEOGZqcChKBlbSqUelnxSRQnUXUqs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