Date: Sat, 2 Apr 2005 01:13:44 +0000 From: David O'Brien <obrien@FreeBSD.ORG> To: "Carlos F. A. Paniago" <pan@cnpm.embrapa.br> Cc: freebsd-amd64@freebsd.org Subject: Re: fstatfs break in amd64 ia32 emulation Message-ID: <20050402011344.GA61029@hub.freebsd.org> In-Reply-To: <424C3C98.30602@cnpm.embrapa.br> References: <424C3C98.30602@cnpm.embrapa.br>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 31, 2005 at 03:08:24PM -0300, Carlos F. A. Paniago wrote: > hi: > 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) > ipe# ... > 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@FreeBSD.org)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050402011344.GA61029>