[current tinderbox] failure on ...all...

Ruslan Ermilov ru at FreeBSD.org
Fri Jun 10 07:18:39 GMT 2005


Hi DES,

On Fri, Jun 10, 2005 at 09:03:28AM +0200, Dag-Erling Sm?rgrav wrote:
> Joseph Koshy <joseph.koshy at gmail.com> writes:
> > I suspect that the tinderboxes use a different (stricter) set of
> > compiler flags than the 'make buildworld' / 'make universe' ones.
> > Specifically, the regular build uses -fno-strict-aliasing.
> 
> the tinderbox uses -O2 -pipe.
> 
> -fno-strict-aliasing is evil.  its only function is to hide bugs.
> please please please do not use it when testing new code.
> 
hammer# uname -sr
FreeBSD 6.0-CURRENT
hammer# make -f /dev/null -V CFLAGS
-O2 -fno-strict-aliasing -pipe 

Running tinderboxes with different flags has shown (numerous times
now) to be a PITA.  *PLEASE* line it up with the current CFLAGS,
or rather do *not* set CFLAGS by its own, but let "make foo" set
them as defined by sys.mk version from the compiled sources.

And if you feel that -fno-strict-aliasing is evil, why not dike it
out from sys.mk?


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050610/df6c249d/attachment.bin


More information about the freebsd-current mailing list