Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2001 21:19:17 +0100
From:      Joerg Wunsch <j@uriah.heep.sax.de>
To:        Jake Burkholder <jake@locore.ca>
Cc:        Adam Kranzel <adam@blacktabby.org>, alpha@FreeBSD.ORG
Subject:   Re: Kernel builds broken?
Message-ID:  <20011217211917.A73333@uriah.heep.sax.de>
In-Reply-To: <20011217120232.E39205@locore.ca>; from jake@locore.ca on Mon, Dec 17, 2001 at 12:02:32PM -0500
References:  <20011217083319.25adda22.adam@blacktabby.org> <20011217120232.E39205@locore.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
As Jake Burkholder wrote:

> > nsions -ansi  -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sy
> > s/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/../include
> > -D_KERNEL -ffreestanding -include opt_global.h -elf  -mno-fp-regs -ffixed-8 -Wa,
> > -mev56  vers.c
> > linking kernel
> > fd.o: In function `fd_probe':
> > fd.o(.text+0x18a4): undefined reference to `rtcin'

Sorry for the breakage.

> It looks like the ifdefs to skip some of the code for non-i386 are
> broken.
> 
> #if _MACHINE_ARCH == i386 in fd_probe() should be #ifdef __i386__.

Normally not.  #ifdef __i386__ would match the host system type, not
the target system.  Why is _MACHINE_ARCH == i386 on an Alpha system?

I don't mind making the change as a stop-gap measure to fix the Alpha
build process, but in the long run, we should find a correct solution.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

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




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