[current tinderbox] failure on amd64/amd64

David O'Brien obrien at freebsd.org
Fri Mar 19 09:26:06 PST 2004


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.


More information about the freebsd-amd64 mailing list