From owner-freebsd-current Wed Dec 12 4:50:59 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailhub.fokus.gmd.de (mailhub.fokus.gmd.de [193.174.154.14]) by hub.freebsd.org (Postfix) with ESMTP id BE47B37B419; Wed, 12 Dec 2001 04:50:49 -0800 (PST) Received: from beagle (beagle [193.175.132.100]) by mailhub.fokus.gmd.de (8.11.6/8.11.6) with ESMTP id fBCCom511498; Wed, 12 Dec 2001 13:50:48 +0100 (MET) Date: Wed, 12 Dec 2001 13:50:48 +0100 (CET) From: Harti Brandt To: Poul-Henning Kamp Cc: current@FreeBSD.ORG, Subject: Re: buildworld broken on globaldata.h In-Reply-To: <53884.1008157385@critter.freebsd.dk> Message-ID: <20011212134719.Y36662-100000@beagle.fokus.gmd.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 12 Dec 2001, Poul-Henning Kamp wrote: PK> PK>My buildworld breaks: PK> PK>[...] PK>/flat/src/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c:52: machine/globaldata.h: No PK>such file or directory PK> PK>Any workarounds/fixes ? This was broken by jhb's large commit yesterday to break globaldata in MI and MD parts. The following patch to gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c let's you compile gdb. Don't know whether it works. Maybe there are other problems further down in the buildworld (mine is still working) harti Index: kvm-fbsd.c =================================================================== RCS file: /usr/ncvs/src/gnu/usr.bin/binutils/gdb/i386/kvm-fbsd.c,v retrieving revision 1.32 diff -r1.32 kvm-fbsd.c 52c52,53 < #include --- > #include > #include 121c122 < offsetof(struct globaldata, gd_ ## name) --- > offsetof(struct pcpu, pc_ ## name) 788,789c789,790 < struct globaldata lgd; < struct globaldata *gd; --- > struct pcpu lgd; > struct pcpu *gd; 794c795 < for (; gd != NULL; gd = SLIST_NEXT (&lgd, gd_allcpu)) --- > for (; gd != NULL; gd = SLIST_NEXT (&lgd, pc_allcpu)) 797c798 < if (lgd.gd_cpuid == cpuid) --- > if (lgd.pc_cpuid == cpuid) -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fhg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message