From owner-freebsd-amd64@FreeBSD.ORG Wed Jan 25 16:29:26 2012 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39C681065675; Wed, 25 Jan 2012 16:29:26 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0F6888FC12; Wed, 25 Jan 2012 16:29:26 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id BC05546B32; Wed, 25 Jan 2012 11:29:25 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 4B457B96E; Wed, 25 Jan 2012 11:29:25 -0500 (EST) From: John Baldwin To: "Christian Jullien" Date: Wed, 25 Jan 2012 11:20:10 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <201201232217.q0NMHBcK093954@red.freebsd.org> <201201250836.38017.jhb@freebsd.org> <007801ccdb77$9f3d07f0$ddb717d0$@orange.fr> In-Reply-To: <007801ccdb77$9f3d07f0$ddb717d0$@orange.fr> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201201251120.11016.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 25 Jan 2012 11:29:25 -0500 (EST) Cc: freebsd-gnats-submit@freebsd.org, freebsd-amd64@freebsd.org, "'C. Jullien'" Subject: Re: amd64/164425: stat function doesn't 32bit mode on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2012 16:29:26 -0000 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