Issue 123689
Summary rtsan/rtsan_interceptors_posix.cpp?l=930:18: error: conflicting types for 'recvmmsg'
Labels
Assignees
Reporter appujee
    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.
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to