Documentation on how to build 32bit applications on amd64?

b. f. bf1783 at googlemail.com
Sun Aug 15 08:27:12 UTC 2010


 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.


More information about the freebsd-questions mailing list