Making +gcc47 the default variant

Jack Howarth howarth at
Tue Feb 26 13:04:48 PST 2013

On Wed, Feb 27, 2013 at 07:32:54AM +1100, Joshua Root wrote:
> On 2013-2-27 06:55 , Adam Mercer wrote:
> > On Tue, Feb 26, 2013 at 1:32 PM, Lawrence Velázquez <larryv at> wrote:
> > 
> >> What do folks think about changing the default compiler variant to +gcc47?
> > 
> > +1
> To make it happen, someone needs to go through all the ports returned by
> `port echo variant:gcc45 or depends:gcc45` and make the appropriate
> changes in their working copy, make a ticket (like #33544) with the svn
> diff attached and all the maintainers Cc'd, wait for them to all ack the
> changes or time out, deal with any issues raised, and finally commit.
> Ports that don't have one already should probably get a gcc46 variant at
> the same time. Although gcj is still turned off in gcc46, so probably
> not Java-compiled ports then? The only explanation in the portfile
> mentions not working with "10.5/Xcode 3.x", which doesn't seem like a
> good reason to turn it off everywhere...

   FYI, the problem with gcj on darwin9 is that FSF gcc now emits epilogue
notes in the  _eh_frames which causes the system unwinder on darwin9 to
puke. Fortunately, when the compact unwinder was added in darwin10, the
old system unwinder was replaced with a compatibility unwinder which
tolerates the epilogue notes in _eh_frames. A patch for darwin9 was proposed
awhile back but never progressed into gcc trunk...

> - Josh
> _______________________________________________
> macports-dev mailing list
> macports-dev at

More information about the macports-dev mailing list