cvs commit: src/release Makefile

John Baldwin jhb at FreeBSD.org
Wed Jul 30 13:48:27 PDT 2003


On 30-Jul-2003 Scott Long wrote:
> 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.

Agreed.

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


More information about the cvs-all mailing list