Page MenuHomePhabricator

[cmake] Allow to configure the linker used.
ClosedPublic

Authored by deadalnix on Dec 10 2020, 01:51.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC9319f1edad63: [cmake] Allow to configure the linker used.
Summary

Now default to lld as it is even significantly faster than gold and packaged pretty much everywhere, except when a plateform file is explicitely specified in which case it uses the linker provide by the plateform.

Test Plan
ninja all check-all

Cross compile OSX, ARM and Win64 to make sure they work properly.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Tail of the build log:

-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.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
-- Found Python: /usr/bin/python3.7 (found suitable version "3.7.3", minimum required is "3.5") found components: Interpreter 
-- Found Git: /usr/bin/git (found version "2.20.1") 
-- Using ccache: /usr/bin/ccache
-- Performing Test have_CXX__Werror_unused_command_line_argument
-- Performing Test have_CXX__Werror_unused_command_line_argument - Failed
-- Performing Test have_linker__fuse_ld_lld
-- Performing Test have_linker__fuse_ld_lld - Failed
CMake Error at src/CMakeLists.txt:97 (message):
  The lld linker is not supported, make sure lld is properly isntalled or
  using -DUSE_LINKER= to use the system's linker


-- Configuring incomplete, errors occurred!
See also "/work/abc-ci-builds/build-debug/CMakeFiles/CMakeOutput.log".
See also "/work/abc-ci-builds/build-debug/CMakeFiles/CMakeError.log".
Build build-debug failed with exit code 1

Tail of the build log:

-- The C compiler identification is Clang 10.0.1
-- The CXX compiler identification is Clang 10.0.1
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- 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/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python: /usr/bin/python3.7 (found suitable version "3.7.3", minimum required is "3.5") found components: Interpreter 
-- Found Git: /usr/bin/git (found version "2.20.1") 
-- Using ccache: /usr/bin/ccache
-- Performing Test have_CXX__Werror_unused_command_line_argument
-- Performing Test have_CXX__Werror_unused_command_line_argument - Success
-- Performing Test have_linker__fuse_ld_lld
-- Performing Test have_linker__fuse_ld_lld - Failed
CMake Error at src/CMakeLists.txt:97 (message):
  The lld linker is not supported, make sure lld is properly isntalled or
  using -DUSE_LINKER= to use the system's linker


-- Configuring incomplete, errors occurred!
See also "/work/abc-ci-builds/build-clang/CMakeFiles/CMakeOutput.log".
See also "/work/abc-ci-builds/build-clang/CMakeFiles/CMakeError.log".
Build build-clang failed with exit code 1

Tail of the build log:

-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.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
-- Found Python: /usr/bin/python3.7 (found suitable version "3.7.3", minimum required is "3.5") found components: Interpreter 
-- Found Git: /usr/bin/git (found version "2.20.1") 
-- Using ccache: /usr/bin/ccache
-- Performing Test have_CXX__Werror_unused_command_line_argument
-- Performing Test have_CXX__Werror_unused_command_line_argument - Failed
-- Performing Test have_linker__fuse_ld_lld
-- Performing Test have_linker__fuse_ld_lld - Failed
CMake Error at src/CMakeLists.txt:97 (message):
  The lld linker is not supported, make sure lld is properly isntalled or
  using -DUSE_LINKER= to use the system's linker


-- Configuring incomplete, errors occurred!
See also "/work/abc-ci-builds/build-without-wallet/CMakeFiles/CMakeOutput.log".
See also "/work/abc-ci-builds/build-without-wallet/CMakeFiles/CMakeError.log".
Build build-without-wallet failed with exit code 1

Tail of the build log:

-- The C compiler identification is Clang 10.0.1
-- The CXX compiler identification is Clang 10.0.1
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- 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/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Python: /usr/bin/python3.7 (found suitable version "3.7.3", minimum required is "3.5") found components: Interpreter 
-- Found Git: /usr/bin/git (found version "2.20.1") 
-- Using ccache: /usr/bin/ccache
-- Using clang-tidy: /usr/bin/clang-tidy-8 (version 8.0.1)
-- Performing Test have_CXX__Werror_unused_command_line_argument
-- Performing Test have_CXX__Werror_unused_command_line_argument - Success
-- Performing Test have_linker__fuse_ld_lld
-- Performing Test have_linker__fuse_ld_lld - Failed
CMake Error at src/CMakeLists.txt:97 (message):
  The lld linker is not supported, make sure lld is properly isntalled or
  using -DUSE_LINKER= to use the system's linker


-- Configuring incomplete, errors occurred!
See also "/work/abc-ci-builds/build-clang-tidy/CMakeFiles/CMakeOutput.log".
See also "/work/abc-ci-builds/build-clang-tidy/CMakeFiles/CMakeError.log".
Build build-clang-tidy failed with exit code 1

Tail of the build log:

-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.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
-- Found Python: /usr/bin/python3.7 (found suitable version "3.7.3", minimum required is "3.5") found components: Interpreter 
-- Found Git: /usr/bin/git (found version "2.20.1") 
-- Using ccache: /usr/bin/ccache
-- Performing Test have_CXX__Werror_unused_command_line_argument
-- Performing Test have_CXX__Werror_unused_command_line_argument - Failed
-- Performing Test have_linker__fuse_ld_lld
-- Performing Test have_linker__fuse_ld_lld - Failed
CMake Error at src/CMakeLists.txt:97 (message):
  The lld linker is not supported, make sure lld is properly isntalled or
  using -DUSE_LINKER= to use the system's linker


-- Configuring incomplete, errors occurred!
See also "/work/abc-ci-builds/build-diff/CMakeFiles/CMakeOutput.log".
See also "/work/abc-ci-builds/build-diff/CMakeFiles/CMakeError.log".
Build build-diff failed with exit code 1

Add the lld dependency to the debian package build and to the edependency for CI

Tail of the build log:

cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-uint256_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=uint256_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-uint256_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[273/392] bitcoin: testing undo_tests
FAILED: src/test/CMakeFiles/check-bitcoin-undo_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-undo_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=undo_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-undo_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[274/392] bitcoin: testing util_threadnames_tests
FAILED: src/test/CMakeFiles/check-bitcoin-util_threadnames_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-util_threadnames_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=util_threadnames_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-util_threadnames_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[275/392] bitcoin: testing util_tests
FAILED: src/test/CMakeFiles/check-bitcoin-util_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-util_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=util_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-util_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[276/392] bitcoin: testing compilerbug_tests
FAILED: src/test/CMakeFiles/check-bitcoin-compilerbug_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-compilerbug_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=compilerbug_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-compilerbug_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[277/392] bitcoin: testing validationinterface_tests
FAILED: src/test/CMakeFiles/check-bitcoin-validationinterface_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-validationinterface_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=validationinterface_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-validationinterface_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[278/392] bitcoin: testing checkpoints_tests
FAILED: src/test/CMakeFiles/check-bitcoin-checkpoints_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-checkpoints_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=checkpoints_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-checkpoints_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[279/392] bitcoin: testing coins_tests
FAILED: src/test/CMakeFiles/check-bitcoin-coins_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-coins_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=coins_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-coins_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[280/392] bitcoin: testing validation_block_tests
FAILED: src/test/CMakeFiles/check-bitcoin-validation_block_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-validation_block_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=validation_block_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-validation_block_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[281/392] bitcoin: testing versionbits_tests
FAILED: src/test/CMakeFiles/check-bitcoin-versionbits_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-versionbits_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=versionbits_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-versionbits_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[282/392] bitcoin: testing script_standard_tests
FAILED: src/test/CMakeFiles/check-bitcoin-script_standard_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-script_standard_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=script_standard_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-script_standard_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[283/392] bitcoin: testing cashaddr_tests
FAILED: src/test/CMakeFiles/check-bitcoin-cashaddr_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-cashaddr_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=cashaddr_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-cashaddr_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[284/392] bitcoin: testing monolith_opcodes_tests
FAILED: src/test/CMakeFiles/check-bitcoin-monolith_opcodes_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-monolith_opcodes_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=monolith_opcodes_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-monolith_opcodes_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[285/392] bitcoin: testing getarg_tests
FAILED: src/test/CMakeFiles/check-bitcoin-getarg_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-getarg_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=getarg_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-getarg_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[286/392] bitcoin: testing op_reversebytes_tests
FAILED: src/test/CMakeFiles/check-bitcoin-op_reversebytes_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-op_reversebytes_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=op_reversebytes_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-op_reversebytes_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
ninja: build stopped: cannot make progress due to previous errors.
Build build-without-wallet failed with exit code 1

Tail of the build log:

rpc_invalidateblock.py                           | ✓ Passed  | 1 s
rpc_misc.py                                      | ✓ Passed  | 1 s
rpc_named_arguments.py                           | ✓ Passed  | 1 s
rpc_net.py                                       | ✓ Passed  | 7 s
rpc_preciousblock.py                             | ✓ Passed  | 1 s
rpc_psbt.py                                      | ✓ Passed  | 35 s
rpc_rawtransaction.py                            | ✓ Passed  | 39 s
rpc_scantxoutset.py                              | ✓ Passed  | 3 s
rpc_setban.py                                    | ✓ Passed  | 2 s
rpc_signmessage.py                               | ✓ Passed  | 1 s
rpc_signrawtransaction.py                        | ✓ Passed  | 2 s
rpc_txoutproof.py                                | ✓ Passed  | 2 s
rpc_uptime.py                                    | ✓ Passed  | 1 s
rpc_users.py                                     | ✓ Passed  | 5 s
rpc_whitelist.py                                 | ✓ Passed  | 1 s
tool_wallet.py                                   | ✓ Passed  | 4 s
wallet_abandonconflict.py                        | ✓ Passed  | 9 s
wallet_address_types.py                          | ✓ Passed  | 18 s
wallet_avoidreuse.py                             | ✓ Passed  | 3 s
wallet_backup.py                                 | ✓ Passed  | 30 s
wallet_balance.py                                | ✓ Passed  | 9 s
wallet_basic.py                                  | ✓ Passed  | 22 s
wallet_coinbase_category.py                      | ✓ Passed  | 2 s
wallet_create_tx.py                              | ✓ Passed  | 9 s
wallet_createwallet.py                           | ✓ Passed  | 4 s
wallet_createwallet.py --usecli                  | ✓ Passed  | 3 s
wallet_descriptor.py                             | ✓ Passed  | 16 s
wallet_disable.py                                | ✓ Passed  | 1 s
wallet_dump.py                                   | ✓ Passed  | 7 s
wallet_encryption.py                             | ✓ Passed  | 5 s
wallet_groups.py                                 | ✓ Passed  | 29 s
wallet_hd.py                                     | ✓ Passed  | 5 s
wallet_import_rescan.py                          | ✓ Passed  | 5 s
wallet_import_with_label.py                      | ✓ Passed  | 2 s
wallet_importdescriptors.py                      | ✓ Passed  | 5 s
wallet_importmulti.py                            | ✓ Passed  | 3 s
wallet_importprunedfunds.py                      | ✓ Passed  | 2 s
wallet_keypool.py                                | ✓ Passed  | 3 s
wallet_keypool_topup.py                          | ✓ Passed  | 6 s
wallet_labels.py                                 | ✓ Passed  | 3 s
wallet_listreceivedby.py                         | ✓ Passed  | 14 s
wallet_listsinceblock.py                         | ✓ Passed  | 4 s
wallet_listtransactions.py                       | ✓ Passed  | 16 s
wallet_multiwallet.py                            | ✓ Passed  | 45 s
wallet_multiwallet.py --usecli                   | ✓ Passed  | 22 s
wallet_reorgsrestore.py                          | ✓ Passed  | 5 s
wallet_resendwallettransactions.py               | ✓ Passed  | 13 s
wallet_txn_clone.py                              | ✓ Passed  | 4 s
wallet_txn_clone.py --mineblock                  | ✓ Passed  | 4 s
wallet_txn_doublespend.py                        | ✓ Passed  | 3 s
wallet_txn_doublespend.py --mineblock            | ✓ Passed  | 5 s
wallet_watchonly.py                              | ✓ Passed  | 2 s
wallet_watchonly.py --usecli                     | ✓ Passed  | 2 s
wallet_zapwallettxes.py                          | ✓ Passed  | 7 s

ALL                                              | ✓ Passed  | 989 s (accumulated) 
Runtime: 199 s

ninja: build stopped: cannot make progress due to previous errors.
Build build-diff failed with exit code 1
Fabien requested changes to this revision.Dec 10 2020, 10:30
Fabien added a subscriber: Fabien.

A couple issues that need to be addressed:

  • the test_bitcoin build fails on debian with GCC (it works on arch with GCC 10 and lld 11)
  • the AUR packages need to install lld as well or set -DUSE_LINKER=

Maybe add a release note as well ?

This revision now requires changes to proceed.Dec 10 2020, 10:30
doc/build-unix.md
63 ↗(On Diff #26298)

Nit: sort

src/CMakeLists.txt
34 ↗(On Diff #26298)

Better use CMAKE_CROSSCOMPILING here since TOOLCHAIN_PREFIX is not a cmake built-in

97 ↗(On Diff #26298)

using => use

428 ↗(On Diff #26298)

Good catch

Tail of the build log:

cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-util_threadnames_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=util_threadnames_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-util_threadnames_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[276/395] bitcoin: testing transaction_tests
FAILED: src/test/CMakeFiles/check-bitcoin-transaction_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-transaction_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=transaction_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-transaction_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[277/395] bitcoin: testing undo_tests
FAILED: src/test/CMakeFiles/check-bitcoin-undo_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-undo_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=undo_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-undo_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[278/395] bitcoin: testing compilerbug_tests
FAILED: src/test/CMakeFiles/check-bitcoin-compilerbug_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-compilerbug_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=compilerbug_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-compilerbug_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[279/395] bitcoin: testing validation_chainstatemanager_tests
FAILED: src/test/CMakeFiles/check-bitcoin-validation_chainstatemanager_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-validation_chainstatemanager_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=validation_chainstatemanager_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-validation_chainstatemanager_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[280/395] bitcoin: testing validationinterface_tests
FAILED: src/test/CMakeFiles/check-bitcoin-validationinterface_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-validationinterface_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=validationinterface_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-validationinterface_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[281/395] bitcoin: testing checkpoints_tests
FAILED: src/test/CMakeFiles/check-bitcoin-checkpoints_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-checkpoints_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=checkpoints_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-checkpoints_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[282/395] bitcoin: testing coins_tests
FAILED: src/test/CMakeFiles/check-bitcoin-coins_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-coins_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=coins_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-coins_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[283/395] bitcoin: testing validation_block_tests
FAILED: src/test/CMakeFiles/check-bitcoin-validation_block_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-validation_block_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=validation_block_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-validation_block_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[284/395] bitcoin: testing script_standard_tests
FAILED: src/test/CMakeFiles/check-bitcoin-script_standard_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-script_standard_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=script_standard_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-script_standard_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[285/395] bitcoin: testing versionbits_tests
FAILED: src/test/CMakeFiles/check-bitcoin-versionbits_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-versionbits_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=versionbits_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-versionbits_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[286/395] bitcoin: testing cashaddr_tests
FAILED: src/test/CMakeFiles/check-bitcoin-cashaddr_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-cashaddr_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=cashaddr_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-cashaddr_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[287/395] bitcoin: testing getarg_tests
FAILED: src/test/CMakeFiles/check-bitcoin-getarg_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-getarg_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=getarg_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-getarg_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[288/395] bitcoin: testing monolith_opcodes_tests
FAILED: src/test/CMakeFiles/check-bitcoin-monolith_opcodes_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-monolith_opcodes_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=monolith_opcodes_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-monolith_opcodes_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[289/395] bitcoin: testing op_reversebytes_tests
FAILED: src/test/CMakeFiles/check-bitcoin-op_reversebytes_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-op_reversebytes_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=op_reversebytes_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-op_reversebytes_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
ninja: build stopped: cannot make progress due to previous errors.
Build build-without-wallet failed with exit code 1

Tail of the build log:

rpc_invalidateblock.py                           | ✓ Passed  | 2 s
rpc_misc.py                                      | ✓ Passed  | 2 s
rpc_named_arguments.py                           | ✓ Passed  | 2 s
rpc_net.py                                       | ✓ Passed  | 2 s
rpc_preciousblock.py                             | ✓ Passed  | 1 s
rpc_psbt.py                                      | ✓ Passed  | 29 s
rpc_rawtransaction.py                            | ✓ Passed  | 39 s
rpc_scantxoutset.py                              | ✓ Passed  | 5 s
rpc_setban.py                                    | ✓ Passed  | 3 s
rpc_signmessage.py                               | ✓ Passed  | 1 s
rpc_signrawtransaction.py                        | ✓ Passed  | 2 s
rpc_txoutproof.py                                | ✓ Passed  | 2 s
rpc_uptime.py                                    | ✓ Passed  | 1 s
rpc_users.py                                     | ✓ Passed  | 5 s
rpc_whitelist.py                                 | ✓ Passed  | 1 s
tool_wallet.py                                   | ✓ Passed  | 4 s
wallet_abandonconflict.py                        | ✓ Passed  | 9 s
wallet_address_types.py                          | ✓ Passed  | 13 s
wallet_avoidreuse.py                             | ✓ Passed  | 11 s
wallet_backup.py                                 | ✓ Passed  | 28 s
wallet_balance.py                                | ✓ Passed  | 28 s
wallet_basic.py                                  | ✓ Passed  | 25 s
wallet_coinbase_category.py                      | ✓ Passed  | 1 s
wallet_create_tx.py                              | ✓ Passed  | 5 s
wallet_createwallet.py                           | ✓ Passed  | 4 s
wallet_createwallet.py --usecli                  | ✓ Passed  | 4 s
wallet_descriptor.py                             | ✓ Passed  | 16 s
wallet_disable.py                                | ✓ Passed  | 0 s
wallet_dump.py                                   | ✓ Passed  | 8 s
wallet_encryption.py                             | ✓ Passed  | 7 s
wallet_groups.py                                 | ✓ Passed  | 45 s
wallet_hd.py                                     | ✓ Passed  | 9 s
wallet_import_rescan.py                          | ✓ Passed  | 12 s
wallet_import_with_label.py                      | ✓ Passed  | 1 s
wallet_importdescriptors.py                      | ✓ Passed  | 6 s
wallet_importmulti.py                            | ✓ Passed  | 4 s
wallet_importprunedfunds.py                      | ✓ Passed  | 2 s
wallet_keypool.py                                | ✓ Passed  | 3 s
wallet_keypool_topup.py                          | ✓ Passed  | 7 s
wallet_labels.py                                 | ✓ Passed  | 4 s
wallet_listreceivedby.py                         | ✓ Passed  | 24 s
wallet_listsinceblock.py                         | ✓ Passed  | 4 s
wallet_listtransactions.py                       | ✓ Passed  | 9 s
wallet_multiwallet.py                            | ✓ Passed  | 11 s
wallet_multiwallet.py --usecli                   | ✓ Passed  | 15 s
wallet_reorgsrestore.py                          | ✓ Passed  | 7 s
wallet_resendwallettransactions.py               | ✓ Passed  | 3 s
wallet_txn_clone.py                              | ✓ Passed  | 4 s
wallet_txn_clone.py --mineblock                  | ✓ Passed  | 6 s
wallet_txn_doublespend.py                        | ✓ Passed  | 3 s
wallet_txn_doublespend.py --mineblock            | ✓ Passed  | 5 s
wallet_watchonly.py                              | ✓ Passed  | 1 s
wallet_watchonly.py --usecli                     | ✓ Passed  | 3 s
wallet_zapwallettxes.py                          | ✓ Passed  | 5 s

ALL                                              | ✓ Passed  | 981 s (accumulated) 
Runtime: 197 s

ninja: build stopped: cannot make progress due to previous errors.
Build build-diff failed with exit code 1

Tail of the build log:

rpc_invalidateblock.py                           | ✓ Passed  | 1 s
rpc_misc.py                                      | ✓ Passed  | 1 s
rpc_named_arguments.py                           | ✓ Passed  | 1 s
rpc_net.py                                       | ✓ Passed  | 6 s
rpc_preciousblock.py                             | ✓ Passed  | 1 s
rpc_psbt.py                                      | ✓ Passed  | 28 s
rpc_rawtransaction.py                            | ✓ Passed  | 42 s
rpc_scantxoutset.py                              | ✓ Passed  | 3 s
rpc_setban.py                                    | ✓ Passed  | 2 s
rpc_signmessage.py                               | ✓ Passed  | 1 s
rpc_signrawtransaction.py                        | ✓ Passed  | 2 s
rpc_txoutproof.py                                | ✓ Passed  | 2 s
rpc_uptime.py                                    | ✓ Passed  | 1 s
rpc_users.py                                     | ✓ Passed  | 5 s
rpc_whitelist.py                                 | ✓ Passed  | 1 s
tool_wallet.py                                   | ✓ Passed  | 4 s
wallet_abandonconflict.py                        | ✓ Passed  | 6 s
wallet_address_types.py                          | ✓ Passed  | 16 s
wallet_avoidreuse.py                             | ✓ Passed  | 5 s
wallet_backup.py                                 | ✓ Passed  | 27 s
wallet_balance.py                                | ✓ Passed  | 14 s
wallet_basic.py                                  | ✓ Passed  | 19 s
wallet_coinbase_category.py                      | ✓ Passed  | 1 s
wallet_create_tx.py                              | ✓ Passed  | 5 s
wallet_createwallet.py                           | ✓ Passed  | 2 s
wallet_createwallet.py --usecli                  | ✓ Passed  | 2 s
wallet_descriptor.py                             | ✓ Passed  | 8 s
wallet_disable.py                                | ✓ Passed  | 1 s
wallet_dump.py                                   | ✓ Passed  | 5 s
wallet_encryption.py                             | ✓ Passed  | 5 s
wallet_groups.py                                 | ✓ Passed  | 24 s
wallet_hd.py                                     | ✓ Passed  | 5 s
wallet_import_rescan.py                          | ✓ Passed  | 5 s
wallet_import_with_label.py                      | ✓ Passed  | 1 s
wallet_importdescriptors.py                      | ✓ Passed  | 4 s
wallet_importmulti.py                            | ✓ Passed  | 3 s
wallet_importprunedfunds.py                      | ✓ Passed  | 2 s
wallet_keypool.py                                | ✓ Passed  | 3 s
wallet_keypool_topup.py                          | ✓ Passed  | 2 s
wallet_labels.py                                 | ✓ Passed  | 1 s
wallet_listreceivedby.py                         | ✓ Passed  | 14 s
wallet_listsinceblock.py                         | ✓ Passed  | 3 s
wallet_listtransactions.py                       | ✓ Passed  | 27 s
wallet_multiwallet.py                            | ✓ Passed  | 13 s
wallet_multiwallet.py --usecli                   | ✓ Passed  | 43 s
wallet_reorgsrestore.py                          | ✓ Passed  | 3 s
wallet_resendwallettransactions.py               | ✓ Passed  | 3 s
wallet_txn_clone.py                              | ✓ Passed  | 2 s
wallet_txn_clone.py --mineblock                  | ✓ Passed  | 3 s
wallet_txn_doublespend.py                        | ✓ Passed  | 1 s
wallet_txn_doublespend.py --mineblock            | ✓ Passed  | 3 s
wallet_watchonly.py                              | ✓ Passed  | 1 s
wallet_watchonly.py --usecli                     | ✓ Passed  | 1 s
wallet_zapwallettxes.py                          | ✓ Passed  | 5 s

ALL                                              | ✓ Passed  | 880 s (accumulated) 
Runtime: 178 s

ninja: build stopped: cannot make progress due to previous errors.
Build build-diff failed with exit code 1

Tail of the build log:

cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-uint256_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=uint256_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-uint256_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[276/395] bitcoin: testing undo_tests
FAILED: src/test/CMakeFiles/check-bitcoin-undo_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-undo_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=undo_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-undo_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[277/395] bitcoin: testing checkpoints_tests
FAILED: src/test/CMakeFiles/check-bitcoin-checkpoints_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-checkpoints_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=checkpoints_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-checkpoints_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[278/395] bitcoin: testing compilerbug_tests
FAILED: src/test/CMakeFiles/check-bitcoin-compilerbug_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-compilerbug_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=compilerbug_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-compilerbug_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[279/395] bitcoin: testing validation_chainstatemanager_tests
FAILED: src/test/CMakeFiles/check-bitcoin-validation_chainstatemanager_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-validation_chainstatemanager_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=validation_chainstatemanager_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-validation_chainstatemanager_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[280/395] bitcoin: testing util_tests
FAILED: src/test/CMakeFiles/check-bitcoin-util_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-util_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=util_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-util_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[281/395] bitcoin: testing validationinterface_tests
FAILED: src/test/CMakeFiles/check-bitcoin-validationinterface_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-validationinterface_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=validationinterface_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-validationinterface_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[282/395] bitcoin: testing coins_tests
FAILED: src/test/CMakeFiles/check-bitcoin-coins_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-coins_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=coins_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-coins_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[283/395] bitcoin: testing script_standard_tests
FAILED: src/test/CMakeFiles/check-bitcoin-script_standard_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-script_standard_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=script_standard_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-script_standard_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[284/395] bitcoin: testing validation_block_tests
FAILED: src/test/CMakeFiles/check-bitcoin-validation_block_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-validation_block_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=validation_block_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-validation_block_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[285/395] bitcoin: testing versionbits_tests
FAILED: src/test/CMakeFiles/check-bitcoin-versionbits_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-versionbits_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=versionbits_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-versionbits_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[286/395] bitcoin: testing cashaddr_tests
FAILED: src/test/CMakeFiles/check-bitcoin-cashaddr_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-cashaddr_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=cashaddr_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-cashaddr_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[287/395] bitcoin: testing op_reversebytes_tests
FAILED: src/test/CMakeFiles/check-bitcoin-op_reversebytes_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-op_reversebytes_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=op_reversebytes_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-op_reversebytes_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[288/395] bitcoin: testing monolith_opcodes_tests
FAILED: src/test/CMakeFiles/check-bitcoin-monolith_opcodes_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-monolith_opcodes_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=monolith_opcodes_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-monolith_opcodes_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
[289/395] bitcoin: testing getarg_tests
FAILED: src/test/CMakeFiles/check-bitcoin-getarg_tests 
cd /work/abc-ci-builds/build-without-wallet/src/test && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/junit && /usr/bin/cmake -E make_directory /work/abc-ci-builds/build-without-wallet/test/log && /usr/bin/cmake -E env /work/cmake/utils/log-and-print-on-failure.sh /work/abc-ci-builds/build-without-wallet/test/log/bitcoin-getarg_tests.log /work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin --run_test=getarg_tests --logger=HRF,test_suite:JUNIT,message,bitcoin-getarg_tests.xml --catch_system_errors=no
/work/abc-ci-builds/build-without-wallet/src/test/test_bitcoin: symbol lookup error: /work/abc-ci-builds/build-without-wallet/src/libbitcoinconsensus.so.0: undefined symbol: _Z17G_TRANSLATION_FUNB5cxx11
ninja: build stopped: cannot make progress due to previous errors.
Build build-without-wallet failed with exit code 1
Fabien requested changes to this revision.Dec 14 2020, 07:25

The CI running builds with GCC (the default) needs to be fixed, as all the build fails with GCC 8 (debian stable version).
I suggest you disable it by default unless clang: true is set in the build config.

This revision now requires changes to proceed.Dec 14 2020, 07:25

use gold by default with gcc, lld with clang

Fabien requested changes to this revision.Dec 15 2020, 13:44
Fabien added inline comments.
contrib/aur/bitcoin-abc-bchn/PKGBUILD
41 ↗(On Diff #26378)

This is no longer needed, gold will be used as previously

contrib/debian/control
23 ↗(On Diff #26378)

Note that this is not really necessary anymore, but won't hurt

src/CMakeLists.txt
40 ↗(On Diff #26378)

Nit: set an explicit DEFAULT_LINKER "" fallback in the case another compiler is used (or is not detected as Clang nor GNU by CMake)

This revision now requires changes to proceed.Dec 15 2020, 13:44
This revision is now accepted and ready to land.Dec 15 2020, 16:15