Skip to content

Instantly share code, notes, and snippets.

@siginfo
Created September 13, 2017 10:05
Show Gist options
  • Save siginfo/a04185df418199424f1e975a1667478b to your computer and use it in GitHub Desktop.
Save siginfo/a04185df418199424f1e975a1667478b to your computer and use it in GitHub Desktop.
Build breaking for eos.git (master) on Ubuntu 17.04
---- snippet ----
siginfo@ubuntu:~/code/EOSIO/eos/build$ cmake -DBINARYEN_BIN=~/code/binaryen/bin -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl -DOPENSSL_LIBRARIES=/usr/local/opt/openssl/lib ..
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using custom FindBoost.cmake
-- Boost version: 1.64.0
-- Found the following Boost libraries:
-- thread
-- date_time
-- system
-- filesystem
-- program_options
-- signals
-- serialization
-- chrono
-- unit_test_framework
-- context
-- locale
-- Using custom FindBoost.cmake
-- Boost version: 1.64.0
-- Found the following Boost libraries:
-- coroutine
-- Configuring Eos on Linux
-- BINARYEN_BIN not defined looking in PATH
-- BINARYEN_BIN => /home/siginfo/code/binaryen/bin
-- Using WASM clang => /home/siginfo/code/wasm-compiler/llvm/bin/clang
-- Using WASM llc => /home/siginfo/code/wasm-compiler/llvm/bin/llc
-- Using WASM llvm-link => /home/siginfo/code/wasm-compiler/llvm/bin/llvm-link
-- Found Secp256k1: /usr/local/lib/libsecp256k1.a
-- Found GMP: /usr/lib/x86_64-linux-gnu/libgmp.a
-- Configuring fc to build on Unix/Apple
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.a;/usr/lib/x86_64-linux-gnu/libcrypto.a (found version "1.0.2g")
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- zlib found
-- Found BZip2: /usr/lib/x86_64-linux-gnu/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- bzip2 found
-- Using custom FindBoost.cmake
-- Boost version: 1.64.0
-- Found the following Boost libraries:
-- thread
-- date_time
-- system
-- filesystem
-- chrono
-- unit_test_framework
-- locale
-- Configuring ChainBase on Linux
-- egenesis: /home/siginfo/code/EOSIO/eos/genesis.json
-- embed_genesis_args: -t/home/siginfo/code/EOSIO/eos/libraries/egenesis/egenesis_brief.cpp.tmpl---/home/siginfo/code/EOSIO/eos/build/libraries/egenesis/egenesis_brief.cpp-t/home/siginfo/code/EOSIO/eos/libraries/egenesis/egenesis_full.cpp.tmpl---/home/siginfo/code/EOSIO/eos/build/libraries/egenesis/egenesis_full.cpp--genesis-json/home/siginfo/code/EOSIO/eos/genesis.json
-- Using custom FindBoost.cmake
-- Boost version: 1.64.0
-- Found the following Boost libraries:
-- thread
-- date_time
-- system
-- filesystem
-- chrono
-- program_options
-- unit_test_framework
-- locale
-- Configuring ChainBase on Linux
-- Configuring done
-- Generating done
-- Build files have been written to: /home/siginfo/code/EOSIO/eos/build
siginfo@ubuntu:~/code/EOSIO/eos/build$
siginfo@ubuntu:~/code/EOSIO/eos/build$ ls -al /home/siginfo/code/wasm-compiler/llvm/bin/clang
lrwxrwxrwx 1 siginfo siginfo 9 Sep 13 01:17 /home/siginfo/code/wasm-compiler/llvm/bin/clang -> clang-4.0
siginfo@ubuntu:~/code/EOSIO/eos/build$ ls -al /home/siginfo/code/wasm-compiler/llvm/bin/clang
clang clang-check clang-format
clang++ clang-cl clang-import-test
clang-4.0 clang-cpp clang-offload-bundler
siginfo@ubuntu:~/code/EOSIO/eos/build$ ls -al /home/siginfo/code/wasm-compiler/llvm/bin/clang^C
siginfo@ubuntu:~/code/EOSIO/eos/build$ make
Scanning dependencies of target currency
[ 1%] Building LLVM bitcode currency.cpp.bc
[ 1%] Linking LLVM bitcode currency.bc
[ 2%] Generating textual assembly currency.s
[ 2%] Generating WAST currency.wast
[ 3%] Generating currency.wast.hpp
[ 3%] Built target currency
Scanning dependencies of target exchange
[ 3%] Building LLVM bitcode exchange.cpp.bc
[ 4%] Linking LLVM bitcode exchange.bc
[ 4%] Generating textual assembly exchange.s
[ 5%] Generating WAST exchange.wast
[ 5%] Generating exchange.wast.hpp
[ 5%] Built target exchange
Scanning dependencies of target infinite
[ 6%] Building LLVM bitcode infinite.cpp.bc
[ 6%] Linking LLVM bitcode infinite.bc
[ 6%] Generating textual assembly infinite.s
[ 7%] Generating WAST infinite.wast
[ 7%] Generating infinite.wast.hpp
[ 7%] Built target infinite
Scanning dependencies of target proxy
[ 7%] Building LLVM bitcode proxy.cpp.bc
[ 7%] Linking LLVM bitcode proxy.bc
[ 8%] Generating textual assembly proxy.s
[ 8%] Generating WAST proxy.wast
[ 9%] Generating proxy.wast.hpp
[ 9%] Built target proxy
Scanning dependencies of target test_api
[ 10%] Building LLVM bitcode test_types.cpp.bc
[ 11%] Building LLVM bitcode test_api.cpp.bc
[ 11%] Building LLVM bitcode test_crypto.cpp.bc
[ 11%] Building LLVM bitcode test_db.cpp.bc
[ 12%] Building LLVM bitcode test_math.cpp.bc
[ 12%] Building LLVM bitcode test_message.cpp.bc
[ 13%] Building LLVM bitcode test_print.cpp.bc
[ 13%] Building LLVM bitcode test_transaction.cpp.bc
[ 13%] Linking LLVM bitcode test_api.bc
[ 14%] Generating textual assembly test_api.s
[ 14%] Generating WAST test_api.wast
[ 14%] Generating test_api.wast.hpp
[ 14%] Built target test_api
Scanning dependencies of target simpledb
[ 15%] Building LLVM bitcode simpledb.cpp.bc
[ 15%] Linking LLVM bitcode simpledb.bc
[ 16%] Generating textual assembly simpledb.s
[ 16%] Generating WAST simpledb.wast
[ 17%] Generating simpledb.wast.hpp
[ 17%] Built target simpledb
Scanning dependencies of target fc
[ 18%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/uint128.cpp.o
[ 18%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/real128.cpp.o
[ 18%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/variant.cpp.o
[ 19%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/exception.cpp.o
[ 19%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/variant_object.cpp.o
[ 20%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/string.cpp.o
[ 20%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/shared_ptr.cpp.o
[ 20%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/time.cpp.o
[ 21%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/utf8.cpp.o
[ 21%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/io/datastream.cpp.o
[ 22%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/io/json.cpp.o
[ 22%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/io/varint.cpp.o
[ 22%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/io/fstream.cpp.o
[ 23%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/io/console.cpp.o
[ 23%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/filesystem.cpp.o
[ 24%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/interprocess/file_mapping.cpp.o
[ 24%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/interprocess/mmap_struct.cpp.o
[ 25%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/log/log_message.cpp.o
[ 25%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/log/logger.cpp.o
[ 25%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/log/appender.cpp.o
[ 26%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/log/console_appender.cpp.o
[ 26%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/log/logger_config.cpp.o
[ 27%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/_digest_common.cpp.o
[ 27%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/openssl.cpp.o
[ 27%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/aes.cpp.o
In file included from /home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/safe.hpp:2:0,
from /home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/io/raw_fwd.hpp:6,
from /home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/crypto/sha256.hpp:5,
from /home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/crypto/aes.hpp:3,
from /home/siginfo/code/EOSIO/eos/libraries/fc/src/crypto/aes.cpp:1:
/home/siginfo/code/EOSIO/eos/libraries/fc/src/crypto/aes.cpp: In member function ‘uint32_t fc::aes_encoder::encode(const char*, uint32_t, char*)’:
/home/siginfo/code/EOSIO/eos/libraries/fc/src/crypto/aes.cpp:77:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
FC_ASSERT( ciphertext_len == plaintext_len, "", ("ciphertext_len",ciphertext_len)("plaintext_len",plaintext_len) );
~~~~~~~~~~~~~~~^~~~
/home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/exception/exception.hpp:325:30: note: in definition of macro ‘FC_EXPAND_MACRO’
#define FC_EXPAND_MACRO( x ) x
^
/home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/exception/exception.hpp:332:11: note: in expansion of macro ‘UNLIKELY’
if( UNLIKELY(!(TEST)) ) \
^~~~~~~~
/home/siginfo/code/EOSIO/eos/libraries/fc/src/crypto/aes.cpp:77:5: note: in expansion of macro ‘FC_ASSERT’
FC_ASSERT( ciphertext_len == plaintext_len, "", ("ciphertext_len",ciphertext_len)("plaintext_len",plaintext_len) );
^
/home/siginfo/code/EOSIO/eos/libraries/fc/src/crypto/aes.cpp: In member function ‘uint32_t fc::aes_decoder::decode(const char*, uint32_t, char*)’:
/home/siginfo/code/EOSIO/eos/libraries/fc/src/crypto/aes.cpp:145:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
FC_ASSERT( ciphertxt_len == plaintext_len, "", ("ciphertxt_len",ciphertxt_len)("plaintext_len",plaintext_len) );
~~~~~~~~~~~~~~^~~~
/home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/exception/exception.hpp:325:30: note: in definition of macro ‘FC_EXPAND_MACRO’
#define FC_EXPAND_MACRO( x ) x
^
/home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/exception/exception.hpp:332:11: note: in expansion of macro ‘UNLIKELY’
if( UNLIKELY(!(TEST)) ) \
^~~~~~~~
/home/siginfo/code/EOSIO/eos/libraries/fc/src/crypto/aes.cpp:145:5: note: in expansion of macro ‘FC_ASSERT’
FC_ASSERT( ciphertxt_len == plaintext_len, "", ("ciphertxt_len",ciphertxt_len)("plaintext_len",plaintext_len) );
^
[ 28%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/crc.cpp.o
[ 28%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/city.cpp.o
[ 29%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/base36.cpp.o
[ 29%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/base58.cpp.o
[ 30%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/base64.cpp.o
[ 30%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/bigint.cpp.o
[ 30%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/hex.cpp.o
[ 31%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/sha1.cpp.o
[ 31%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/ripemd160.cpp.o
[ 32%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/sha256.cpp.o
[ 32%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/sha224.cpp.o
[ 32%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/sha512.cpp.o
[ 33%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/dh.cpp.o
[ 33%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/blowfish.cpp.o
[ 34%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/elliptic_common.cpp.o
In file included from /home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/safe.hpp:2:0,
from /home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/io/raw_fwd.hpp:6,
from /home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/crypto/sha256.hpp:5,
from /home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/crypto/elliptic.hpp:4,
from /home/siginfo/code/EOSIO/eos/libraries/fc/src/crypto/elliptic_common.cpp:2:
/home/siginfo/code/EOSIO/eos/libraries/fc/src/crypto/elliptic_common.cpp: In function ‘fc::ecc::private_key_secret fc::ecc::detail::_get_curve_order()’:
/home/siginfo/code/EOSIO/eos/libraries/fc/src/crypto/elliptic_common.cpp:88:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
FC_ASSERT( BN_num_bytes( order ) == bin.data_size() );
^
/home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/exception/exception.hpp:325:30: note: in definition of macro ‘FC_EXPAND_MACRO’
#define FC_EXPAND_MACRO( x ) x
^
/home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/exception/exception.hpp:332:11: note: in expansion of macro ‘UNLIKELY’
if( UNLIKELY(!(TEST)) ) \
^~~~~~~~
/home/siginfo/code/EOSIO/eos/libraries/fc/src/crypto/elliptic_common.cpp:88:13: note: in expansion of macro ‘FC_ASSERT’
FC_ASSERT( BN_num_bytes( order ) == bin.data_size() );
^
/home/siginfo/code/EOSIO/eos/libraries/fc/src/crypto/elliptic_common.cpp:89:72: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
FC_ASSERT( BN_bn2bin( order, (unsigned char*) bin.data() ) == bin.data_size() );
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/exception/exception.hpp:325:30: note: in definition of macro ‘FC_EXPAND_MACRO’
#define FC_EXPAND_MACRO( x ) x
^
/home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/exception/exception.hpp:332:11: note: in expansion of macro ‘UNLIKELY’
if( UNLIKELY(!(TEST)) ) \
^~~~~~~~
/home/siginfo/code/EOSIO/eos/libraries/fc/src/crypto/elliptic_common.cpp:89:13: note: in expansion of macro ‘FC_ASSERT’
FC_ASSERT( BN_bn2bin( order, (unsigned char*) bin.data() ) == bin.data_size() );
^
/home/siginfo/code/EOSIO/eos/libraries/fc/src/crypto/elliptic_common.cpp: In function ‘fc::ecc::private_key_secret fc::ecc::detail::_get_half_curve_order()’:
/home/siginfo/code/EOSIO/eos/libraries/fc/src/crypto/elliptic_common.cpp:107:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
FC_ASSERT( BN_num_bytes( order ) == bin.data_size() );
^
/home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/exception/exception.hpp:325:30: note: in definition of macro ‘FC_EXPAND_MACRO’
#define FC_EXPAND_MACRO( x ) x
^
/home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/exception/exception.hpp:332:11: note: in expansion of macro ‘UNLIKELY’
if( UNLIKELY(!(TEST)) ) \
^~~~~~~~
/home/siginfo/code/EOSIO/eos/libraries/fc/src/crypto/elliptic_common.cpp:107:13: note: in expansion of macro ‘FC_ASSERT’
FC_ASSERT( BN_num_bytes( order ) == bin.data_size() );
^
/home/siginfo/code/EOSIO/eos/libraries/fc/src/crypto/elliptic_common.cpp:108:72: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
FC_ASSERT( BN_bn2bin( order, (unsigned char*) bin.data() ) == bin.data_size() );
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/exception/exception.hpp:325:30: note: in definition of macro ‘FC_EXPAND_MACRO’
#define FC_EXPAND_MACRO( x ) x
^
/home/siginfo/code/EOSIO/eos/libraries/fc/include/fc/exception/exception.hpp:332:11: note: in expansion of macro ‘UNLIKELY’
if( UNLIKELY(!(TEST)) ) \
^~~~~~~~
/home/siginfo/code/EOSIO/eos/libraries/fc/src/crypto/elliptic_common.cpp:108:13: note: in expansion of macro ‘FC_ASSERT’
FC_ASSERT( BN_bn2bin( order, (unsigned char*) bin.data() ) == bin.data_size() );
^
[ 34%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/elliptic_impl_priv.cpp.o
[ 34%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/elliptic_secp256k1.cpp.o
[ 35%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/crypto/rand.cpp.o
[ 35%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/ip.cpp.o
[ 36%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/network/url.cpp.o
[ 36%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/compress/smaz.cpp.o
[ 37%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/compress/zlib.cpp.o
In file included from /home/siginfo/code/EOSIO/eos/libraries/fc/src/compress/zlib.cpp:3:0:
/home/siginfo/code/EOSIO/eos/libraries/fc/src/compress/miniz.c: In function ‘tinfl_status tinfl_decompress(tinfl_decompressor*, const mz_uint8*, size_t*, mz_uint8*, mz_uint8*, size_t*, mz_uint32)’:
/home/siginfo/code/EOSIO/eos/libraries/fc/src/compress/miniz.c:1500:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for ( i = 0; i <= 143; ++i) *p++ = 8; for ( ; i <= 255; ++i) *p++ = 9; for ( ; i <= 279; ++i) *p++ = 7; for ( ; i <= 287; ++i) *p++ = 8;
^~~
/home/siginfo/code/EOSIO/eos/libraries/fc/src/compress/miniz.c:1500:47: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
for ( i = 0; i <= 143; ++i) *p++ = 8; for ( ; i <= 255; ++i) *p++ = 9; for ( ; i <= 279; ++i) *p++ = 7; for ( ; i <= 287; ++i) *p++ = 8;
^~~
/home/siginfo/code/EOSIO/eos/libraries/fc/src/compress/miniz.c: In function ‘void tdefl_find_match(tdefl_compressor*, mz_uint, mz_uint, mz_uint, mz_uint*, mz_uint*)’:
/home/siginfo/code/EOSIO/eos/libraries/fc/src/compress/miniz.c:2284:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (!dist) break; q = (const mz_uint16*)(d->m_dict + probe_pos); if (TDEFL_READ_UNALIGNED_WORD(q) != s01) continue; p = s; probe_len = 32;
^~
/home/siginfo/code/EOSIO/eos/libraries/fc/src/compress/miniz.c:2284:23: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
if (!dist) break; q = (const mz_uint16*)(d->m_dict + probe_pos); if (TDEFL_READ_UNALIGNED_WORD(q) != s01) continue; p = s; probe_len = 32;
^
[ 37%] Linking CXX static library libfc.a
[ 37%] Built target fc
Scanning dependencies of target chainbase
[ 37%] Building CXX object libraries/chainbase/CMakeFiles/chainbase.dir/src/chainbase.cpp.o
[ 38%] Linking CXX static library libchainbase.a
[ 38%] Built target chainbase
Scanning dependencies of target chainbase_test
[ 38%] Building CXX object libraries/chainbase/test/CMakeFiles/chainbase_test.dir/test.cpp.o
[ 38%] Linking CXX executable chainbase_test
[ 38%] Built target chainbase_test
Scanning dependencies of target Platform
[ 38%] Building CXX object libraries/wasm-jit/Source/Platform/CMakeFiles/Platform.dir/POSIX.cpp.o
[ 39%] Building CXX object libraries/wasm-jit/Source/Platform/CMakeFiles/Platform.dir/Windows.cpp.o
[ 39%] Linking CXX static library libPlatform.a
[ 39%] Built target Platform
Scanning dependencies of target Logging
[ 39%] Building CXX object libraries/wasm-jit/Source/Logging/CMakeFiles/Logging.dir/Logging.cpp.o
[ 40%] Linking CXX static library libLogging.a
[ 40%] Built target Logging
Scanning dependencies of target IR
[ 40%] Building CXX object libraries/wasm-jit/Source/IR/CMakeFiles/IR.dir/DisassemblyNames.cpp.o
[ 41%] Building CXX object libraries/wasm-jit/Source/IR/CMakeFiles/IR.dir/Operators.cpp.o
[ 41%] Building CXX object libraries/wasm-jit/Source/IR/CMakeFiles/IR.dir/Types.cpp.o
[ 42%] Building CXX object libraries/wasm-jit/Source/IR/CMakeFiles/IR.dir/Validate.cpp.o
[ 42%] Linking CXX static library libIR.a
[ 42%] Built target IR
Scanning dependencies of target Runtime
[ 43%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/Intrinsics.cpp.o
[ 43%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/Linker.cpp.o
[ 43%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/LLVMEmitIR.cpp.o
[ 44%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/LLVMJIT.cpp.o
[ 44%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/Memory.cpp.o
[ 45%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/ModuleInstance.cpp.o
[ 45%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/ObjectGC.cpp.o
[ 45%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/Runtime.cpp.o
[ 46%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/Table.cpp.o
[ 46%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/Threads.cpp.o
[ 47%] Building CXX object libraries/wasm-jit/Source/Runtime/CMakeFiles/Runtime.dir/WAVMIntrinsics.cpp.o
[ 47%] Linking CXX static library libRuntime.a
[ 47%] Built target Runtime
Scanning dependencies of target Emscripten
[ 48%] Building CXX object libraries/wasm-jit/Source/Emscripten/CMakeFiles/Emscripten.dir/Emscripten.cpp.o
[ 48%] Linking CXX static library libEmscripten.a
[ 48%] Built target Emscripten
Scanning dependencies of target WASM
[ 48%] Building CXX object libraries/wasm-jit/Source/WASM/CMakeFiles/WASM.dir/WASMSerialization.cpp.o
[ 49%] Linking CXX static library libWASM.a
[ 49%] Built target WASM
Scanning dependencies of target WAST
[ 49%] Building CXX object libraries/wasm-jit/Source/WAST/CMakeFiles/WAST.dir/NFA.cpp.o
[ 50%] Building CXX object libraries/wasm-jit/Source/WAST/CMakeFiles/WAST.dir/Lexer.cpp.o
[ 50%] Building CXX object libraries/wasm-jit/Source/WAST/CMakeFiles/WAST.dir/Parse.cpp.o
[ 50%] Building CXX object libraries/wasm-jit/Source/WAST/CMakeFiles/WAST.dir/ParseFunction.cpp.o
[ 51%] Building CXX object libraries/wasm-jit/Source/WAST/CMakeFiles/WAST.dir/ParseNumbers.cpp.o
[ 51%] Building CXX object libraries/wasm-jit/Source/WAST/CMakeFiles/WAST.dir/ParseModule.cpp.o
[ 52%] Building CXX object libraries/wasm-jit/Source/WAST/CMakeFiles/WAST.dir/ParseTests.cpp.o
[ 52%] Building CXX object libraries/wasm-jit/Source/WAST/CMakeFiles/WAST.dir/Print.cpp.o
[ 52%] Building CXX object libraries/wasm-jit/Source/WAST/CMakeFiles/WAST.dir/Regexp.cpp.o
[ 53%] Linking CXX static library libWAST.a
[ 53%] Built target WAST
Scanning dependencies of target Assemble
[ 53%] Building CXX object libraries/wasm-jit/Source/Programs/CMakeFiles/Assemble.dir/Assemble.cpp.o
[ 53%] Linking CXX executable Assemble
[ 53%] Built target Assemble
Scanning dependencies of target Disassemble
[ 54%] Building CXX object libraries/wasm-jit/Source/Programs/CMakeFiles/Disassemble.dir/Disassemble.cpp.o
[ 54%] Linking CXX executable Disassemble
[ 54%] Built target Disassemble
Scanning dependencies of target Test
[ 54%] Building CXX object libraries/wasm-jit/Source/Programs/CMakeFiles/Test.dir/Test.cpp.o
[ 55%] Linking CXX executable Test
../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.data.rel.ro._ZTIN7LLVMJIT12NullResolverE[_ZTIN7LLVMJIT12NullResolverE]+0x10): undefined reference to `typeinfo for llvm::JITSymbolResolver'
../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.data.rel.ro._ZTIN7LLVMJIT17UnitMemoryManagerE[_ZTIN7LLVMJIT17UnitMemoryManagerE]+0x10): undefined reference to `typeinfo for llvm::RTDyldMemoryManager'
../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.data.rel.ro._ZTIN4llvm18ObjectMemoryBufferE[_ZTIN4llvm18ObjectMemoryBufferE]+0x10): undefined reference to `typeinfo for llvm::MemoryBuffer'
../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.data.rel.ro._ZTIN4llvm18MCJITMemoryManagerE[_ZTIN4llvm18MCJITMemoryManagerE]+0x10): undefined reference to `typeinfo for llvm::RuntimeDyld::MemoryManager'
../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.data.rel.ro._ZTIN4llvm9ErrorInfoINS_9ErrorListENS_13ErrorInfoBaseEEE[_ZTIN4llvm9ErrorInfoINS_9ErrorListENS_13ErrorInfoBaseEEE]+0x10): undefined reference to `typeinfo for llvm::ErrorInfoBase'
../Runtime/libRuntime.a(LLVMJIT.cpp.o):(.data.rel.ro._ZTIN4llvm17raw_pwrite_streamE[_ZTIN4llvm17raw_pwrite_streamE]+0x10): undefined reference to `typeinfo for llvm::raw_ostream'
../Runtime/libRuntime.a(LLVMEmitIR.cpp.o):(.data.rel.ro._ZTIN4llvm10SelectInstE[_ZTIN4llvm10SelectInstE]+0x10): undefined reference to `typeinfo for llvm::Instruction'
../Runtime/libRuntime.a(LLVMEmitIR.cpp.o):(.data.rel.ro._ZTIN4llvm8FCmpInstE[_ZTIN4llvm8FCmpInstE]+0x10): undefined reference to `typeinfo for llvm::CmpInst'
collect2: error: ld returned 1 exit status
libraries/wasm-jit/Source/Programs/CMakeFiles/Test.dir/build.make:128: recipe for target 'libraries/wasm-jit/Source/Programs/Test' failed
make[2]: *** [libraries/wasm-jit/Source/Programs/Test] Error 1
CMakeFiles/Makefile2:1066: recipe for target 'libraries/wasm-jit/Source/Programs/CMakeFiles/Test.dir/all' failed
make[1]: *** [libraries/wasm-jit/Source/Programs/CMakeFiles/Test.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
siginfo@ubuntu:~/code/EOSIO/eos/build$
@gguoss
Copy link

gguoss commented Sep 13, 2017

fafa
See you build error, there are not some lib on ld Test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment