[ 0:00] % divine cc -o testcase.bc -c /home/xrockai/src/divine/nightly/test/pthread/pts-int/pthread_attr_setdetachstate/pts-1-1.c [ 0:00] compiling /home/xrockai/src/divine/nightly/test/pthread/pts-int/pthread_attr_setdetachstate/pts-1-1.c [ 0:00] % 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:03] /usr/bin/ld: /tmp/native-2-90cf34.o: in function `__execute_main(int, int, char**, char**)': [ 0:03] pts-1-1.c:(.text+0x1179f): undefined reference to `__dios_tainted_init' [ 0:03] /usr/bin/ld: /tmp/native-2-90cf34.o: in function `__dios_start': [ 0:03] pts-1-1.c:(.text+0x118f1): undefined reference to `__dios_tainted_init' [ 0:03] /usr/bin/ld: /tmp/native-2-90cf34.o: in function `__dios_start_synchronous': [ 0:03] pts-1-1.c:(.text+0x11a45): undefined reference to `__dios_tainted_init' [ 0:03] clang-7: error: linker command failed with exit code 1 (use -v to see invocation)