From owner-freebsd-stable@FreeBSD.ORG Wed Dec 24 00:19:15 2008 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 565F8106564A for ; Wed, 24 Dec 2008 00:19:15 +0000 (UTC) (envelope-from peter@wemm.org) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.173]) by mx1.freebsd.org (Postfix) with ESMTP id 318758FC19 for ; Wed, 24 Dec 2008 00:19:15 +0000 (UTC) (envelope-from peter@wemm.org) Received: by wf-out-1314.google.com with SMTP id 24so4505453wfg.7 for ; Tue, 23 Dec 2008 16:19:14 -0800 (PST) Received: by 10.142.222.21 with SMTP id u21mr3353575wfg.84.1230076463772; Tue, 23 Dec 2008 15:54:23 -0800 (PST) Received: by 10.142.255.21 with HTTP; Tue, 23 Dec 2008 15:54:23 -0800 (PST) Message-ID: Date: Tue, 23 Dec 2008 15:54:23 -0800 From: "Peter Wemm" To: "Garrett Cooper" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7d6fde3d0812222135l753daf54geb37b696c9c1cf8@mail.gmail.com> <20081223173608.068fe9d8@suszko.eu> <8cb6106e0812230955u1bd16932h7ae4ad3fc8c97f28@mail.gmail.com> <20081223183649.GA90840@troutmask.apl.washington.edu> Cc: Josh Carroll , "amd64@freebsd.org" , stable , Maciej Suszko , Steve Kargl Subject: Re: -m32 broken on bi-arch amd64 systems? 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, 24 Dec 2008 00:19:15 -0000 On Tue, Dec 23, 2008 at 1:07 PM, Garrett Cooper wrote: > On Dec 23, 2008, at 10:36, Steve Kargl > wrote: > >> On Tue, Dec 23, 2008 at 12:55:04PM -0500, Josh Carroll wrote: >>>> >>>> I also noticed that behavior, shouldn't compiler/linker look >>>> into /usr/lib32 without additional -B switch? >>>> -- >>>> regards, Maciej Suszko. >>>> >>> >>> I don't know if it should or should not, but I can confirm that this >>> behavior was around in 7.0-RELEASE, so it's been that way for quite a >>> while, at least in the 7 branch. >>> >> >> Sigh. Read the list archives. It's been this way since Peter >> Wemm first introduce the ability to run i386 binaries on >> amd64. >> >> -- >> Steve > > Ok, let's bury this topic then. > Thanks for the confirmation and sorry for the noise. > -Garrett A patch can be extraced from http://people.freebsd.org/~peter/hammer.diff that makes it "work", but its not right. It doesn't quite do -I include overrides right when -m32 is specified. It's enough to make just about everything else work. I forgot that I was building valgrind with it for some time now. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV "All of this is for nothing if we don't go to the stars" - JMS/B5 "If Java had true garbage collection, most programs would delete themselves upon execution." -- Robert Sewell