From owner-freebsd-bugs@FreeBSD.ORG Wed Jan 25 16:30:08 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD03E106567D for ; Wed, 25 Jan 2012 16:30:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 915E08FC1F for ; Wed, 25 Jan 2012 16:30:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0PGU8uD049329 for ; Wed, 25 Jan 2012 16:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0PGU83u049325; Wed, 25 Jan 2012 16:30:08 GMT (envelope-from gnats) Date: Wed, 25 Jan 2012 16:30:08 GMT Message-Id: <201201251630.q0PGU83u049325@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: John Baldwin Cc: Subject: Re: amd64/164425: stat function doesn't 32bit mode on amd64 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Baldwin List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2012 16:30:08 -0000 The following reply was made to PR kern/164425; it has been noted by GNATS. From: John Baldwin To: "Christian Jullien" Cc: freebsd-amd64@freebsd.org, "'C. Jullien'" , freebsd-gnats-submit@freebsd.org Subject: Re: amd64/164425: stat function doesn't 32bit mode on amd64 Date: Wed, 25 Jan 2012 11:20:10 -0500 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