Date: Thu, 19 Feb 2009 11:30:02 GMT From: Gavin Atkinson <gavin@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/126926: [build] [patch] Add MACHINE to dmesg Message-ID: <200902191130.n1JBU2He060656@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/126926; it has been noted by GNATS.
From: Gavin Atkinson <gavin@FreeBSD.org>
To: Yoshihiro Ota <ota@j.email.ne.jp>
Cc: bug-followup@FreeBSD.org
Subject: Re: kern/126926: [build] [patch] Add MACHINE to dmesg
Date: Thu, 19 Feb 2009 10:49:59 +0000
On Thu, 2009-02-19 at 00:18 -0500, Yoshihiro Ota wrote:
> Your patch does not work with cross-build, does it?
> Indeed, you clam yourself running amd64 but your dmesg says i386.
>
> It displays arch where it is built but not where it is running, doesn't it?
No, the patch works fine for cross builds:
Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-CURRENT #36: Thu Feb 19 10:39:31 GMT 2009
root@buffy.york.ac.uk:/usr/obj/arm/usr/src-head/sys/NSLU arm
CPU: IXP425 266MHz rev 1 (ARMv5TE) (XScale core)
(that's an ARM kernel, that was cross built on an amd64 host). Note
that the dmesg and uname in the PR are from different machines...
Is there a reason you don't think it works?
Gavin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902191130.n1JBU2He060656>
