[68235] trunk/dports/math/qrupdate

Ryan Schmidt ryandesign at macports.org
Mon May 31 15:32:01 PDT 2010


On May 29, 2010, at 14:43, mcalhoun at macports.org wrote:

> Revision: 68235
>          http://trac.macports.org/changeset/68235
> Author:   mcalhoun at macports.org
> Date:     2010-05-29 12:43:48 -0700 (Sat, 29 May 2010)
> Log Message:
> -----------
> qrupdate: Allow 32/64-bit universal build. Build shared libraries.

[snip]


> if {![variant_isset gcc43] && ![variant_isset gcc44] && ![variant_isset g95]} {
> -    default_variants +gcc43
> +    default_variants +gcc44
> }

I don't know if it's wise to change atlas and qrupdate to use gcc43 by default. There was an effort some time ago to ensure that the science ports all use the same default compiler (and there's a lot of overlap between the math and science ports so I think this applies here too) because linking with a library compiled with a different compiler can cause strange subtle bugs to appear. For some reason gcc43 was chosen as that default compiler across all science ports. I might have chosen gcc44 (the latest available at the time); then again it doesn't build for me on Tiger [1] and there might still be some desire to support that. Now that gcc45 is released I might choose that, though I might wait until MacPorts 1.9.0 is out so that I could use "configure.compiler macports-gcc-4.5", and since 4.5.0 just came out it may also still have problems in certain situations that we don't yet know about.

The point is until there is a concerted effort to change the default compiler of all math and science ports from gcc43 to something else, you should probably set the default compiler in atlas and qrupdate back to gcc43 to be in agreement with other science ports, like it was before.


[1] http://trac.macports.org/ticket/20753





More information about the macports-dev mailing list