Changes between Initial Version and Version 2 of Ticket #38732


Ignore:
Timestamp:
Apr 9, 2013, 9:13:51 PM (11 years ago)
Author:
larryv (Lawrence Velázquez)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #38732

    • Property Owner changed from macports-tickets@… to mww@…
    • Property Cc jeremyhu@… added
  • Ticket #38732 – Description

    initial v2  
    1 Please see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56835. It appears that the unnecessary patch...[[BR]]
    2 [[BR]]
    3 https://trac.macports.org/browser/trunk/dports/lang/gcc48/files/libstdc%2B%2B-configure-timespec.patch [[BR]]
    4 [[BR]]
    5 is breaking std::promise on darwin.[[BR]]
    6 [[BR]]
     1Please see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56835. It appears that the unnecessary patch [[source:trunk/dports/lang/gcc48/files/libstdc++-configure-timespec.patch|libstdc++-configure-timespec.patch]] is breaking std::promise on darwin.
    72
    8 The alternative fix of http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=192335 was checked in to achieve the goal of using[[BR]]
    9 nanosleep in c++11.[[BR]]
    10 [[BR]]
    11 Note that the fix I checked in for gcc 4.8.0 defaults darwin to --enable-libstdcxx-time so neither that option nor your hack needs to be applied.[[BR]]
    12 The g++-fsf-4.8 compiler on fink doesn't fail the test case reported in PR56835 but has nanosleep declared in the object file...[[BR]]
    13 [[BR]]
     3The alternative fix of http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=192335 was checked in to achieve the goal of using nanosleep in c++11.
     4
     5Note that the fix I checked in for gcc 4.8.0 defaults darwin to --enable-libstdcxx-time so neither that option nor your hack needs to be applied. The g++-fsf-4.8 compiler on fink doesn't fail the test case reported in PR56835 but has nanosleep declared in the object file...
     6
     7{{{
    148% cd /sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin12.3.0/libstdc++-v3/src/c++11[[BR]]
    159% nm thread.o | grep nanosleep[[BR]]
    1610                 U _nanosleep[[BR]]
    17 
    18 
    19 
    20 
    21 
     11}}}