Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Aug 2010 08:27:10 +0000
From:      "b. f." <bf1783@googlemail.com>
To:        freebsd-questions@FreeBSD.org
Cc:        Yuri <yuri@rawbw.com>
Subject:   Re: Documentation on how to build 32bit applications on amd64?
Message-ID:  <AANLkTi=y8in6c9Qwq5RHgkYHeLYmJuVkq4uwiXJQ7u1W@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=y8in6c9Qwq5RHgkYHeLYmJuVkq4uwiXJQ7u1W>