This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: CCP4
On Wed, Nov 15, 2006 at 12:32:43PM -0800, Brooks Moses wrote:
> Jack Howarth wrote:
> > Have any of you built the CCP4 crystallographic
> >suite with gfortran? I just finished making new
> >multilib packaging for PPC and Intel Darwin using
> >the current gcc 4.2 shapshot and the fink maintainer
> >of ccp4 complained of some breakage in his package.
> >I discovered that ccp4 was using makefiles adjusted
> >for gcc 4.0.2 which had whole directories being built
> >at -O1 and -O0. Bumping everything up to -O3 and
> >using the shared library support eliminated the
> >segfaults that the ccp4 maintainer complained about.
>
> It works correctly at -O3, but breaks at -O1 and -O0? That seems rather
> concerning! Is there some reason I'm missing why this is innocuous?
>
Brooks,
Re-read what Jack wrote. The author of ccp4 used -O0 and -O1
with gcc-4.0.2. gfortran is severely broken in that version.
Jack is using gcc-4.2.0 and -O3. This is essentially a totally
different compiler.
Since this is the first time that I've heard of ccp4, it seems
its author did not report any bugs. Oh well, we can't fix things
if people don't report problems.
--
Steve