From owner-cvs-src@FreeBSD.ORG Wed Jul 30 12:50:37 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8CE2237B401; Wed, 30 Jul 2003 12:50:37 -0700 (PDT) Received: from magic.adaptec.com (magic-mail.adaptec.com [208.236.45.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id C566643FA3; Wed, 30 Jul 2003 12:50:36 -0700 (PDT) (envelope-from scottl@freebsd.org) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6/8.11.6) with ESMTP id h6UJoao13825; Wed, 30 Jul 2003 12:50:36 -0700 Received: from freebsd.org (hollin.btc.adaptec.com [10.100.253.56]) by redfish.adaptec.com (8.8.8p2+Sun/8.8.8) with ESMTP id MAA15753; Wed, 30 Jul 2003 12:50:35 -0700 (PDT) Message-ID: <3F2820F3.6020501@freebsd.org> Date: Wed, 30 Jul 2003 13:48:03 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Baldwin References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: Ruslan Ermilov cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/release Makefile X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2003 19:50:38 -0000 John Baldwin wrote: > On 30-Jul-2003 Ruslan Ermilov wrote: > >>ru 2003/07/30 07:46:46 PDT >> >> FreeBSD src repository >> >> Modified files: >> release Makefile >> Log: >> The -Os kernel build with GCC 3.3.1 also requires -fno-strict-aliasing >> to survive. >> >> Discussed with: bde >> Tested on: i386 and pc98 > > > I thought Peter just committed a fix for this to the kernel. > Peter's fix to pcpu.h only fixed one symptom. The warning is generated in many other places too, and I think that Ruslan was trying to fix it at a top level rather than obfuscate a lot of kernel code to keep gcc quiet. My complaint is that -fno-strict-aliasing should be set in /sys/conf and not be a special case for just thre release scripts. Scott