From owner-freebsd-alpha Mon Dec 17 12:21:10 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 771D637B417 for ; Mon, 17 Dec 2001 12:21:07 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id VAA11412; Mon, 17 Dec 2001 21:20:54 +0100 (CET) Received: (from j@localhost) by uriah.heep.sax.de (8.11.6/8.11.6) id fBHKJHf73372; Mon, 17 Dec 2001 21:19:17 +0100 (MET) (envelope-from j) Date: Mon, 17 Dec 2001 21:19:17 +0100 From: Joerg Wunsch To: Jake Burkholder Cc: Adam Kranzel , alpha@FreeBSD.ORG Subject: Re: Kernel builds broken? Message-ID: <20011217211917.A73333@uriah.heep.sax.de> Reply-To: Joerg Wunsch References: <20011217083319.25adda22.adam@blacktabby.org> <20011217120232.E39205@locore.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011217120232.E39205@locore.ca>; from jake@locore.ca on Mon, Dec 17, 2001 at 12:02:32PM -0500 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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