From owner-freebsd-current Fri Nov 5 14:32:44 1999 Delivered-To: freebsd-current@freebsd.org Received: from yana.lemis.com (yana.lemis.com [192.109.197.140]) by hub.freebsd.org (Postfix) with ESMTP id 31EF0153EA; Fri, 5 Nov 1999 14:32:37 -0800 (PST) (envelope-from grog@mojave.sitaranetworks.com) Received: from mojave.sitaranetworks.com ([199.103.141.157]) by yana.lemis.com (8.8.8/8.8.8) with ESMTP id JAA07091; Sat, 6 Nov 1999 09:02:06 +1030 (CST) (envelope-from grog@mojave.sitaranetworks.com) Message-ID: <19991105171215.45417@mojave.sitaranetworks.com> Date: Fri, 5 Nov 1999 17:12:15 -0500 From: Greg Lehey To: obrien@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: show stopper for Gcc 2.95.2 conversion Reply-To: Greg Lehey References: <19991105012449.A74246@dragon.nuxi.com> <19991105140415.A25486@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <19991105140415.A25486@dragon.nuxi.com>; from David O'Brien on Fri, Nov 05, 1999 at 02:04:15PM -0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday, 5 November 1999 at 14:04:15 -0800, David O'Brien wrote: > The current show stopper for switching over to GCC 2.95.2 is a problem > compiling the `ahc' driver: > > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. > -I../../../include -DKERNEL -include opt_global.h -elf > ../../dev/aic7xxx/aic7xxx.c > ../../dev/aic7xxx/aic7xxx.c: In function `ahc_download_instr': > machine/bus.h:584: Invalid `asm' statement: > machine/bus.h:584: fixed or forbidden register 2 (cx) was spilled for class CREG. > *** Error code 1 > > The message is misleading, as the problematic header is > /sys/i386/include/bus.h not, /usr/include/machine/bus.h. In the kernel build environment, machine/ points to ../../i386/include. From the point of view of the compiler, the name is correct. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message