[build-aux] Update Boost & check macros to latest serials #7711

pull fanquake wants to merge 1 commits into bitcoin:master from fanquake:build-aux-change changing 8 files +395 −219
  1. fanquake commented at 2:16 am on March 18, 2016: member
  2. jonasschnelli added the label Build system on Mar 18, 2016
  3. jonasschnelli commented at 7:22 am on March 18, 2016: contributor
    LGTM. ping @theuni
  4. theuni commented at 8:33 pm on March 18, 2016: member
    @fanquake: Looks like this drops our libsubdirs boost patch (which I thought made it upstream). Was that intentional?
  5. [build-aux] Update Boost & check macros to latest serials cf5c786fc3
  6. fanquake force-pushed on Mar 19, 2016
  7. fanquake commented at 7:24 am on March 19, 2016: member

    @theuni no, my mistake. The only patch of yours I can see being merged into Boost base was in serial 22.

    This patch hasn’t yet made it upstream.

    0    dnl some arches may advertise a cpu type that doesn't line up with their
    1    dnl prefix's cpu type. For example, uname may report armv7l while libs are
    2    dnl installed to /usr/lib/arm-linux-gnueabihf. Try getting the compiler's
    3    dnl value for an extra chance of finding the correct path.
    4    libsubdirs="lib/`$CXX -dumpmachine 2>/dev/null` $libsubdirs"
    
  8. laanwj commented at 9:48 am on March 23, 2016: member
    Is this ready for merge? (e.g. all patches are included now?)
  9. laanwj assigned theuni on Mar 31, 2016
  10. paveljanik commented at 1:31 pm on March 31, 2016: contributor

    Fixes #5516.

    configure output differences here (OS X: master->#7711):

    Expected:

    0-checking if compiler needs -Werror to reject unknown flags... yes
    1-checking whether pthreads work with -pthread... yes
    2+checking whether gcc is Clang... yes
    3+checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... -Qunused-arguments
    

    Unexpected:

    0-checking for __attribute__((visibility))... yes
    1+checking for __attribute__((visibility))... no
    

    ACK https://github.com/bitcoin/bitcoin/pull/7711/commits/cf5c786fc3244b6aedcc4a2f839f5248f95fafa1

  11. laanwj merged this on Apr 2, 2016
  12. laanwj closed this on Apr 2, 2016

  13. laanwj referenced this in commit a67bc5e128 on Apr 2, 2016
  14. laanwj added the label Needs backport on Apr 2, 2016
  15. theuni commented at 7:11 am on April 2, 2016: member
    Mm, I missed this before merge. @paveljanik to clarify, are you saying that after this change, the visibility attribute isn’t found? If so, that’ll be quite ugly at link time. I would think it would cause a flood of “visibility doesn’t match” warnings.
  16. paveljanik commented at 8:18 am on April 2, 2016: contributor
    No such warnings here…
  17. paveljanik commented at 8:28 am on April 2, 2016: contributor

    config.log here:

    0configure:20859: checking for __attribute__((visibility))
    1configure:20883: g++ -o conftest -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wno-self-assign  -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -isystem /opt/local/include -I/opt/local/include/db48 -DMAC_OSX  -Wl,-headerpad_max_install_names conftest.cpp  -L/opt/local/lib -L/opt/local/lib/db48 >&5
    2conftest.cpp:30:56: warning: target does not support 'protected' visibility; using 'default' [-Wunsupported-visibility]
    3                    int foo_pro( void ) __attribute__((visibility("protected")));
    4                                                       ^
    51 warning generated.
    6configure:20883: $? = 0
    7configure:20896: result: no
    
  18. laanwj commented at 9:02 am on April 2, 2016: member

    Must be due to this change:

    0                [visibility], [
    1                     int foo_def( void ) __attribute__(($1("default")));
    2                     int foo_hid( void ) __attribute__(($1("hidden")));
    3+                    int foo_int( void ) __attribute__(($1("internal")));
    4+                    int foo_pro( void ) __attribute__(($1("protected")));
    5                 ],
    

    Apparently it needs all kinds of visibility to be supported for that check.

    Still fine on ubuntu 14.04:

    0configure:20274: checking for __attribute__((visibility))
    1configure:20298: g++ -o conftest -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wno-self-assign  -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS  conftest.cpp  >&5
    2configure:20298: $? = 0
    3configure:20311: result: yes
    

    That’s kind of annoying as we don’t use ‘protected’ visibility at all, as far as I know.

  19. fanquake deleted the branch on May 12, 2016
  20. laanwj removed the label Needs backport on Sep 26, 2016
  21. laanwj added the label Needs backport on Sep 26, 2016
  22. laanwj added this to the milestone 0.12.2 on Sep 26, 2016
  23. codablock referenced this in commit 1091bf89f0 on Sep 16, 2017
  24. codablock referenced this in commit ec2e86705d on Sep 19, 2017
  25. zkbot referenced this in commit 33f7145fb2 on Nov 29, 2017
  26. zkbot referenced this in commit b2399c1951 on Nov 30, 2017
  27. zkbot referenced this in commit d3ca2706a8 on Nov 30, 2017
  28. zkbot referenced this in commit 02c4467cb5 on Nov 30, 2017
  29. codablock referenced this in commit ee408484b4 on Dec 9, 2017
  30. codablock referenced this in commit 8e7a7a8b7f on Dec 19, 2017
  31. codablock referenced this in commit a5505e7e8c on Dec 19, 2017
  32. fanquake removed the label Needs backport on Mar 7, 2018
  33. 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: 2024-11-17 18:12 UTC

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