[shadow@664b59ffffd8 shadow-plugin-bitcoin]$ make -j1 [ 0%] Building LLVM bitcode version.cpp.bc [ 1%] Building LLVM bitcode addrman.cpp.bc [ 1%] Building LLVM bitcode alert.cpp.bc [ 1%] Building LLVM bitcode base58.cpp.bc [ 2%] Building LLVM bitcode allocators.cpp.bc [ 2%] Building LLVM bitcode bloom.cpp.bc [ 2%] Building LLVM bitcode chainparams.cpp.bc [ 3%] Building LLVM bitcode checkpoints.cpp.bc [ 3%] Building LLVM bitcode coins.cpp.bc [ 4%] Building LLVM bitcode core.cpp.bc [ 4%] Building LLVM bitcode crypter.cpp.bc [ 4%] Building LLVM bitcode hash.cpp.bc [ 5%] Building LLVM bitcode init.cpp.bc [ 5%] Building LLVM bitcode key.cpp.bc [ 5%] Building LLVM bitcode keystore.cpp.bc [ 6%] Building LLVM bitcode leveldbwrapper.cpp.bc [ 6%] Building LLVM bitcode main.cpp.bc /home/shadow/shadow/shadow-plugin-bitcoin/build/bitcoin/src/main.cpp:2852:33: warning: cast to 'const uint256 *' from smaller integer type 'int' [-Wint-to-pointer-cast] diskindex.phashBlock = (const uint256*) prevOffset; // Cheat by storing the block number in this pointer ^ 1 warning generated. [ 6%] Building LLVM bitcode miner.cpp.bc [ 7%] Building LLVM bitcode netbase.cpp.bc [ 7%] Building LLVM bitcode net.cpp.bc [ 8%] Building LLVM bitcode noui.cpp.bc [ 8%] Building LLVM bitcode protocol.cpp.bc [ 8%] Building LLVM bitcode rpcblockchain.cpp.bc [ 9%] Building LLVM bitcode rpcclient.cpp.bc [ 9%] Building LLVM bitcode rpcmining.cpp.bc [ 9%] Building LLVM bitcode rpcmisc.cpp.bc [ 10%] Building LLVM bitcode rpcnet.cpp.bc [ 10%] Building LLVM bitcode rpcprotocol.cpp.bc [ 10%] Building LLVM bitcode rpcrawtransaction.cpp.bc [ 11%] Building LLVM bitcode rpcserver.cpp.bc [ 11%] Building LLVM bitcode script.cpp.bc [ 12%] Building LLVM bitcode sync.cpp.bc [ 12%] Building LLVM bitcode txdb.cpp.bc [ 12%] Building LLVM bitcode txmempool.cpp.bc [ 13%] Building LLVM bitcode util.cpp.bc [ 13%] Linking LLVM bitcode shadow-bitcoin-bitcode.bc [ 13%] Built target shadow-bitcoin-bitcode [ 14%] Building LLVM bitcode split.cpp.bc [ 15%] Building LLVM bitcode chrono.cpp.bc [ 15%] Building LLVM bitcode thread_clock.cpp.bc [ 15%] Building LLVM bitcode process_cpu_clocks.cpp.bc [ 16%] Building LLVM bitcode error_code.cpp.bc [ 16%] Building LLVM bitcode thread.cpp.bc [ 17%] Building LLVM bitcode once.cpp.bc [ 17%] Building LLVM bitcode future.cpp.bc [ 17%] Building LLVM bitcode codecvt_error_category.cpp.bc [ 18%] Building LLVM bitcode operations.cpp.bc [ 18%] Building LLVM bitcode path.cpp.bc [ 18%] Building LLVM bitcode path_traits.cpp.bc [ 19%] Building LLVM bitcode portability.cpp.bc [ 19%] Building LLVM bitcode unique_path.cpp.bc [ 19%] Building LLVM bitcode utf8_codecvt_facet.cpp.bc [ 20%] Building LLVM bitcode windows_file_codecvt.cpp.bc [ 20%] Building LLVM bitcode cmdline.cpp.bc [ 21%] Building LLVM bitcode config_file.cpp.bc [ 21%] Building LLVM bitcode options_description.cpp.bc [ 21%] Building LLVM bitcode parsers.cpp.bc [ 22%] Building LLVM bitcode variables_map.cpp.bc [ 22%] Building LLVM bitcode value_semantic.cpp.bc [ 22%] Building LLVM bitcode positional_options.cpp.bc [ 22%] Generating ../../boost_1_50_0/libs/program_options/src/program_options_utf8_codecvt_facet.cpp [ 23%] Building LLVM bitcode program_options_utf8_codecvt_facet.cpp.bc [ 23%] Building LLVM bitcode convert.cpp.bc [ 23%] Building LLVM bitcode winmain.cpp.bc [ 23%] Linking LLVM bitcode shadow-boost-bitcode.bc [ 23%] Built target shadow-boost-bitcode [ 23%] Building LLVM bitcode memenv.cc.bc [ 23%] Building LLVM bitcode c.cc.bc [ 23%] Building LLVM bitcode filename.cc.bc [ 24%] Building LLVM bitcode memtable.cc.bc [ 24%] Building LLVM bitcode table_cache.cc.bc [ 24%] Building LLVM bitcode db_impl.cc.bc [ 25%] Building LLVM bitcode db_iter.cc.bc [ 25%] Building LLVM bitcode repair.cc.bc [ 25%] Building LLVM bitcode builder.cc.bc [ 26%] Building LLVM bitcode write_batch.cc.bc [ 26%] Building LLVM bitcode dbformat.cc.bc [ 27%] Building LLVM bitcode version_edit.cc.bc [ 27%] Building LLVM bitcode log_writer.cc.bc [ 27%] Building LLVM bitcode log_reader.cc.bc [ 28%] Building LLVM bitcode version_set.cc.bc [ 28%] Building LLVM bitcode bloom.cc.bc [ 28%] Building LLVM bitcode hash.cc.bc [ 29%] Building LLVM bitcode arena.cc.bc [ 29%] Building LLVM bitcode env.cc.bc [ 29%] Building LLVM bitcode filter_policy.cc.bc [ 30%] Building LLVM bitcode logging.cc.bc [ 30%] Building LLVM bitcode status.cc.bc [ 31%] Building LLVM bitcode crc32c.cc.bc [ 31%] Building LLVM bitcode env_win.cc.bc [ 31%] Building LLVM bitcode coding.cc.bc [ 32%] Building LLVM bitcode histogram.cc.bc [ 32%] Building LLVM bitcode comparator.cc.bc [ 32%] Building LLVM bitcode env_posix.cc.bc [ 33%] Building LLVM bitcode cache.cc.bc [ 33%] Building LLVM bitcode options.cc.bc [ 33%] Building LLVM bitcode iterator.cc.bc [ 34%] Building LLVM bitcode merger.cc.bc [ 34%] Building LLVM bitcode block.cc.bc [ 35%] Building LLVM bitcode table_builder.cc.bc [ 35%] Building LLVM bitcode filter_block.cc.bc [ 35%] Building LLVM bitcode two_level_iterator.cc.bc [ 36%] Building LLVM bitcode table.cc.bc [ 36%] Building LLVM bitcode block_builder.cc.bc [ 36%] Building LLVM bitcode format.cc.bc [ 37%] Building LLVM bitcode port_posix.cc.bc [ 38%] Linking LLVM bitcode shadow-leveldb-bitcode.bc [ 38%] Built target shadow-leveldb-bitcode [ 38%] Built target LLVMHoistGlobals [ 38%] Generating pth_p.h [ 38%] Built target generate_pth [ 39%] Building LLVM bitcode pthread.c.bc [ 40%] Building LLVM bitcode pth_compat.c.bc [ 40%] Building LLVM bitcode pth_debug.c.bc [ 41%] Building LLVM bitcode pth_syscall.c.bc [ 41%] Building LLVM bitcode pth_errno.c.bc [ 41%] Building LLVM bitcode pth_ring.c.bc [ 42%] Building LLVM bitcode pth_mctx.c.bc [ 42%] Building LLVM bitcode pth_uctx.c.bc [ 42%] Building LLVM bitcode pth_clean.c.bc [ 43%] Building LLVM bitcode pth_time.c.bc [ 43%] Building LLVM bitcode pth_tcb.c.bc [ 43%] Building LLVM bitcode pth_util.c.bc [ 44%] Building LLVM bitcode pth_pqueue.c.bc [ 44%] Building LLVM bitcode pth_event.c.bc [ 45%] Building LLVM bitcode pth_sched.c.bc /home/shadow/shadow/shadow-plugin-bitcoin/build/gnu-pth/pth_sched.c:628:20: warning: implicit declaration of function 'pth_util_select' is invalid in C99 [-Wimplicit-function-declaration] while ((rc = pth_util_select(fdmax+1, &rfds, &wfds, &efds, pdelay)) < 0 ^ 1 warning generated. [ 45%] Building LLVM bitcode pth_data.c.bc [ 45%] Building LLVM bitcode pth_msg.c.bc [ 46%] Building LLVM bitcode pth_cancel.c.bc [ 46%] Building LLVM bitcode pth_sync.c.bc [ 46%] Building LLVM bitcode pth_attr.c.bc [ 47%] Building LLVM bitcode pth_lib.c.bc [ 47%] Building LLVM bitcode pth_fork.c.bc [ 47%] Building LLVM bitcode pth_high.c.bc /home/shadow/shadow/shadow-plugin-bitcoin/build/gnu-pth/pth_high.c:319:23: warning: implicit declaration of function 'pth_util_select' is invalid in C99 [-Wimplicit-function-declaration] while ( pth_util_select(0, NULL, NULL, NULL, timeout) < 0 ^ /home/shadow/shadow/shadow-plugin-bitcoin/build/gnu-pth/pth_high.c:479:13: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (nfd < 0 || nfd > FD_SETSIZE) ~~~ ^ ~ 2 warnings generated. [ 48%] Building LLVM bitcode pth_ext.c.bc [ 48%] Building LLVM bitcode pth_string.c.bc [ 48%] Linking LLVM bitcode shadow-pth-bitcode.bc [ 48%] Built target shadow-pth-bitcode [ 48%] Building LLVM bitcode bitcoind.cpp.bc [ 49%] Building LLVM bitcode bitcoind-plugin.c.bc In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind-plugin.c:5: In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind.h:19: In file included from /usr/include/glib-2.0/glib.h:50: In file included from /usr/include/glib-2.0/glib/ghash.h:33: In file included from /usr/include/glib-2.0/glib/glist.h:32: /usr/include/glib-2.0/glib/gmem.h:76:58: warning: unknown attribute '__alloc_size__' ignored [-Wunknown-attributes] gpointer g_malloc (gsize n_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1); ^ /usr/include/glib-2.0/glib/gmacros.h:67:45: note: expanded from macro 'G_GNUC_ALLOC_SIZE' #define G_GNUC_ALLOC_SIZE(x) __attribute__((__alloc_size__(x))) ^ In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind-plugin.c:5: In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind.h:19: In file included from /usr/include/glib-2.0/glib.h:50: In file included from /usr/include/glib-2.0/glib/ghash.h:33: In file included from /usr/include/glib-2.0/glib/glist.h:32: /usr/include/glib-2.0/glib/gmem.h:78:58: warning: unknown attribute '__alloc_size__' ignored [-Wunknown-attributes] gpointer g_malloc0 (gsize n_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1); ^ /usr/include/glib-2.0/glib/gmacros.h:67:45: note: expanded from macro 'G_GNUC_ALLOC_SIZE' #define G_GNUC_ALLOC_SIZE(x) __attribute__((__alloc_size__(x))) ^ In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind-plugin.c:5: In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind.h:19: In file included from /usr/include/glib-2.0/glib.h:50: In file included from /usr/include/glib-2.0/glib/ghash.h:33: In file included from /usr/include/glib-2.0/glib/glist.h:32: /usr/include/glib-2.0/glib/gmem.h:83:58: warning: unknown attribute '__alloc_size__' ignored [-Wunknown-attributes] gpointer g_try_malloc (gsize n_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1); ^ /usr/include/glib-2.0/glib/gmacros.h:67:45: note: expanded from macro 'G_GNUC_ALLOC_SIZE' #define G_GNUC_ALLOC_SIZE(x) __attribute__((__alloc_size__(x))) ^ In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind-plugin.c:5: In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind.h:19: In file included from /usr/include/glib-2.0/glib.h:50: In file included from /usr/include/glib-2.0/glib/ghash.h:33: In file included from /usr/include/glib-2.0/glib/glist.h:32: /usr/include/glib-2.0/glib/gmem.h:85:58: warning: unknown attribute '__alloc_size__' ignored [-Wunknown-attributes] gpointer g_try_malloc0 (gsize n_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1); ^ /usr/include/glib-2.0/glib/gmacros.h:67:45: note: expanded from macro 'G_GNUC_ALLOC_SIZE' #define G_GNUC_ALLOC_SIZE(x) __attribute__((__alloc_size__(x))) ^ In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind-plugin.c:5: In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind.h:19: In file included from /usr/include/glib-2.0/glib.h:50: In file included from /usr/include/glib-2.0/glib/ghash.h:33: In file included from /usr/include/glib-2.0/glib/glist.h:32: /usr/include/glib-2.0/glib/gmem.h:92:43: warning: unknown attribute '__alloc_size__' ignored [-Wunknown-attributes] gsize n_block_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE2(1,2); ^ /usr/include/glib-2.0/glib/gmacros.h:68:48: note: expanded from macro 'G_GNUC_ALLOC_SIZE2' #define G_GNUC_ALLOC_SIZE2(x,y) __attribute__((__alloc_size__(x,y))) ^ In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind-plugin.c:5: In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind.h:19: In file included from /usr/include/glib-2.0/glib.h:50: In file included from /usr/include/glib-2.0/glib/ghash.h:33: In file included from /usr/include/glib-2.0/glib/glist.h:32: /usr/include/glib-2.0/glib/gmem.h:95:43: warning: unknown attribute '__alloc_size__' ignored [-Wunknown-attributes] gsize n_block_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE2(1,2); ^ /usr/include/glib-2.0/glib/gmacros.h:68:48: note: expanded from macro 'G_GNUC_ALLOC_SIZE2' #define G_GNUC_ALLOC_SIZE2(x,y) __attribute__((__alloc_size__(x,y))) ^ In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind-plugin.c:5: In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind.h:19: In file included from /usr/include/glib-2.0/glib.h:50: In file included from /usr/include/glib-2.0/glib/ghash.h:33: In file included from /usr/include/glib-2.0/glib/glist.h:32: /usr/include/glib-2.0/glib/gmem.h:102:43: warning: unknown attribute '__alloc_size__' ignored [-Wunknown-attributes] gsize n_block_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE2(1,2); ^ /usr/include/glib-2.0/glib/gmacros.h:68:48: note: expanded from macro 'G_GNUC_ALLOC_SIZE2' #define G_GNUC_ALLOC_SIZE2(x,y) __attribute__((__alloc_size__(x,y))) ^ In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind-plugin.c:5: In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind.h:19: In file included from /usr/include/glib-2.0/glib.h:50: In file included from /usr/include/glib-2.0/glib/ghash.h:33: In file included from /usr/include/glib-2.0/glib/glist.h:32: /usr/include/glib-2.0/glib/gmem.h:105:43: warning: unknown attribute '__alloc_size__' ignored [-Wunknown-attributes] gsize n_block_bytes) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE2(1,2); ^ /usr/include/glib-2.0/glib/gmacros.h:68:48: note: expanded from macro 'G_GNUC_ALLOC_SIZE2' #define G_GNUC_ALLOC_SIZE2(x,y) __attribute__((__alloc_size__(x,y))) ^ In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind-plugin.c:5: In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind.h:19: In file included from /usr/include/glib-2.0/glib.h:76: /usr/include/glib-2.0/glib/gslice.h:32:74: warning: unknown attribute '__alloc_size__' ignored [-Wunknown-attributes] gpointer g_slice_alloc (gsize block_size) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1); ^ /usr/include/glib-2.0/glib/gmacros.h:67:45: note: expanded from macro 'G_GNUC_ALLOC_SIZE' #define G_GNUC_ALLOC_SIZE(x) __attribute__((__alloc_size__(x))) ^ In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind-plugin.c:5: In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind.h:19: In file included from /usr/include/glib-2.0/glib.h:76: /usr/include/glib-2.0/glib/gslice.h:34:75: warning: unknown attribute '__alloc_size__' ignored [-Wunknown-attributes] gpointer g_slice_alloc0 (gsize block_size) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1); ^ /usr/include/glib-2.0/glib/gmacros.h:67:45: note: expanded from macro 'G_GNUC_ALLOC_SIZE' #define G_GNUC_ALLOC_SIZE(x) __attribute__((__alloc_size__(x))) ^ In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind-plugin.c:5: In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind.h:19: In file included from /usr/include/glib-2.0/glib.h:76: /usr/include/glib-2.0/glib/gslice.h:37:81: warning: unknown attribute '__alloc_size__' ignored [-Wunknown-attributes] gconstpointer mem_block) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(1); ^ /usr/include/glib-2.0/glib/gmacros.h:67:45: note: expanded from macro 'G_GNUC_ALLOC_SIZE' #define G_GNUC_ALLOC_SIZE(x) __attribute__((__alloc_size__(x))) ^ In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind-plugin.c:5: In file included from /home/shadow/shadow/shadow-plugin-bitcoin/src/bitcoind/bitcoind.h:19: In file included from /usr/include/glib-2.0/glib.h:79: /usr/include/glib-2.0/glib/gstrfuncs.h:257:44: warning: unknown attribute '__alloc_size__' ignored [-Wunknown-attributes] guint byte_size) G_GNUC_MALLOC G_GNUC_ALLOC_SIZE(2); ^ /usr/include/glib-2.0/glib/gmacros.h:67:45: note: expanded from macro 'G_GNUC_ALLOC_SIZE' #define G_GNUC_ALLOC_SIZE(x) __attribute__((__alloc_size__(x))) ^ 12 warnings generated. [ 49%] Building LLVM bitcode bitcoind-base.cpp.bc [ 49%] Linking LLVM bitcode shadow-plugin-bitcoind-bitcode.bc [ 49%] Built target shadow-plugin-bitcoind-bitcode [ 50%] Linking LLVM bitcode shadow-plugin-bitcoind.bc [ 50%] Hoisting globals from shadow-plugin-bitcoind.bc to shadow-plugin-bitcoind.hoisted.bc Linking C shared module libshadow-plugin-bitcoind.so shadow-plugin-bitcoind.hoisted.bc: file not recognized: File format not recognized collect2: error: ld returned 1 exit status src/CMakeFiles/shadow-plugin-bitcoind.dir/build.make:880: recipe for target 'src/libshadow-plugin-bitcoind.so' failed make[2]: *** [src/libshadow-plugin-bitcoind.so] Error 1 CMakeFiles/Makefile2:260: recipe for target 'src/CMakeFiles/shadow-plugin-bitcoind.dir/all' failed make[1]: *** [src/CMakeFiles/shadow-plugin-bitcoind.dir/all] Error 2 Makefile:116: recipe for target 'all' failed make: *** [all] Error 2