From owner-freebsd-questions@FreeBSD.ORG Sun Aug 15 08:27:11 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2B8B1065670 for ; Sun, 15 Aug 2010 08:27:11 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8C8648FC08 for ; Sun, 15 Aug 2010 08:27:11 +0000 (UTC) Received: by wyj26 with SMTP id 26so5635536wyj.13 for ; Sun, 15 Aug 2010 01:27:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=4raL7yvLFIhAvY+O8sRU33vmTmYV8vRo118jPEEUBMY=; b=lZY7k9HmqXjwVQqmjYs19Uq2mRnXRi9KZHPdGduDh6PaklCNS4n+iG6F8lV6HTXUx3 Jh0WERaCNTCa9u2+Y7CiixO8XqVmFpSaT9lL5LpbpqTS0G7TtNQV5bI+mUW8BcYEsfYT EhaKP8fcNZVgmiV2AoFFA5E6HDr7rhPC1IlVw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=WFeBxK6gfgCpeVUiVUt7kQg2+vvlBYp36x8Xe0m6B6zqoLzLR88zAg/30D9sYWLHC3 CRd1Jd88mLAG7VewbckpB2OaIOOeb56RKzkykALkEJgcyHTQxB8WM/ONuvgf5D2xnHqN YEC4Y4gCNKGSp1AgCFTEoE01mg+5pg3QD0KJQ= MIME-Version: 1.0 Received: by 10.216.233.163 with SMTP id p35mr1325372weq.98.1281860830634; Sun, 15 Aug 2010 01:27:10 -0700 (PDT) Received: by 10.216.183.212 with HTTP; Sun, 15 Aug 2010 01:27:10 -0700 (PDT) Date: Sun, 15 Aug 2010 08:27:10 +0000 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Yuri Subject: Re: Documentation on how to build 32bit applications on amd64? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Aug 2010 08:27:12 -0000 On 08/14/2010 04:05, Tijl Coosemans wrote: > > There are patches for CURRENT here: > > http://lists.freebsd.org/pipermail/freebsd-arch/2010-July/010470.html > > > > Thank you Tijl, > > cc-m32-2.diff has some failures: > -------------------------- > |diff --git a/include/Makefile b/include/Makefile > |index 0ba8b17..e01d0a6 100644 > |--- include/Makefile.orig > |+++ include/Makefile > -------------------------- > Patching file include/Makefile using Plan A... > Hunk #1 succeeded at 114. > Hunk #2 succeeded at 136. > Hunk #3 succeeded at 147. > Hunk #4 failed at 186. > Hunk #5 failed at 263. > 2 out of 5 hunks failed--saving rejects to include/Makefile.rej > > Also file sys/amd64/include/_align.h referred from cc-m32-3.diff is > missing on my system. > Maybe your patch isn't up-to-date? As Tijl mentioned, his patches are for -CURRENT, and you are using 8.0-STABLE, right? STABLE-8, from which 8.0-RELEASE and 8.0-STABLE were derived, was branched from -CURRENT on 3 Aug. 2009: http://svn.freebsd.org/viewvc/base?view=revision&revision=196045 while src/sys/amd64/include/_align.h was added to -CURRENT later, on 8 Sept. 2009: http://svn.freebsd.org/viewvc/base?view=revision&revision=196994 You'll need to use -CURRENT, or rework the patches. b.