[MacPorts] #38732: gcc48 is broken by configure-timespec.patch

MacPorts noreply at macports.org
Tue Apr 9 13:46:07 PDT 2013


#38732: gcc48 is broken by configure-timespec.patch
-----------------------+--------------------------------
 Reporter:  howarth@…  |      Owner:  macports-tickets@…
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.1.3
 Keywords:             |       Port:  gcc48
-----------------------+--------------------------------
 Please see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56835. It appears
 that the unnecessary patch...[[BR]]
 [[BR]]
 https://trac.macports.org/browser/trunk/dports/lang/gcc48/files/libstdc%2B
 %2B-configure-timespec.patch [[BR]]
 [[BR]]
 is breaking std::promise on darwin.[[BR]]
 [[BR]]

 The alternative fix of
 http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=192335 was checked
 in to achieve the goal of using[[BR]]
 nanosleep in c++11.[[BR]]
 [[BR]]
 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]]
 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]]
 [[BR]]
 % cd /sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-
 darwin12.3.0/libstdc++-v3/src/c++11[[BR]]
 % nm thread.o | grep nanosleep[[BR]]
                  U _nanosleep[[BR]]

-- 
Ticket URL: <https://trac.macports.org/ticket/38732>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list