New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #33544 (closed enhancement: fixed)

Opened 15 months ago

Last modified 14 months ago

Change default gfortran/gcj dependency from gcc44 to gcc45

Reported by: jmr@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: Tom.Schoonjans@…, adfernandes@…, daniel.price@…, devans@…, dmeliza@…, eborisch@…, howarth@…, jameskyle@…, jochen@…, jonesc@…, julians37@…, jwa@…, kevin@…, kjell.konis@…, mattiafrancescomoro@…, mcalhoun@…, michaelld@…, mk@…, mmoll@…, mnick@…, mww@…, pandagoat@…, peter@…, pixilla@…, ram@…, ryandesign@…, sb@…, swinbank@…, takeshi@…, russell.jones@…
Port:

Description

This is a kind of sequel to #20103. If this change isn't appropriate for your port, please speak up. If there are any problems with gcc45 that need to be worked out before this can go ahead, please mention those too.

Attachments

gcc44-ports.txt (2.3 KB) - added by jmr@… 15 months ago.
list of affected ports
gcc45.diff (48.9 KB) - added by jmr@… 14 months ago.

Change History

Changed 15 months ago by jmr@…

list of affected ports

comment:1 follow-up: ↓ 3 Changed 15 months ago by ram@…

Any reason not to go to gcc46?

comment:2 follow-up: ↓ 7 Changed 15 months ago by ryandesign@…

pure-gen already had gcc43 gcc44 gcc45 variants and I've been using the gcc45 variant so in r90574 I made that the default. In r90577 I added a gcc46 variant.

cdf didn't have gcc variants; it always used gcc44. In r90575 I added gcc44 gcc45 gcc46 variants and left the default at gcc44. Ideally I'd wait until after I've updated cdf to the next version before changing its gcc default.

comment:3 in reply to: ↑ 1 ; follow-up: ↓ 4 Changed 15 months ago by jmr@…

It's best if this happens all at once, as otherwise new installs will tend to get multiple gcc versions during the transition.

Replying to ram@…:

Any reason not to go to gcc46?

It's apparently missing gcj (#30357), and I get the general impression that there are more tickets about current problems for 46 than 45 (this might not be true).

comment:4 in reply to: ↑ 3 Changed 15 months ago by ram@…

Replying to jmr@…:

It's apparently missing gcj (#30357), and I get the general impression that there are more tickets about current problems for 46 than 45 (this might not be true).

That would be a good reason. No objections from me.

comment:5 Changed 15 months ago by peter@…

The miriad port already uses gcc45 as its default variant. I needed to push an update anyway, so I've done that in #33567 and also added a gcc46 variant as an option.

Changed 14 months ago by jmr@…

comment:6 Changed 14 months ago by jmr@…

I've attached a patch that implements this change.

comment:7 in reply to: ↑ 2 ; follow-up: ↓ 12 Changed 14 months ago by jmr@…

Replying to ryandesign@…:

Ideally I'd wait until after I've updated cdf to the next version before changing its gcc default.

Why? Changing the default variant doesn't affect anyone who already has the port installed. The only other reason I can think of to wait until the next version to change it is if gcc45 doesn't work properly with the current version, in which case the variant should be disabled altogether for now. Or is there some other issue I'm not seeing?

comment:8 Changed 14 months ago by kjell.konis@…

I just modified my R port update (#33512) so that gcc45 is the default compiler.

comment:9 Changed 14 months ago by mmoll@…

I did the same for arpack in r90710. My other affected port, hdf5-18, is actually not affected: by default fortran bindings are not enabled.

comment:10 Changed 14 months ago by jmr@…

Again, it's best if this happens all at once. You needn't do anything if the patch is OK for your ports. I'll apply it soon.

comment:11 Changed 14 months ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed

comment:12 in reply to: ↑ 7 Changed 14 months ago by ryandesign@…

Replying to jmr@…:

Replying to ryandesign@…:

Ideally I'd wait until after I've updated cdf to the next version before changing its gcc default.

Why? Changing the default variant doesn't affect anyone who already has the port installed.

Yes, it does. Users who had cdf installed before r90575 will have it installed with gcc44 but will not have any variant set. When those users now upgrade to cdf 3.4.0, they will be switched to the gcc45 variant, which might not be what they wanted. Had we waited with switching the default variant to gcc45 until after the port was updated to 3.4.0, the upgrade would have occurred with gcc44, and the variant would then have been set, and would then have been kept through any future upgrades, regardless of what we change the default to later; the user would thus have been in control of the gcc version.

comment:13 follow-up: ↓ 14 Changed 14 months ago by russell.jones@…

gcc45 isn't building on 10.7.3 for me. Anyone else having this problem? I'll look into it further today and submit a ticket if I have time.

comment:14 in reply to: ↑ 13 Changed 14 months ago by ryandesign@…

  • Cc russell.jones@… added

Replying to russell.jones@…:

gcc45 isn't building on 10.7.3 for me. Anyone else having this problem? I'll look into it further today and submit a ticket if I have time.

It's off-topic for this ticket, which is closed and resolved. File a new ticket or discuss on the mailing list.

Note: See TracTickets for help on using tickets.