From owner-freebsd-stable Wed Jul 29 07:42:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA07279 for freebsd-stable-outgoing; Wed, 29 Jul 1998 07:42:19 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA07263 for ; Wed, 29 Jul 1998 07:42:07 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from hrotti.ifi.uio.no (2602@hrotti.ifi.uio.no [129.240.64.15]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with ESMTP id QAA11444; Wed, 29 Jul 1998 16:41:02 +0200 (MET DST) Received: (from dag-erli@localhost) by hrotti.ifi.uio.no ; Wed, 29 Jul 1998 16:41:01 +0200 (MET DST) Mime-Version: 1.0 To: kdulzo@enteract.com Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Optimizing breaks /bin/sh in 2.2.7-RELEASE References: <19980728125957.A24837@caffeine.internal.enteract.com> Organization: University of Oslo, Department of Informatics X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-other-addresses: 'finger dag-erli@ifi.uio.no' for a list X-disclaimer-1: The views expressed in this article are mine alone, and do X-disclaimer-2: not necessarily coincide with those of any organisation or X-disclaimer-3: company with which am or have been affiliated. X-Stop-Spam: http://www.cauce.org/ From: dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 29 Jul 1998 16:41:01 +0200 In-Reply-To: "Kevin M. Dulzo"'s message of "Tue, 28 Jul 1998 12:59:57 -0500" Message-ID: Lines: 12 X-Mailer: Gnus v5.5/Emacs 19.34 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id HAA07273 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Kevin M. Dulzo" writes: > It works properly when compiled -O. Any ideas? Also is it > safe to use optimization on the buildworld level. I did have no > problems with -O2 on 2.2.6... Yes, it's safe. Isn't -O2 the default? But it doesn't really give you much better performance than -O, and it's noticeably slower. I recommend setting CFLAGS to "-O -pipe". DES -- Dag-Erling Smørgrav - dag-erli@ifi.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message