Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2003 13:48:03 -0600
From:      Scott Long <scottl@freebsd.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/release Makefile
Message-ID:  <3F2820F3.6020501@freebsd.org>
In-Reply-To: <XFMail.20030730153507.jhb@FreeBSD.org>
References:  <XFMail.20030730153507.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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