From owner-freebsd-current Fri Jul 23 0:15:50 1999 Delivered-To: freebsd-current@freebsd.org Received: from gidgate.gid.co.uk (gidgate.gid.co.uk [193.123.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 916FC14CB7; Fri, 23 Jul 1999 00:15:45 -0700 (PDT) (envelope-from rb@gid.co.uk) Received: (from rb@localhost) by gidgate.gid.co.uk (8.8.8/8.8.7) id IAA09059; Fri, 23 Jul 1999 08:12:18 +0100 (BST) (envelope-from rb) Message-Id: <3.0.6.32.19990723081216.007a75b0@192.168.255.1> X-Sender: rbmail@192.168.255.1 X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Fri, 23 Jul 1999 08:12:16 +0100 To: Bruce Evans From: Bob Bishop Subject: Re: Still kernel compilation failures Cc: green@FreeBSD.ORG, schuerge@wjpserver.CS.Uni-SB.DE, freebsd-current@FreeBSD.ORG In-Reply-To: <199907230424.OAA01541@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 14:24 23/07/99 +1000, 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. > >>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 you're saying that both the compiler and the code are broken? -- Bob Bishop +44 118 977 4017 rb@gid.co.uk fax +44 118 989 4254 (0800-1800 UK) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message