Dear Jeff and Bill

I just found this very strange behaviour of g77 3.4:

The Makefile-way seg-faults:
g77 -O2 -funroll-loops -ffast-math -fno-second-underscore -fno-globals -fno-automatic -c -o /Volumes/Momobay/xray_apps/ccp4-4.2.2/src/lsq_plane_derivs.o /Volumes/Momobay/xray_apps/ccp4-4.2.2/src/refmac5_/lsq_plane_derivs.f


Switching from -O2 to -O works:
g77 -O -funroll-loops -ffast-math -fno-second-underscore -fno-globals -fno-automatic -c -o /Volumes/Momobay/xray_apps/ccp4-4.2.2/src/lsq_plane_derivs.o /Volumes/Momobay/xray_apps/ccp4-4.2.2/src/refmac5_/lsq_plane_derivs.f


Removing -funroll-loops works:
g77 -O2 -ffast-math -fno-second-underscore -fno-globals -fno-automatic -c -o /Volumes/Momobay/xray_apps/ccp4-4.2.2/src/lsq_plane_derivs.o /Volumes/Momobay/xray_apps/ccp4-4.2.2/src/refmac5_/lsq_plane_derivs.f


Optimizing problem? Obviously not, because
using relative paths works, too, even with -O2 and -funroll-loops! :
g77 -O2 -funroll-loops -ffast-math -fno-second-underscore -fno-globals -fno-automatic -c -o lsq_plane_derivs.o refmac5_/lsq_plane_derivs.f


So, my guess is, that the size of the argument list was somehow exceeded.
I am curious, if this is also valid for Bill's two failures.


I could now compile the whole suite of CCP4 and refmac 5 was the only program which caused troubles.

Cheers,
Markus

On 12 Nov 2003, at 07:06, [EMAIL PROTECTED] wrote:

Dear Markus and Jeff:

That is really weird. For me, refmac5 builds fine, but two other programs in the CCP4 suite seg fault. These are in molrep and sfcheck. I also have g77 3.4 on one of my computers that is running 10.2.8 and the December 2002 + Aug 2003 developer tools. I have no problems with the compiler seg faulting on that system.

Markus Meier M. E. M�ller Institut Biozentrum der Universit�t Basel Klingelbergstrasse 70 CH-4056 Basel Tel.: +41 61 267 20 91 Fax: +41 61 267 21 09



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to