Compile error when using boost-1.66.0 #12116

issue capocasa opened this issue on January 8, 2018
  1. capocasa commented at 6:07 PM on January 8, 2018: none

    <!-- Describe the issue -->

    I built bitcoin using the normal commands while having boost-1.66.0 installed on my arch linux system.

    ./autogen.sh ./configure make

    <!--- What behavior did you expect? -->

    The build should complete and let me run bitcoind and bitcoin-cli

    <!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

    Instead, the build terminates with an error:

    /usr/include/boost/multi_index/detail/ord_index_impl.hpp:1181:7: error: no match for call to ‘(const key_compare {aka const CompareModifiedEntry}) (const CTxMemPoolModifiedEntry&, CTxMemPoolModifiedEntry&)’
           if(comp_(key(v),key(y->value())))return false;
    

    Full outbut below.

    <!--- How reliably can you reproduce the issue, what are the steps to do so? -->

    Always happens.

    <!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->

    Build error happens with 0.15.0 and 0.15.0.1

    <!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

    Intel Core i7 with SSD and Arch Linux

    <!-- Any extra information that might be useful in the debugging process. -->

    The issue is no longer present when downgrading to boost-1.65.1.

    The issue is present regardless of which additional arguments are given to ./configure

    <!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->

    Full output from ./configure and make :

    https://gist.github.com/carlocapocasa/5f31ac2bd7c1ce3f09f4fc1474ad2cb3

  2. fanquake added the label Linux/Unix on Jan 11, 2018
  3. sipa commented at 6:41 AM on January 16, 2018: member

    Closing as duplicate of #11837

  4. sipa closed this on Jan 16, 2018

  5. MarcoFalke locked this on Sep 8, 2021
Contributors

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-13 15:15 UTC

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