NetBSD Problem Report #1572
From gnats Thu Oct 5 22:31:59 1995
Received: from struis.fwi.uva.nl (struis.fwi.uva.nl [146.50.14.20]) by sun-lamp.pc.cs.cmu.edu (8.6.11/8.6.10) with ESMTP id WAA00887 for <gnats-bugs@gnats.netbsd.org>; Thu, 5 Oct 1995 22:31:58 -0400
Message-Id: <199510032245.XAA00839@struis.fwi.uva.nl>
Date: Tue, 3 Oct 1995 23:45:25 +0100
From: Frank van der Linden <frank@struis.fwi.uva.nl>
Reply-To: frank@fwi.uva.nl
To: gnats-bugs@gnats.netbsd.org
Subject: Over-enthusiastic optimization level in kernel compile
X-Send-Pr-Version: 3.2
>Number: 1572
>Category: port-i386
>Synopsis: Over-enthusiastic optimization level in kernel compile
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 05 22:35:00 +0000 1995
>Closed-Date: Tue Jan 16 06:52:33 +0000 1996
>Last-Modified: Tue Jan 16 06:53:00 +0000 1996
>Originator: Frank van der Linden
>Release: 1.0A
>Organization:
BugSpray, Inc.
>Environment:
NetBSD natte 1.0A NetBSD 1.0A (NATTE) #4: Tue Oct 3 19:43:10 MET 1995 frank@natte:/nfs/natte/nat1/src/sys/arch/i386/compile/NATTE i386
>Description:
arch/i386/conf/Makefile.i386 specifies -O6 in the compile flags.
However, for the i386, the maximum level supported by gcc is 2,
so -O6 makes no sense (it is treated the same as -O2).
>How-To-Repeat:
Read the code.
>Fix:
Change to -O2. Or leave this for future expansion, but I'm not
sure if there'll be 4 more optimization levels for the i386 in
gcc anytime in the near future.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: mycroft
State-Changed-When: Tue Jan 16 01:52:33 EST 1996
State-Changed-Why:
This is certainly not a bug.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.