too long lines were shrinked: /bin/sh ../libtool --tag=CXX --mode=compile clang++ -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror= libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror= /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -O2 -pipe -march=native -fno-diagnostics-color -fPIC -c -o MD5.lo MD5.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -O2 -pipe -march=native -fno-diagnostics-color -fPIC -c MD5.c -fPIC -DPIC -o .libs/MD5.o libtool: compile: clang++ -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror= libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -O2 -pipe -march=native -fno-diagnostics-color -fPIC -c MD5.c -o MD5.o Loop.cpp:4224:34: error: invalid operands to binary expression ('__bind<int &, sockaddr *&, unsigned int &>' and 'int') 4224 | if (bind(newFD, addr, addrlen) == -1) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_llvm-20240418-200202 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 18.1.4+libcxx Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/18/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/18 18.1.4+libcxx Python 3.11.9 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.77.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21] 3) Eclipse Temurin JDK 8.402_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 [3] openjdk-bin-21 system-vm php cli (if any): go version go1.22.2 linux/amd64 HEAD of ::gentoo commit 44c2ce3cf09f7950abbb8ab5f7f01cb08ff86d0a Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Apr 21 23:49:13 2024 +0000 2024-04-21 23:49:13 UTC emerge -qpvO net-misc/nx [ebuild N ] net-misc/nx-3.5.99.27
Created attachment 891333 [details] emerge-info.txt
Created attachment 891334 [details] emerge-history.txt
Created attachment 891335 [details] environment
Created attachment 891336 [details] etc.clang.tar.xz
Created attachment 891337 [details] etc.portage.tar.xz
Created attachment 891338 [details] logs.tar.xz
Created attachment 891339 [details] net-misc:nx-3.5.99.27:20240422-001052.log.xz
Created attachment 891340 [details] qlist-info.txt.xz
Created attachment 891341 [details] temp.tar.xz
I can not reproduce with clang and standard C++ lib, this does look like: https://stackoverflow.com/a/65102270 In that case a simple fix would be to use ::bind()