cvs commit: src/release Makefile

Scott Long scottl at freebsd.org
Wed Jul 30 12:50:38 PDT 2003


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



More information about the cvs-src mailing list