kern/126926: [build] [patch] Add MACHINE to dmesg

Gavin Atkinson gavin at FreeBSD.org
Thu Feb 19 03:30:03 PST 2009


The following reply was made to PR kern/126926; it has been noted by GNATS.

From: Gavin Atkinson <gavin at FreeBSD.org>
To: Yoshihiro Ota <ota at j.email.ne.jp>
Cc: bug-followup at 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 at 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


More information about the freebsd-bugs mailing list