From owner-freebsd-stable@FreeBSD.ORG Wed Mar 9 21:44:43 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA2601065670 for ; Wed, 9 Mar 2011 21:44:43 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mx1.freebsd.org (Postfix) with SMTP id 06CA28FC0A for ; Wed, 9 Mar 2011 21:44:42 +0000 (UTC) Received: (qmail invoked by alias); 09 Mar 2011 21:44:41 -0000 Received: from g230081165.adsl.alicedsl.de (EHLO mandree.no-ip.org) [92.230.81.165] by mail.gmx.net (mp017) with SMTP; 09 Mar 2011 22:44:41 +0100 X-Authenticated: #428038 X-Provags-ID: V01U2FsdGVkX1+8CuJR/NW8imbvYqPMZhA1+f89gSmiaCNG6NdU8H puCqWGdemNP4p/ Received: from apollo.emma.line.org (apollo.emma.line.org [192.168.0.4]) by merlin.emma.line.org (Postfix) with ESMTP id 1075F94815 for ; Wed, 9 Mar 2011 22:44:40 +0100 (CET) Received: from [IPv6:::1] (unknown [IPv6:::1]) by apollo.emma.line.org (Postfix) with ESMTP id 8E11725AD88 for ; Wed, 9 Mar 2011 22:44:39 +0100 (CET) Message-ID: <4D77F4C7.5020304@gmx.de> Date: Wed, 09 Mar 2011 22:44:39 +0100 From: Matthias Andree User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Mnenhy/0.8.3 Thunderbird/3.1.8 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <201103092015.p29KFd0U077849@dave.dignus.com> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: bin/139146 still not right in FreeBSD 8.2 (-m32 on amd64)? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2011 21:44:43 -0000 Am 09.03.2011 21:52, schrieb Josh Carroll: > On Wed, Mar 9, 2011 at 12:15 PM, Thomas David Rivers wrote: >> >> Just installed a fresh 8.2-stable on a brand-spanking-new 64-bit >> machine... >> >> But, when I try to build 32-bit programs I get problems linking, >> and I stumbled onto PR bin/139146. >> >> The PR mentions this quick test: >> >> uname -sr && echo "int main () { }" > t.c && gcc -v --help 2>&1 | grep m32 && gcc -m32 t.c > > Add -B/usr/lib32 to the gcc command line, e.g.: > > echo "int main () { }" > t.c && gcc -v --help 2>&1 | grep m32 && gcc > -m32 -B/usr/lib32 t.c > > Then it should work. I experienced the same some time ago - but: Shouldn't this (-B/usr/lib32) be subsumed under the -m32 switch in the future? Best regards -- Matthias Andree