[ 0:01] % divine cc -o testcase.bc -c /home/xrockai/src/divine/nightly/test/posix/sock/01.valid.c [ 0:01] compiling /home/xrockai/src/divine/nightly/test/posix/sock/01.valid.c [ 0:01] /home/xrockai/src/divine/nightly/test/posix/sock/01.valid.c:25:23: warning: incompatible pointer types passing 'struct sockaddr_un *' to parameter of type 'const struct sockaddr *' [ 0:01] r = bind( server, &Saddr, len ); [ 0:01] ^~~~~~ [ 0:01] /dios/include/sys/socket.h:301:53: note: passing argument to parameter 'addr' here [ 0:01] __noinline int bind( int fd, const struct sockaddr *addr, socklen_t len ) __nothrow; [ 0:01] ^ [ 0:01] /home/xrockai/src/divine/nightly/test/posix/sock/01.valid.c:31:26: warning: incompatible pointer types passing 'struct sockaddr_un *' to parameter of type 'const struct sockaddr *' [ 0:01] r = connect( client, &Saddr, len ); [ 0:01] ^~~~~~ [ 0:01] /dios/include/sys/socket.h:308:56: note: passing argument to parameter 'addr' here [ 0:01] __noinline int connect( int fd, const struct sockaddr *addr, socklen_t len ) __nothrow; [ 0:01] ^ [ 0:01] /home/xrockai/src/divine/nightly/test/posix/sock/01.valid.c:34:32: warning: incompatible pointer types passing 'struct sockaddr_un *' to parameter of type 'struct sockaddr *' [ 0:01] int Send = accept( server, &Caddr, &len ); [ 0:01] ^~~~~~ [ 0:01] /dios/include/sys/socket.h:380:50: note: passing argument to parameter 'addr' here [ 0:01] __noinline int accept( int fd, struct sockaddr * addr, socklen_t * addr_len ) __nothrow; [ 0:01] ^ [ 0:01] 3 warnings generated. [ 0:01] % native-link testcase.bc [ 0:01] setting up pass: fuse-ctors, options = [ 0:01] setting up pass: lowering, options = [ 0:01] setting up pass: recurse-annotations, options = [ 0:01] setting up pass: interrupt-mem, options = __dios_reschedule [ 0:01] setting up pass: interrupt-cfl, options = __dios_suspend [ 0:01] compiling native-0.bc [ 0:01] compiling /dios/lib/config/native.bc [ 0:01] warning: overriding the module target triple with x86_64-unknown-linux-gnu [-Woverride-module] [ 0:02] 1 warning generated. [ 0:04] /usr/bin/ld: /tmp/native-2-29bc24.o: in function `__execute_main(int, int, char**, char**)': [ 0:04] /dios/libc/sys/start.cpp:87: undefined reference to `__dios_tainted_init' [ 0:04] /usr/bin/ld: /dios/libc/sys/start.cpp:87: undefined reference to `__dios_tainted_init' [ 0:04] /usr/bin/ld: /dios/libc/sys/start.cpp:87: undefined reference to `__dios_tainted_init' [ 0:04] clang-7: error: linker command failed with exit code 1 (use -v to see invocation)