Build: Errors “make install” version 0.21 on Manjaro. #20894

issue felipsoarez openend this issue on January 9, 2021
  1. felipsoarez commented at 7:18 pm on January 9, 2021: none

    First of all I apologize if I am making a mistake.

    I looked for any information on this subject and found nothing

    I was configuring bitcoin-0.21 when in the make command this warning came up:

    My system is:

    OS: Manjaro 20.2.1 Nibia Kernel: x86_64 Linux 5.10.2-2-MANJARO

    and these errors:

    I was looking at this issue #18891 that I believe has some relationship.

    Can anyone guide me in this problem?

    Did I do something wrong in the installation and configuration?

  2. felipsoarez added the label Bug on Jan 9, 2021
  3. jonatack commented at 7:26 pm on January 9, 2021: member
    Heh, welcome to the club 😀, see #20797.
  4. jonatack commented at 7:31 pm on January 9, 2021: member
    (I suspect I had borked my builds in some way, thought I was using clang but getting a gcc warning, etc. It may have been an issue in an update; I don’t know what happened but have seen it neither before nor since.)
  5. MarcoFalke commented at 9:31 am on January 10, 2021: member

    I was configuring bitcoin-0.21 when in the make command this warning came up:

    Unrelated, but you are building the master branch, not the 0.21 branch. What does git log -1 say?

    Also, what are the steps to reproduce after a make distclean?

  6. hebasto commented at 10:28 am on January 10, 2021: member
    From my experience (building different branches with different compilers in a row) it is a good practice to make clean after any configure run (tbh, I’m using bash aliases).
  7. jonatack commented at 10:49 am on January 10, 2021: member

    Yes agreed, but it did not prevent this issue for me. I saw it several builds in a row with make distclean between each one. Then, after apt updating and restarting, the issue was gone.

    If there is a way to reliably reproduce the issue I’d be interested to try reproducing.

  8. jarolrod commented at 6:06 am on January 14, 2021: member
    Confirming that I got the same error on Manjaro 20.2.1 while building master
  9. MarcoFalke commented at 9:34 am on January 14, 2021: member
    What are the steps to reproduce on a fresh system install?
  10. jarolrod commented at 4:15 pm on January 14, 2021: member

    @MarcoFalke, I get the warning about CTxMemPool not the errors. My System: Manjaro Kernel 5.10.2, AMD Ryzen 5 3600, gcc 10.2.0, Gnu Make 4.3

    Replicate: (on my Manjaro machine):

    • Clone master
    • run through the compilation process
      • ./autogen.sh -> ./configure --without-bdb -> make -jx
    • Get the warning about CTxMemPool

    Note: I cannot replicate on my 2020 Intel MacBook Pro with macOS Big Sur 11.1, clang 12.0, Gnu Make 3.81

  11. MarcoFalke commented at 5:17 pm on January 14, 2021: member
    Ok, closing for now. Let me know if this is still an issue after #20894 (comment)
  12. MarcoFalke closed this on Jan 14, 2021

  13. felipsoarez commented at 3:12 pm on January 15, 2021: none

    In my problem I managed to solve the configuration error, following the procedures of Arch Linux.

    $ sudo pacman -S git base-devel boost libevent python

    $ ./autogen.sh

    $ ./configure --disable-wallet --without-gui --without-miniupnpc

    $ make check

    Results:

  14. rebroad commented at 1:04 pm on February 24, 2021: contributor

    Compiling 0.21.1 on raspbian and getting similar errors:-

    make[3]: Leaving directory ‘/home/pi/src/bitcoin-core-v0.21.1’ CXXLD bitcoind /usr/bin/ld: bitcoind-bitcoind.o: in function std::chrono::duration<long long, std::ratio<1ll, 1000000ll> > std::chrono::__duration_cast_impl<std::chrono::duration<long long, std::ratio<1ll, 1000000ll> >, std::ratio<1000ll, 1ll>, long long, false, true>::__cast<long long, std::ratio<1ll, 1000ll> >(std::chrono::duration<long long, std::ratio<1ll, 1000ll> > const&)': /usr/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../include/c++/8/chrono:168: undefined reference to __mulodi4’ /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function AppInitParameterInteraction(ArgsManager const&)': /home/pi/src/bitcoin-core-v0.21.1/src/init.cpp:1102: undefined reference to __mulodi4’ /usr/bin/ld: /home/pi/src/bitcoin-core-v0.21.1/src/init.cpp:1103: undefined reference to __mulodi4' /usr/bin/ld: /home/pi/src/bitcoin-core-v0.21.1/src/init.cpp:1103: undefined reference to __mulodi4’ /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o): in function AppInitMain(util::Ref const&, NodeContext&, interfaces::BlockAndHeaderTipInfo*)': /home/pi/src/bitcoin-core-v0.21.1/src/init.cpp:1532: undefined reference to __mulodi4’ /usr/bin/ld: libbitcoin_server.a(libbitcoin_server_a-init.o):/home/pi/src/bitcoin-core-v0.21.1/src/init.cpp:1532: more undefined references to `__mulodi4’ follow

  15. DrahtBot locked this on Aug 18, 2022

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: 2024-07-05 22:12 UTC

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