From owner-freebsd-bugs@FreeBSD.ORG Thu Feb 19 11:30:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D55FF106566B for ; Thu, 19 Feb 2009 11:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C40E08FC13 for ; Thu, 19 Feb 2009 11:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1JBU2cn060659 for ; Thu, 19 Feb 2009 11:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1JBU2He060656; Thu, 19 Feb 2009 11:30:02 GMT (envelope-from gnats) Date: Thu, 19 Feb 2009 11:30:02 GMT Message-Id: <200902191130.n1JBU2He060656@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Gavin Atkinson Cc: Subject: Re: kern/126926: [build] [patch] Add MACHINE to dmesg X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gavin Atkinson List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 11:30:03 -0000 The following reply was made to PR kern/126926; it has been noted by GNATS. From: Gavin Atkinson To: Yoshihiro Ota 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