From owner-freebsd-current@FreeBSD.ORG Mon Mar 15 06:58:54 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4997316A4CE; Mon, 15 Mar 2004 06:58:54 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13D3943D1D; Mon, 15 Mar 2004 06:58:54 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 099B2530E; Mon, 15 Mar 2004 15:58:52 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 131F4530A; Mon, 15 Mar 2004 15:58:31 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id 888A633CA7; Mon, 15 Mar 2004 15:58:31 +0100 (CET) To: Harald Schmalzbauer References: <200403151548.51218.h@schmalzbauer.de> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Mon, 15 Mar 2004 15:58:31 +0100 In-Reply-To: <200403151548.51218.h@schmalzbauer.de> (Harald Schmalzbauer's message of "Mon, 15 Mar 2004 15:48:46 +0100") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL autolearn=no version=2.63 cc: wpaul@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: -Os and ndispatch.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 14:58:54 -0000 Harald Schmalzbauer writes: > Please forget the following lines if "CFLAGS=3D -Os -pipe" is known to > be unsupported. We only support -O1. All other values are known to be broken in various ways. Parts of the kernel rely on dead code elimination to avoid warnings; parts of userland play pointer games which the ISO C standard does not permit; some inline asm code may be broken in ways that only affect code compiled with -O2 or higher. Note that -O2 and -O3 used to produce incorrect code in some cases, but AFAIK these issues have all been fixed in gcc, and the remaining bugs are in our own code. > /usr/src/lib/libc/net/nsdispatch.c: In function `nss_configure': > /usr/src/lib/libc/net/nsdispatch.c:344: warning: dereferencing type-punne= d pointer will break strict-aliasing rules > [...] I fixed those this morning. > If I understand things right it should be part of Project Evil, so > perhaps Bill Paul is interested in. No. It has nothing to do with Project Evil. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no