From owner-freebsd-hackers Fri Jul 4 15:36:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA09947 for hackers-outgoing; Fri, 4 Jul 1997 15:36:06 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA09939 for ; Fri, 4 Jul 1997 15:36:01 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id IAA07886; Sat, 5 Jul 1997 08:33:32 +1000 Date: Sat, 5 Jul 1997 08:33:32 +1000 From: Bruce Evans Message-Id: <199707042233.IAA07886@godzilla.zeta.org.au> To: hackers@FreeBSD.ORG, jpc@cs.rice.edu Subject: Re: compile errors in GENERIC 2.2.2 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I just installed 2.2.2 from scratch and was able to configure and > compile a custom kernel. However, I tried a week later and got this > error: > > gcc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit ^^^ >... > machine/cpufunc.h: In function `hardclock': > machine/cpufunc.h:331: inconsistent operand constraints in an `asm' > I'm compiling with gcc2.7.2.1 on a Compaq Presario P60. Are you sure? This bug is probably caused by compiling with an old or broken version of gcc. The standard version of gcc is named cc and has no problems. Bruce