From owner-freebsd-amd64@FreeBSD.ORG Fri Mar 19 09:26:05 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF41716A4CE; Fri, 19 Mar 2004 09:26:05 -0800 (PST) Received: from TRANG.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id B078B43D2D; Fri, 19 Mar 2004 09:26:05 -0800 (PST) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by TRANG.nuxi.com (8.12.11/8.12.10) with ESMTP id i2JHQ5i5022727; Fri, 19 Mar 2004 09:26:05 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.11/8.12.11/Submit) id i2JHQ1dB022722; Fri, 19 Mar 2004 09:26:01 -0800 (PST) (envelope-from obrien) Date: Fri, 19 Mar 2004 09:26:00 -0800 From: "David O'Brien" To: des@freebsd.org Message-ID: <20040319172600.GA19851@dragon.nuxi.com> References: <20040319133036.7BC637303A@freebsd-current.sentex.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040319133036.7BC637303A@freebsd-current.sentex.ca> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: amd64@freebsd.org Subject: Re: [current tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2004 17:26:06 -0000 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.