From owner-freebsd-current Thu Jul 22 21:34:23 1999 Delivered-To: freebsd-current@freebsd.org Received: from janus.syracuse.net (janus.syracuse.net [205.232.47.15]) by hub.freebsd.org (Postfix) with ESMTP id 454561569D for ; Thu, 22 Jul 1999 21:34:17 -0700 (PDT) (envelope-from green@FreeBSD.org) Received: from localhost (green@localhost) by janus.syracuse.net (8.9.2/8.8.7) with ESMTP id AAA32642; Fri, 23 Jul 1999 00:33:56 -0400 (EDT) X-Authentication-Warning: janus.syracuse.net: green owned process doing -bs Date: Fri, 23 Jul 1999 00:33:56 -0400 (EDT) From: "Brian F. Feldman" X-Sender: green@janus.syracuse.net To: Bruce Evans Cc: schuerge@wjpserver.CS.Uni-SB.DE, freebsd-current@FreeBSD.org Subject: Re: Still kernel compilation failures In-Reply-To: <199907230424.OAA01541@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 23 Jul 1999, Bruce Evans wrote: > >> > Put -O back in the COPTFLAGS. > >> > >> It works now. Is there any explaination why -O is required? :) > > > >Noone compiles without -O, so(/and) it's not supported. My take is > > It is supported, but someone broke it. Since when? Every so often someone comes along (from a pool of maybe 5 people who _don't_ use -O) and complains about it being broken. If anyone developing it actually used it, it wouldn't be broken. As it stands, there's no good reason not to have -O. > > >that EGCS says "Hey, I am in optimization level foobar! I can optimize > >for unused code. Hmm... that's unused, so...". Either that or its > >debugging support is really uNFed up. > > -O works because optimisation removes an unused reference to a nonexistent > variable. The variable once existed and was used. It still exists under > a different name. So I was right (in my way that totally denies any type of actual understanding ;)? You're the one to have delved deep into GCC :) > > Bruce > Brian Fundakowski Feldman _ __ ___ ____ ___ ___ ___ green@FreeBSD.org _ __ ___ | _ ) __| \ FreeBSD: The Power to Serve! _ __ | _ \._ \ |) | http://www.FreeBSD.org/ _ |___/___/___/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message