Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 1995 03:27:50 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bugs@freebsd.org, graichen@omega.physik.fu-berlin.de
Subject:   Re: kernel compile without -O (continued)
Message-ID:  <199507241727.DAA26218@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507241727.DAA26218>