From xemacs-m  Wed Feb 26 19:38:32 1997
Received: from venus.Sun.COM (venus.Sun.COM [192.9.25.5])
	by xemacs.org (8.8.5/8.8.5) with SMTP id TAA19119
	for <xemacs-beta@xemacs.org>; Wed, 26 Feb 1997 19:38:31 -0600 (CST)
Received: from Eng.Sun.COM ([129.146.1.25]) by venus.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id RAA11121; Wed, 26 Feb 1997 17:38:02 -0800
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id RAA10838; Wed, 26 Feb 1997 17:37:59 -0800
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id RAA05341; Wed, 26 Feb 1997 17:37:57 -0800
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id RAA26913; Wed, 26 Feb 1997 17:37:57 -0800
Date: Wed, 26 Feb 1997 17:37:57 -0800
Message-Id: <199702270137.RAA26913@xemacs.eng.sun.com>
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: Mark Borges <mdb@cdc.noaa.gov>
Cc: xemacs-beta@xemacs.org
Subject: Re: message-make-message-id problems, anybody?
In-Reply-To: <vkzpwszhf0.fsf@cdc.noaa.gov>
References: <199702251433.PAA18387@midnight.eng.ecf.teradyne.com>
	<rxsbu98fys3.fsf@midnight.ecf.teradyne.com>
	<m2pvxo7evy.fsf@altair.xemacs.org>
	<vkzpwszhf0.fsf@cdc.noaa.gov>
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>
Mime-Version: 1.0 (generated by tm-edit 7.100)
Content-Type: text/plain; charset=US-ASCII

>>>>> "Mark" == Mark Borges <mdb@cdc.noaa.gov> writes:

Mark> If this is a SUNWspro compiler (which is consistent with the -xO5
Mark> flag; sorry I missed the earlier part of the thread), then `-fast'
Mark> must be used with caution. It is a convenience switch, which turns on
Mark> other options, one of which is `-dalign'. If the other libraries
Mark> you're linking against were not compiled with this (-dalign) flag, the
Mark> results are unpredictable.

Mark> I ran into this when compiling some code that links in the Numerical
Mark> Algorithm Group (NAg) mathematical libraries. The NAg libs were
Mark> compiled with `-dalign' but the default compile flag does not include
Mark> it, and I was seeing random bus errors.

Mark> Martin?

I've never seen this, but I personally avoid -fast and -xO5.  -xO5
*did* work for me some time in the past.

/advert warning/
For a reliable C compiler, get the latest Sun Workshop (C 4.2), and compile
with -xO4.

This advice is applicable to many compilers - I wouldn't run AIX xlc
at its highest optimization level (O3) either.

Martin

