#51724 closed enhancement (fixed)
compilers-1.0: default to gcc6
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | seanfarley (Sean Farley), dstrubbe (David Strubbe), gnw3 | |
Port: |
Description
The compilers 1.0 portgroup contains this line:
set compilers.gcc_default gcc5
Can this be changed to gcc6? gcc6 is the latest stable version of gcc at this time.
Change History (10)
comment:1 Changed 8 years ago by mf2k (Frank Schima)
comment:5 Changed 8 years ago by dstrubbe (David Strubbe)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 follow-up: 8 Changed 8 years ago by mojca (Mojca Miklavec)
I wonder if it would make sense to set this back to version 5 for 10.5/PPC (#51388). It might not help much though if default version is hardcoded at so many other places.
comment:7 Changed 8 years ago by dstrubbe (David Strubbe)
Oh, I was not aware of that ticket. Yes we could certainly have the default set differently in that case. There are a lot of ports using the compilers portgroup although it is a minority of course, so it would help somewhat.
comment:8 Changed 8 years ago by dstrubbe (David Strubbe)
comment:9 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
If the issue is really specific to 10.5 PPC, you could write:
if {${os.platform} eq "darwin" && ${os.version} == 9 && ${os.arch} eq "powerpc"} { set compilers.gcc_default gcc5 } else { set compilers.gcc_default gcc6 }
Of course, I would rather fix #51388.
comment:10 Changed 8 years ago by dstrubbe (David Strubbe)
Committed r152299, pending solution of that ticket.
Note: See
TracTickets for help on using
tickets.
I switched to gcc6 for my ports and everything appears to work. However, I believe such a change should be brought up on the dev list to make sure that no one sees a problem with this.