Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 12:54:19 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Harti Brandt <brandt@fokus.gmd.de>
Cc:        current@FreeBSD.ORG, Poul-Henning Kamp <phk@FreeBSD.ORG>
Subject:   Re: buildworld broken on globaldata.h
Message-ID:  <XFMail.011212125419.jhb@FreeBSD.org>
In-Reply-To: <20011212134719.Y36662-100000@beagle.fokus.gmd.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On 12-Dec-01 Harti Brandt wrote:
> 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)

You should only have to include <sys/pcpu.h> (it includes <machine/pcpu.h>
already), but that patch looks ok.  libkvm will need the same fix.  My bad, I
was so busy testing kernels and making sure they worked in various combinations
I didn't test a buildworld. :(

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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