RFC: Boost Process requires boost::filesystem when compiling with mingw #24036

issue hebasto openend this issue on January 11, 2022
  1. hebasto commented at 3:14 pm on January 11, 2022: member

    Working on “Use std::filesystem. Remove Boost Filesystem & System” #20744, I found an unfortunate pitfallboost/process.hpp depends on boost::filesystem when cross-compiling for Windows. It happens in Guix environment as well.

    The goal of this issue is to discuss and find a solution to get rid of boost::filesystem.

  2. hebasto added the label Brainstorming on Jan 11, 2022
  3. hebasto added the label Windows on Jan 11, 2022
  4. laanwj commented at 4:14 pm on January 11, 2022: member

    Is it a problem that something uses boost::filesystem? Does it conflicts with our own (non-use), or is it a lot of extra code to build? At least it could be specifically gated for the windows build.

    In the longer run boost::process could be replaced with another library, or some own solution. It doesn’t seem like rocket science though it is tricky to get right in a cross-platform way (especially windows, I guess :smile:)

  5. hebasto commented at 4:22 pm on January 11, 2022: member
    Cross-compiling is successful only when a build system has been configured with --disable-external-signer.
  6. fanquake closed this on Jan 20, 2022

  7. DrahtBot locked this on Jan 20, 2023

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-12-18 15:12 UTC

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