From owner-freebsd-bugs Mon Jul 24 10:31:56 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id KAA28978 for bugs-outgoing; Mon, 24 Jul 1995 10:31:56 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.11/8.6.6) with ESMTP id KAA28972 for ; Mon, 24 Jul 1995 10:31:49 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id DAA26218; Tue, 25 Jul 1995 03:27:50 +1000 Date: Tue, 25 Jul 1995 03:27:50 +1000 From: Bruce Evans Message-Id: <199507241727.DAA26218@godzilla.zeta.org.au> To: bugs@freebsd.org, graichen@omega.physik.fu-berlin.de Subject: Re: kernel compile without -O (continued) Sender: bugs-owner@freebsd.org Precedence: bulk >there are many more places - all the same error (maybe more than these - >because i haven't included all the ../isa/* files) - here are the errors in >detail: >(this was a kernel compile without the "-O" option - if you haven't read my >last mail) Apparently no one has compiled a kernel without -O for some time :-). The problem can be fixed by using `#ifdef __OPTIMIZE__' to avoid using inbc and outbc when the kernel is compiled without -O. It isn't really valid to use the "i" constraint for args to (inline) functions (function args are never constants) but it somehow works with -O. The problem can be fixed properly by using macros for everything but macros are ugly. Bruce