Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2005 14:29:22 -0700 (MST)
From:      Warner Losh <imp@bsdimp.com>
To:        tinderbox@freebsd.org
Cc:        current@freebsd.org
Subject:   Re: [current tinderbox] failure on amd64/amd64
Message-ID:  <20050126.142922.78737749.imp@bsdimp.com>
In-Reply-To: <20050126.142237.104061863.imp@bsdimp.com>
References:  <20050126180542.274137306E@freebsd-current.sentex.ca> <20050126.142237.104061863.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Warner Losh <imp@bsdimp.com>
Subject: Re: [current tinderbox] failure on amd64/amd64
Date: Wed, 26 Jan 2005 14:22:37 -0700 (MST)

> Subject: [current tinderbox] failure on amd64/amd64
> 
> > cc -O2 -pipe  -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-   -include /tinderbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -fno-omit-frame-pointer -I/tinderbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/src/sys/GENERIC -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /tinderbox/CURRENT/amd64/amd64/src/sys/modules/aio/../../kern/vfs_aio.c
> > In file included from /tinderbox/CURRENT/amd64/amd64/src/sys/modules/aio/../../kern/vfs_aio.c:28:
> > @/sys/buf.h: In function `BUF_KERNPROC':
> > @/sys/buf.h:340: warning: dereferencing type-punned pointer will break strict-aliasing rules
> > @/sys/buf.h:340: warning: dereferencing type-punned pointer will break strict-aliasing rules
> > @/sys/buf.h:340: warning: dereferencing type-punned pointer will break strict-aliasing rules
> > *** Error code 1
> 
> This looks ugly to fix.  Why are we compiling without
> -fno-strict-alias again?

I've decided that I'm disinclined to fix this because it compiles
correctly with the standard flags.  It is time to fix tinerbox to not
have these whacked out flags (eg lacking -fno-strict-alias).  There
turns out to be hundreds of these sorts of errors in the kernel right
now.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050126.142922.78737749.imp>