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
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:36 UTC