From owner-svn-src-head@FreeBSD.ORG Sun Feb 28 22:59:44 2010 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 716E11065672; Sun, 28 Feb 2010 22:59:44 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id 3CE828FC17; Sun, 28 Feb 2010 22:59:44 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0KYK00H00QJJCR00@smtpauth1.wiscmail.wisc.edu>; Sun, 28 Feb 2010 16:59:43 -0600 (CST) Received: from comporellon.tachypleus.net (adsl-76-233-146-74.dsl.mdsnwi.sbcglobal.net [76.233.146.74]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0KYK001L8QJH2J50@smtpauth1.wiscmail.wisc.edu>; Sun, 28 Feb 2010 16:59:42 -0600 (CST) Date: Sun, 28 Feb 2010 16:59:40 -0600 From: Nathan Whitehorn In-reply-to: <20100228.145300.29649867912530.imp@bsdimp.com> To: "M. Warner Losh" Message-id: <4B8AF55C.6040103@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.233.146.74 X-Spam-PmxInfo: Server=avs-11, Version=5.5.5.374460, Antispam-Engine: 2.7.1.369594, Antispam-Data: 2010.2.28.224820, SenderIP=76.233.146.74 References: <20100226132854.GA25722@sandvine.com> <3bbf2fe11002260557y484cf13bq76f7507c07ed3ebc@mail.gmail.com> <20100228195041.GA68446@server.vk2pj.dyndns.org> <20100228.145300.29649867912530.imp@bsdimp.com> User-Agent: Thunderbird 2.0.0.23 (X11/20100206) Cc: src-committers@FreeBSD.org, delphij@gmail.com, peterjeremy@acm.org, svn-src-all@FreeBSD.org, attilio@FreeBSD.org, kostikbel@gmail.com, svn-src-head@FreeBSD.org, emaste@FreeBSD.org Subject: Re: svn commit: r204309 - in head/sys: amd64/amd64 amd64/isa conf i386/bios i386/cpufreq i386/i386 i386/isa i386/xen isa modules/bios/smbios modules/bios/vpd modules/cpufreq pc98/pc98 x86 x86/bios x86/... X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2010 22:59:44 -0000 M. Warner Losh wrote: > In message: <20100228195041.GA68446@server.vk2pj.dyndns.org> > Peter Jeremy writes: > : On 2010-Feb-26 14:57:36 +0100, Attilio Rao wrote: > : >For the future, however, probabilly we would need to do something like > : >pc98 already does wrt i386 (i386/include/ pc98/include/ amd64/include/ > : >just have files wrappers to the generic one under x86/include/ when > : >necessary). > : > : Not that something like this is also critical for getting i386/amd64 > : cross compilation to work - one of the blocking issues is that the > : correct machine/ includes are not available in cross-compilatio mode. > > Huh? > > I cross build all the time, and the machine/ includes are always > right, with or without this patch. Maybe you could explain what you > mean here... > > The issue is that old code has > > #include > > or whatever in it, and we need to have an i386/isa.h that's just > #include > > Warner > I'm guessing what was meant is that one benefit of a merged tree (like we will have with powerpc) is that you can do cc -m32 on a 64-bit host to get a 32-bit binary, which is less than trivial now. -Nathan