Opened 11 years ago

Closed 11 years ago

#38758 closed update (duplicate)

update gcc48 to 4.8.0 release and change libstdc++-devel subport to libstdc++

Reported by: howarth@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: gcc48

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

The attached Portfile.diff updates the gcc48 Portfile to build the 4.8.0 release. It also merges in the differences with the gcc47 Portfile such as using ecj (which is required for gcj to compile java). This works fine on darwin10 and later which have the compatibility unwinder. It also adds the skip-libffi-install.patch patch from upstream. The gcc 4.8.0 release, which has an remerge of upstream libffi) installs files which conflict with a libffi package. The patch prevents libffi from installing as it is unnecessary at run time. The libffi static lib is only used as a convenience library in building libgcj and libffi doesn't need to be installed. The new Portfile also switches the libstdc++-devel subport to the libstdc++ subport.

Attachments (2)

skip-libffi-install.patch (1.5 KB) - added by howarth@… 11 years ago.
patch to skip installation of libffi
Portfile.diff (7.0 KB) - added by howarth@… 11 years ago.
add requested epoch

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by howarth@…

Attachment: skip-libffi-install.patch added

patch to skip installation of libffi

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

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

This had previously been requested in #38500.

As mentioned in comment:ticket:38500:6, the epoch must be increased, otherwise users will not be prompted to upgrade.

If the libstdcxx-devel subport is changed to libstdcxx, as I agree it probably should be, then the libstdcxx subport needs to be removed from the gcc47 port in the same commit, otherwise there will be indexing problems.

comment:2 Changed 11 years ago by mf2k (Frank Schima)

Cc: jeremyhu@… added
Version: 2.1.3

comment:3 Changed 11 years ago by howarth@…

Updated the Portfile diff in order to eliminate the usage of two different unwinders with code linked against libstdc++. See ticket 38732.

Changed 11 years ago by howarth@…

Attachment: Portfile.diff added

add requested epoch

comment:4 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.