Opened 11 years ago

Last modified 11 years ago

#38774 closed defect

gcc47 update to support libgcc*dylib move to libstdcxx in gcc48 — at Version 3

Reported by: howarth@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: haspatch Cc: egall@…
Port: gcc47

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The attached packaging removes the libstdcxx subport from gcc47 since gcc48 now contains it as well as implementing the changes to support the move of the libgcc*dylib files into the libstdcxx subpart. Also added patch to backport the nanosleep support for threads in c++11.

Change History (6)

Changed 11 years ago by howarth@…

Attachment: Portfile.diff added

Portfile diff to deprecate libstdcxx subport in gcc47 and support the move of libgcc*dylib to libstdcxx subport in gcc48

Changed 11 years ago by howarth@…

Attachment: libstdc++_nanosleep.patch added

backport of fix to support nanosleep in threads on c++11

comment:1 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:2 Changed 11 years ago by howarth@…

Confirmed that this packaging installs cleanly with the new gcc48 packaging and that the test case from ticket #38732 now compiles and runs properly using gcc47 ...

% g++-mp-4.7 -std=c++11 test.cc
% ./a.out
doing the test
success, result is 1
Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

Changed 11 years ago by howarth@…

Attachment: test.cc added

test case that demonstrates current gcc47 uses two unwinders

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: haspatch added
Owner: changed from macports-tickets@… to mww@…

This patch to remove the libstdcxx subport from the gcc47 port should be committed either before or at the same time as the libstdcxx subport is added to the gcc48 port using the patch in #38758, to avoid the indexing failure that would result from having two (sub)ports of the same name in the tree at the same time.

Note: See TracTickets for help on using tickets.