From owner-freebsd-amd64@FreeBSD.ORG Fri Apr 8 17:03:51 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C2FE416A4CE for ; Fri, 8 Apr 2005 17:03:51 +0000 (GMT) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84B4143D2F for ; Fri, 8 Apr 2005 17:03:51 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.3/8.13.3) with ESMTP id j38H3oFB082020; Fri, 8 Apr 2005 10:03:50 -0700 (PDT) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.3/8.13.1/Submit) id j38H3mi9082019; Fri, 8 Apr 2005 10:03:48 -0700 (PDT) (envelope-from obrien) Date: Fri, 8 Apr 2005 10:03:48 -0700 From: "David O'Brien" To: Michael Hopkins Message-ID: <20050408170348.GC81280@dragon.NUXI.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 6.0-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.9i cc: "freebsd-amd64@freebsd.org" Subject: Re: (32-bit) Linux development now working on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2005 17:03:51 -0000 On Mon, Apr 04, 2005 at 06:02:13PM +0100, Michael Hopkins wrote: > Hi all > > Some small changes to the linux_devel makefile have allowed it to be > installed with linux_base-8 on amd64. I've compiled, linked and run with a > fair bit of C code that also includes 32-bit linux static libraries from > other places and all seems to work fine. > > mwh@Athlon % diff linux_devtools/Makefile linux_devtools-8-amd64/Makefile The patch won't apply. Please send diff -u (or diff -c) output next time. :-) This isn't quite the right fix. > < PATCH_SITE_SUBDIR= updates/${PORTVERSION}/${LANG}/os/${MACHINE_ARCH} > --- > > PATCH_SITE_SUBDIR= updates/${PORTVERSION}/${LANG}/os/i386 > 42c42 > < DIST_SUBDIR= rpm/${MACHINE_ARCH}/${PORTVERSION} > --- > > DIST_SUBDIR= rpm/i386/${PORTVERSION} > 61c61 > < --replacepkgs --ignoreos > --- > > --replacepkgs --ignoreos --ignorearch You specified what you did to make it work, but this isn't commitable. On i386 we don't want to --ignorearch. We also don't want to hardcode 'i386' as this breaks the port on Alpha. I've committed s/MACHINE_ARCH/ARCH/g to help. -- -- David (obrien@FreeBSD.org)