gitian linking problem for Windows cross-compile #7492

issue midnightmagic opened this issue on February 9, 2016
  1. midnightmagic commented at 8:30 PM on February 9, 2016: contributor

    Attempting to build the Windows gitian build for any of the following tags fails on my system:

    v0.12.0rc{1,2}

    VM Host Details: Linux sentinel 3.13.0-55-generic #94-Ubuntu SMP Thu Jun 18 00:27:10 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux ii python-vm-builder 0.12.4+bzr489-0ubuntu2 all VM builder

    DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"

    Tail from var/build.log prior to error:

    CXXLD test/test_bitcoin.exe CXXLD bench/bench_bitcoin.exe /home/ubuntu/build/bitcoin/depends/x86_64-w64-mingw32/lib/libdb_cxx-4.8.a(cxx_env.o):cxx_env.cpp:(.data$_ZTISt9exception[_ZTISt9exception]+0x0): multiple definition of typeinfo for std::exception' bitcoind-bitcoind.o:bitcoind.cpp:(.rdata$_ZTISt9exception[_ZTISt9exception]+0x0): first defined here collect2: error: ld returned 1 exit status make[2]: *** [bitcoind.exe] Error 1 make[2]: *** Waiting for unfinished jobs.... /home/ubuntu/build/bitcoin/depends/x86_64-w64-mingw32/lib/libdb_cxx-4.8.a(cxx_env.o):cxx_env.cpp:(.data$_ZTISt9exception[_ZTISt9exception]+0x0): multiple definition oftypeinfo for std::exception' test/test_test_bitcoin-arith_uint256_tests.o:arith_uint256_tests.cpp:(.rdata$_ZTISt9exception[_ZTISt9exception]+0x0): first defined here collect2: error: ld returned 1 exit status make[2]: *** [test/test_bitcoin.exe] Error 1 make[2]: Leaving directory /home/ubuntu/build/bitcoin/distsrc-x86_64-w64-mingw32/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/ubuntu/build/bitcoin/distsrc-x86_64-w64-mingw32/src' make: *** [all-recursive] Error 1

  2. laanwj added the label Build system on Feb 10, 2016
  3. laanwj commented at 10:25 AM on February 10, 2016: member

    Strange - no one else reported this. I wonder what is different about your setup.

  4. laanwj commented at 12:47 PM on February 16, 2016: member

    Can you try wiping the cache and building again? (preferably rc5) There were issues with a toolchain change in Ubuntu at approximately the same time that this happened, see also https://github.com/bitcoin/gitian.sigs/pull/305

  5. midnightmagic commented at 10:17 PM on February 18, 2016: contributor

    Success in 6d307c73881220f49728ede094f4ee65f0600849 PR: https://github.com/bitcoin/gitian.sigs/pull/313 Cleared my cache and added that to my build script logic; I believe cfields said something about fixing the problem so it's no longer a problem in IRC.

    In any event, all's well with rc5. Thanks!

  6. laanwj commented at 9:34 AM on February 19, 2016: member

    Awesome, closing this issue then

  7. laanwj closed this on Feb 19, 2016

  8. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-15 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me