fstatfs break in amd64 ia32 emulation
obrien at FreeBSD.ORG
Fri Apr 1 17:13:44 PST 2005
On Thu, Mar 31, 2005 at 03:08:24PM -0300, Carlos F. A. Paniago wrote:
> I'm tring to compile in an amd64 and running in an i386.. I read in the
> list that is not possible, but some things work if we compile using:
> gcc -Di386 -D__i386__ -Uamd64 -U__amd64__ -m32 -B/lib32 -B/usr/lib32 -g
> -o test-i386.amd test-i386.c
> some simple program could be compiled in an amd64 machine and run in a
> i386 machine.
> but this program don't work:
> Segmentation fault (core dumped)
> the sizeof is strange... Someone know how to solve this problem???
YES -- the solution is: DON'T DO THAT THEN!!
We do NOT support building 32-bit binaries under FreeBSD/AMD64 yet.
So don't bother the list with 1/2 attempts at doing so.
-- David (obrien at FreeBSD.org)
More information about the freebsd-amd64