"Direct access to weak symbol" warning in gitian macosx build #7337

issue laanwj opened this issue on January 13, 2016
  1. laanwj commented at 9:07 PM on January 13, 2016: member

    Not sure how serious this is, but while buildilng 0.12 in gitian a flood of the following errors appears:

    ld: warning: direct access in HTTPReq_JSONRPC(HTTPRequest*, std::string const&) to global weak symbol UniValue::~UniValue() means the weak symbol 
    cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    ld: warning: direct access in HTTPReq_JSONRPC(HTTPRequest*, std::string const&) to global weak symbol UniValue::~UniValue() means the weak symbol 
    cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
    
  2. laanwj added the label Mac on Jan 13, 2016
  3. laanwj added the label Build system on Jan 13, 2016
  4. theuni commented at 3:21 AM on January 15, 2016: member

    This isn't a big deal but it is annoying. We had these in boost for a long time until visibility was fixed there. It's caused by not passing our visibility flags down to univalue.

    There are 2 options here: pass our added flags down, or teach univalue about visibility. To be more specific, only the flags added inside of our own configure aren't passed along.

  5. laanwj added the label Priority Low on Feb 16, 2016
  6. laanwj removed the label Priority Low on Dec 6, 2017
  7. laanwj closed this on Mar 6, 2018

  8. 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