[libc-commits] [libc] [llvm] [libc] Add functions to send/recv messages (PR #106467)
LLVM Continuous Integration via libc-commits
libc-commits at lists.llvm.org
Thu Sep 19 14:46:12 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-x86_64-debian-fullbuild-dbg-asan` running on `libc-x86_64-debian-fullbuild` while building `libc,utils` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/171/builds/6708
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[372/539] Building CXX object projects/libc/src/sys/mman/linux/CMakeFiles/libc.src.sys.mman.linux.munlock.dir/munlock.cpp.o
[373/539] Building CXX object projects/libc/src/sys/mman/linux/CMakeFiles/libc.src.sys.mman.linux.mlockall.dir/mlockall.cpp.o
[374/539] Building CXX object projects/libc/src/pthread/CMakeFiles/libc.src.pthread.pthread_rwlock_unlock.dir/pthread_rwlock_unlock.cpp.o
[375/539] Building CXX object projects/libc/src/sys/resource/linux/CMakeFiles/libc.src.sys.resource.linux.getrlimit.dir/getrlimit.cpp.o
[376/539] Building CXX object projects/libc/src/sys/mman/linux/CMakeFiles/libc.src.sys.mman.linux.msync.dir/msync.cpp.o
[377/539] Building CXX object projects/libc/src/sys/resource/linux/CMakeFiles/libc.src.sys.resource.linux.setrlimit.dir/setrlimit.cpp.o
[378/539] Building CXX object projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.socket.dir/socket.cpp.o
[379/539] Building CXX object projects/libc/src/sys/random/linux/CMakeFiles/libc.src.sys.random.linux.getrandom.dir/getrandom.cpp.o
[380/539] Building CXX object projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.socketpair.dir/socketpair.cpp.o
[381/539] Building CXX object projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.sendto.dir/sendto.cpp.o
FAILED: projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.sendto.dir/sendto.cpp.o
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/src/sys/socket/linux -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/sys/socket/linux -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -O1 -fsanitize=address -fdiagnostics-color -g -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_ADD_NULL_CHECKS -fpie -ffreestanding -DLIBC_FULL_BUILD -nostdlibinc -idirafter/usr/include -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.sendto.dir/sendto.cpp.o -MF projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.sendto.dir/sendto.cpp.o.d -o projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.sendto.dir/sendto.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/sys/socket/linux/sendto.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/sys/socket/linux/sendto.cpp:9:
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/sys/socket/sendto.h:14:
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/hdr/types/struct_sockaddr.h:13:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/include/llvm-libc-types/struct_sockaddr.h:18:8: error: flexible array members are a C99 feature [-Werror,-Wc99-extensions]
char sa_data[];
^
1 error generated.
[382/539] Building CXX object projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.recvfrom.dir/recvfrom.cpp.o
FAILED: projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.recvfrom.dir/recvfrom.cpp.o
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/src/sys/socket/linux -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/sys/socket/linux -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -O1 -fsanitize=address -fdiagnostics-color -g -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_ADD_NULL_CHECKS -fpie -ffreestanding -DLIBC_FULL_BUILD -nostdlibinc -idirafter/usr/include -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.recvfrom.dir/recvfrom.cpp.o -MF projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.recvfrom.dir/recvfrom.cpp.o.d -o projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.recvfrom.dir/recvfrom.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/sys/socket/linux/recvfrom.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/sys/socket/linux/recvfrom.cpp:9:
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/sys/socket/recvfrom.h:14:
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/hdr/types/struct_sockaddr.h:13:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/include/llvm-libc-types/struct_sockaddr.h:18:8: error: flexible array members are a C99 feature [-Werror,-Wc99-extensions]
char sa_data[];
^
1 error generated.
[383/539] Building CXX object projects/libc/src/sys/select/linux/CMakeFiles/libc.src.sys.select.linux.select.dir/select.cpp.o
[384/539] Building CXX object projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.sendmsg.dir/sendmsg.cpp.o
[385/539] Building CXX object projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.send.dir/send.cpp.o
[386/539] Building CXX object projects/libc/src/sys/sendfile/linux/CMakeFiles/libc.src.sys.sendfile.linux.sendfile.dir/sendfile.cpp.o
[387/539] Building CXX object projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.recv.dir/recv.cpp.o
[388/539] Building CXX object projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.recvmsg.dir/recvmsg.cpp.o
[389/539] Building CXX object projects/libc/src/sys/stat/linux/CMakeFiles/libc.src.sys.stat.linux.fchmod.dir/fchmod.cpp.o
[390/539] Building CXX object projects/libc/src/sys/stat/linux/CMakeFiles/libc.src.sys.stat.linux.chmod.dir/chmod.cpp.o
[391/539] Building CXX object projects/libc/src/sys/stat/linux/CMakeFiles/libc.src.sys.stat.linux.fchmodat.dir/fchmodat.cpp.o
[392/539] Building CXX object projects/libc/src/sys/stat/linux/CMakeFiles/libc.src.sys.stat.linux.mkdir.dir/mkdir.cpp.o
[393/539] Building CXX object projects/libc/src/sys/utsname/linux/CMakeFiles/libc.src.sys.utsname.linux.uname.dir/uname.cpp.o
[394/539] Building CXX object projects/libc/src/pthread/CMakeFiles/libc.src.pthread.pthread_rwlock_rdlock.dir/pthread_rwlock_rdlock.cpp.o
[395/539] Building CXX object projects/libc/src/sys/stat/linux/CMakeFiles/libc.src.sys.stat.linux.mkdirat.dir/mkdirat.cpp.o
[396/539] Building CXX object projects/libc/src/sys/stat/linux/CMakeFiles/libc.src.sys.stat.linux.stat.dir/stat.cpp.o
[397/539] Building CXX object projects/libc/src/pthread/CMakeFiles/libc.src.pthread.pthread_rwlock_wrlock.dir/pthread_rwlock_wrlock.cpp.o
[398/539] Building CXX object projects/libc/src/sys/stat/linux/CMakeFiles/libc.src.sys.stat.linux.lstat.dir/lstat.cpp.o
[399/539] Building CXX object projects/libc/src/sys/stat/linux/CMakeFiles/libc.src.sys.stat.linux.fstat.dir/fstat.cpp.o
[400/539] Building CXX object projects/libc/src/pthread/CMakeFiles/libc.src.pthread.pthread_rwlock_timedwrlock.dir/pthread_rwlock_timedwrlock.cpp.o
[401/539] Building CXX object projects/libc/src/pthread/CMakeFiles/libc.src.pthread.pthread_rwlock_timedrdlock.dir/pthread_rwlock_timedrdlock.cpp.o
[402/539] Building CXX object projects/libc/src/pthread/CMakeFiles/libc.src.pthread.pthread_rwlock_clockwrlock.dir/pthread_rwlock_clockwrlock.cpp.o
Step 6 (build libc) failure: build libc (failure)
...
[372/539] Building CXX object projects/libc/src/sys/mman/linux/CMakeFiles/libc.src.sys.mman.linux.munlock.dir/munlock.cpp.o
[373/539] Building CXX object projects/libc/src/sys/mman/linux/CMakeFiles/libc.src.sys.mman.linux.mlockall.dir/mlockall.cpp.o
[374/539] Building CXX object projects/libc/src/pthread/CMakeFiles/libc.src.pthread.pthread_rwlock_unlock.dir/pthread_rwlock_unlock.cpp.o
[375/539] Building CXX object projects/libc/src/sys/resource/linux/CMakeFiles/libc.src.sys.resource.linux.getrlimit.dir/getrlimit.cpp.o
[376/539] Building CXX object projects/libc/src/sys/mman/linux/CMakeFiles/libc.src.sys.mman.linux.msync.dir/msync.cpp.o
[377/539] Building CXX object projects/libc/src/sys/resource/linux/CMakeFiles/libc.src.sys.resource.linux.setrlimit.dir/setrlimit.cpp.o
[378/539] Building CXX object projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.socket.dir/socket.cpp.o
[379/539] Building CXX object projects/libc/src/sys/random/linux/CMakeFiles/libc.src.sys.random.linux.getrandom.dir/getrandom.cpp.o
[380/539] Building CXX object projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.socketpair.dir/socketpair.cpp.o
[381/539] Building CXX object projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.sendto.dir/sendto.cpp.o
FAILED: projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.sendto.dir/sendto.cpp.o
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/src/sys/socket/linux -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/sys/socket/linux -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -O1 -fsanitize=address -fdiagnostics-color -g -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_ADD_NULL_CHECKS -fpie -ffreestanding -DLIBC_FULL_BUILD -nostdlibinc -idirafter/usr/include -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.sendto.dir/sendto.cpp.o -MF projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.sendto.dir/sendto.cpp.o.d -o projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.sendto.dir/sendto.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/sys/socket/linux/sendto.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/sys/socket/linux/sendto.cpp:9:
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/sys/socket/sendto.h:14:
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/hdr/types/struct_sockaddr.h:13:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/include/llvm-libc-types/struct_sockaddr.h:18:8: error: flexible array members are a C99 feature [-Werror,-Wc99-extensions]
char sa_data[];
^
1 error generated.
[382/539] Building CXX object projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.recvfrom.dir/recvfrom.cpp.o
FAILED: projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.recvfrom.dir/recvfrom.cpp.o
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/src/sys/socket/linux -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/sys/socket/linux -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -O1 -fsanitize=address -fdiagnostics-color -g -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_ADD_NULL_CHECKS -fpie -ffreestanding -DLIBC_FULL_BUILD -nostdlibinc -idirafter/usr/include -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.recvfrom.dir/recvfrom.cpp.o -MF projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.recvfrom.dir/recvfrom.cpp.o.d -o projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.recvfrom.dir/recvfrom.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/sys/socket/linux/recvfrom.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/sys/socket/linux/recvfrom.cpp:9:
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/sys/socket/recvfrom.h:14:
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/hdr/types/struct_sockaddr.h:13:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/include/llvm-libc-types/struct_sockaddr.h:18:8: error: flexible array members are a C99 feature [-Werror,-Wc99-extensions]
char sa_data[];
^
1 error generated.
[383/539] Building CXX object projects/libc/src/sys/select/linux/CMakeFiles/libc.src.sys.select.linux.select.dir/select.cpp.o
[384/539] Building CXX object projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.sendmsg.dir/sendmsg.cpp.o
[385/539] Building CXX object projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.send.dir/send.cpp.o
[386/539] Building CXX object projects/libc/src/sys/sendfile/linux/CMakeFiles/libc.src.sys.sendfile.linux.sendfile.dir/sendfile.cpp.o
[387/539] Building CXX object projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.recv.dir/recv.cpp.o
[388/539] Building CXX object projects/libc/src/sys/socket/linux/CMakeFiles/libc.src.sys.socket.linux.recvmsg.dir/recvmsg.cpp.o
[389/539] Building CXX object projects/libc/src/sys/stat/linux/CMakeFiles/libc.src.sys.stat.linux.fchmod.dir/fchmod.cpp.o
[390/539] Building CXX object projects/libc/src/sys/stat/linux/CMakeFiles/libc.src.sys.stat.linux.chmod.dir/chmod.cpp.o
[391/539] Building CXX object projects/libc/src/sys/stat/linux/CMakeFiles/libc.src.sys.stat.linux.fchmodat.dir/fchmodat.cpp.o
[392/539] Building CXX object projects/libc/src/sys/stat/linux/CMakeFiles/libc.src.sys.stat.linux.mkdir.dir/mkdir.cpp.o
[393/539] Building CXX object projects/libc/src/sys/utsname/linux/CMakeFiles/libc.src.sys.utsname.linux.uname.dir/uname.cpp.o
[394/539] Building CXX object projects/libc/src/pthread/CMakeFiles/libc.src.pthread.pthread_rwlock_rdlock.dir/pthread_rwlock_rdlock.cpp.o
[395/539] Building CXX object projects/libc/src/sys/stat/linux/CMakeFiles/libc.src.sys.stat.linux.mkdirat.dir/mkdirat.cpp.o
[396/539] Building CXX object projects/libc/src/sys/stat/linux/CMakeFiles/libc.src.sys.stat.linux.stat.dir/stat.cpp.o
[397/539] Building CXX object projects/libc/src/pthread/CMakeFiles/libc.src.pthread.pthread_rwlock_wrlock.dir/pthread_rwlock_wrlock.cpp.o
[398/539] Building CXX object projects/libc/src/sys/stat/linux/CMakeFiles/libc.src.sys.stat.linux.lstat.dir/lstat.cpp.o
[399/539] Building CXX object projects/libc/src/sys/stat/linux/CMakeFiles/libc.src.sys.stat.linux.fstat.dir/fstat.cpp.o
[400/539] Building CXX object projects/libc/src/pthread/CMakeFiles/libc.src.pthread.pthread_rwlock_timedwrlock.dir/pthread_rwlock_timedwrlock.cpp.o
[401/539] Building CXX object projects/libc/src/pthread/CMakeFiles/libc.src.pthread.pthread_rwlock_timedrdlock.dir/pthread_rwlock_timedrdlock.cpp.o
[402/539] Building CXX object projects/libc/src/pthread/CMakeFiles/libc.src.pthread.pthread_rwlock_clockwrlock.dir/pthread_rwlock_clockwrlock.cpp.o
```
</details>
https://github.com/llvm/llvm-project/pull/106467
More information about the libc-commits
mailing list