Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2012 11:20:10 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        "Christian Jullien" <eligis@orange.fr>
Cc:        freebsd-gnats-submit@freebsd.org, freebsd-amd64@freebsd.org, "'C. Jullien'" <jullien@eligis.com>
Subject:   Re: amd64/164425: stat function doesn't 32bit mode on amd64
Message-ID:  <201201251120.11016.jhb@freebsd.org>
In-Reply-To: <007801ccdb77$9f3d07f0$ddb717d0$@orange.fr>
References:  <201201232217.q0NMHBcK093954@red.freebsd.org> <201201250836.38017.jhb@freebsd.org> <007801ccdb77$9f3d07f0$ddb717d0$@orange.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, January 25, 2012 10:40:09 am Christian Jullien wrote:
> Thanks for the reply.
> In that case, you must admit it is strange that gcc on FreeBSD amd64 has
> a-m32 support which does not work!
> 
> I see two options that work equally well for me:
> - remove -m32 option on gcc amd64, distro will reduce
> - add /usr/include32 which gcc will use instead of /usr/include in case -m32
> is passed (or something similar)
> 
> NetBSD requires a 32bit OS version to compile and use 32bit programs. At
> least it is clear.

There are several various WIP's to fix -m32 (and probably several existing bug 
reports, just do a search for 'freebsd "-m32"' and look at the first batch of 
results).

-- 
John Baldwin



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