Date: Fri, 19 Mar 2004 09:26:00 -0800 From: "David O'Brien" <obrien@freebsd.org> To: des@freebsd.org Cc: amd64@freebsd.org Subject: Re: [current tinderbox] failure on amd64/amd64 Message-ID: <20040319172600.GA19851@dragon.nuxi.com> In-Reply-To: <20040319133036.7BC637303A@freebsd-current.sentex.ca> References: <20040319133036.7BC637303A@freebsd-current.sentex.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 19, 2004 at 08:30:36AM -0500, FreeBSD Tinderbox wrote: ... > cc -c -O2 -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/other/tinderbox/CURRENT/amd64/amd64/src/sys -I/other/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/acpica -I/other/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ipfilter -I/other/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/pf -I/other/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath -I/other/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath/freebsd -I/other/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /other/tinderbox/CURRENT/amd64/amd64/src/sys/cam/cam_periph.c > In file included from /other/tinderbox/CURRENT/amd64/amd64/src/sys/cam/cam_periph.c:41: > /other/tinderbox/CURRENT/amd64/amd64/src/sys/sys/buf.h: In function `BUF_KERNPROC': > /other/tinderbox/CURRENT/amd64/amd64/src/sys/sys/buf.h:353: warning: dereferencing type-punned pointer will break strict-aliasing rules > /other/tinderbox/CURRENT/amd64/amd64/src/sys/sys/buf.h:353: warning: dereferencing type-punned pointer will break strict-aliasing rules > /other/tinderbox/CURRENT/amd64/amd64/src/sys/sys/buf.h:353: warning: dereferencing type-punned pointer will break strict-aliasing rules > *** Error code 1 Hi DES, Is it possible to use the default COPTFLAGS for AMD64? The default is now -O2. Which becomes "-O2 -fno-strict-aliasing" due to . if ${COPTFLAGS:M-O[23s]} != "" in kern.pre.mk. I'm courious why you're not getting -fno-strict-aliasing when you set the tenderbox run up for -O2.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040319172600.GA19851>