cvs commit: src/sys/conf options.pc98
John Baldwin
jhb at FreeBSD.org
Wed Aug 18 13:51:48 PDT 2004
On Wednesday 18 August 2004 03:19 pm, David O'Brien wrote:
> On Thu, Aug 19, 2004 at 12:57:52AM +0900, Takahashi Yoshihiro wrote:
> > In article <200408180346.i7I3kdSj026379 at repoman.freebsd.org>
> >
> > Robert Watson <rwatson at FreeBSD.org> writes:
> > > Since pc98 shares the AGP driver with the i386, also define the
> > > amd64 agp option here in order to let the pc98 kernel build
> > > complete. This doesn't seem right, since there probably aren't
> > > plans to build a pc98 amd64 box; however, it's not clear to me
> > > how to get config to generate an opt_agp.h without an option
> > > defined.
> >
> > I think that using '#ifndef PC98' in agp_sis.c and agp_via.c is better
> > way rather than putting unneeded line in options.pc98.
>
> Agreed. I suspected that would fix things, but I'm waiting on rwatson so
> send me the error logs so I know what was breaking the build.
The tinderbox logs on -current@ aren't all that hard to find. :-P
TB --- 2004-08-18 00:10:16 - tinderbox 2.3 running on freebsd-current.sentex.ca
TB --- 2004-08-18 00:10:16 - starting CURRENT tinderbox run for i386/pc98
TB --- 2004-08-18 00:10:16 - checking out the source tree
TB --- 2004-08-18 00:10:16 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98
TB --- 2004-08-18 00:10:16 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src
TB --- 2004-08-18 00:16:12 - building world (CFLAGS=-O2 -pipe)
TB --- 2004-08-18 00:16:12 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98/src
TB --- 2004-08-18 00:16:12 - /usr/bin/make -B buildworld
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
TB --- 2004-08-18 01:21:47 - building generic kernel (COPTFLAGS=-O2 -pipe)
TB --- 2004-08-18 01:21:47 - cd /home/tinderbox/sandbox/CURRENT/i386/pc98/src
TB --- 2004-08-18 01:21:47 - /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Wed Aug 18 01:21:47 UTC 2004
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
[...]
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
ln -s /tinderbox/CURRENT/i386/pc98/obj/pc98/tinderbox/CURRENT/i386/pc98/src/sys/GENERIC/opt_bdg.h opt_bdg.h
ln -s /tinderbox/CURRENT/i386/pc98/obj/pc98/tinderbox/CURRENT/i386/pc98/src/sys/GENERIC/opt_bus.h opt_bus.h
rm -f .depend
mkdep -f .depend -a -nostdinc -DPC98 -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/contrib/altq -I@/../include -I/home/tinderbox/sandbox/CURRENT/i386/pc98/obj/pc98/tinderbox/CURRENT/i386/pc98/src/i386/usr/include -I/tinderbox/CURRENT/i386/pc98/obj/pc98/tinderbox/CURRENT/i386/pc98/src/sys/GENERIC /tinderbox/CURRENT/i386/pc98/src/sys/modules/agp/../../pci/agp.c agp_if.c /tinderbox/CURRENT/i386/pc98/src/sys/modules/agp/../../pci/agp_i810.c /tinderbox/CURRENT/i386/pc98/src/sys/modules/agp/../../pci/agp_intel.c /tinderbox/CURRENT/i386/pc98/src/sys/modules/agp/../../pci/agp_via.c /tinderbox/CURRENT/i386/pc98/src/sys/modules/agp/../../pci/agp_sis.c /tinderbox/CURRENT/i386/pc98/src/sys/modules/agp/../../pci/agp_ali.c /tinderbox/CURRENT/i386/pc98/src/sys/modules/agp/../../pci/agp_amd.c /tinderbox/CURRENT/i386/pc98/src/sys/modules/agp/../../pci/agp_nvidia.c
/tinderbox/CURRENT/i386/pc98/src/sys/modules/agp/../../pci/agp_via.c:31:21: opt_agp.h: No such file or directory
/tinderbox/CURRENT/i386/pc98/src/sys/modules/agp/../../pci/agp_sis.c:31:21: opt_agp.h: No such file or directory
mkdep: compile failed
*** Error code 1
Stop in /tinderbox/CURRENT/i386/pc98/src/sys/modules/agp.
*** Error code 1
Stop in /tinderbox/CURRENT/i386/pc98/src/sys/modules.
*** Error code 1
Stop in /tinderbox/CURRENT/i386/pc98/obj/pc98/tinderbox/CURRENT/i386/pc98/src/sys/GENERIC.
*** Error code 1
Stop in /tinderbox/CURRENT/i386/pc98/src.
*** Error code 1
Stop in /tinderbox/CURRENT/i386/pc98/src.
TB --- 2004-08-18 01:23:50 - WARNING: /usr/bin/make returned exit code 1
TB --- 2004-08-18 01:23:50 - ERROR: failed to build generic kernel
TB --- 2004-08-18 01:23:50 - tinderbox aborted
--
John Baldwin <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the cvs-src
mailing list