From owner-freebsd-current Thu Jul 22 21:26:37 1999 Delivered-To: freebsd-current@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id 9523514CCB; Thu, 22 Jul 1999 21:26:33 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id OAA01541; Fri, 23 Jul 1999 14:24:29 +1000 Date: Fri, 23 Jul 1999 14:24:29 +1000 From: Bruce Evans Message-Id: <199907230424.OAA01541@godzilla.zeta.org.au> To: green@FreeBSD.ORG, schuerge@wjpserver.CS.Uni-SB.DE Subject: Re: Still kernel compilation failures Cc: freebsd-current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> > 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. >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. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message