Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Sep 2005 02:05:03 +0400 (MSD)
From:      "Boris B. Samorodov" <bsam@ipt.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   conf/85548: share/examples/etc/make.conf: delete -O2 warnings for 6.0-BETA3
Message-ID:  <200508312205.j7VM53Nl090972@mi.ipt.ru>
Resent-Message-ID: <200508312210.j7VMAUSW012338@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         85548
>Category:       conf
>Synopsis:       share/examples/etc/make.conf: delete -O2 warnings for 6.0-BETA3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 31 22:10:30 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Boris B. Samorodov
>Release:        FreeBSD 6.0-BETA3 i386
>Organization:
InPharmTech, Co.
>Environment:
System: FreeBSD mi.ipt.ru 6.0-BETA3 FreeBSD 6.0-BETA3 #2: Wed Aug 31 14:05:40 MSD 2005 bsam@mi.ipt.ru:/usr/obj/usr/src/sys/PROBA1 i386


>Description:
	As FreeBSD 6.0-BETA3 builds/installs/runs kernel/world safely with
	-O2 options, warnings should be removed. For 5.x it was done
	long ago.
>How-To-Repeat:
>Fix:

--- patch-make.conf begins here ---
--- make.conf.orig	Thu Sep  1 01:54:21 2005
+++ make.conf	Thu Sep  1 01:57:25 2005
@@ -49,8 +49,6 @@
 # or supported for compiling the world or the kernel - please revert any
 # nonstandard optimization settings to "-O" before submitting bug reports
 # without patches to the developers.
-# Note also that at this time the -O2 setting is known to expose bugs in
-# libalias(3), and possibly other parts of the system.
 #
 #CFLAGS= -O -pipe
 #
@@ -84,12 +82,6 @@
 # so can cause problems.
 #
 #COPTFLAGS= -O -pipe
-#
-# To build the system compiler such that it forces high optimization levels to
-# a lower one.  GCC -O2+ is known to trigger known optimizer bugs at various
-# times -- this is worse on the Alpha platform.  The value assigned here will
-# be the highest optimization value used.
-#WANT_FORCE_OPTIMIZATION_DOWNGRADE=1
 #
 # Compare before install
 #INSTALL=install -C
--- patch-make.conf ends here ---


WBR
-- 
bsam

>Release-Note:
>Audit-Trail:
>Unformatted:



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