Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Dec 2008 19:09:13 -0800
From:      "Garrett Cooper" <yanefbsd@gmail.com>
To:        "Peter Wemm" <peter@wemm.org>
Cc:        Josh Carroll <josh.carroll@gmail.com>, "amd64@freebsd.org" <amd64@freebsd.org>, stable <stable@freebsd.org>, Maciej Suszko <maciej@suszko.eu>, Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject:   Re: -m32 broken on bi-arch amd64 systems?
Message-ID:  <7d6fde3d0812261909x5fafc017ubab2317d8852cb73@mail.gmail.com>
In-Reply-To: <e7db6d980812231554q58a3324fh7de1f1cb0b170dd5@mail.gmail.com>
References:  <7d6fde3d0812222135l753daf54geb37b696c9c1cf8@mail.gmail.com> <20081223173608.068fe9d8@suszko.eu> <8cb6106e0812230955u1bd16932h7ae4ad3fc8c97f28@mail.gmail.com> <20081223183649.GA90840@troutmask.apl.washington.edu> <A2C23373-71BE-4492-B3AD-42F4F25ED09A@gmail.com> <e7db6d980812231554q58a3324fh7de1f1cb0b170dd5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 23, 2008 at 3:54 PM, Peter Wemm <peter@wemm.org> wrote:
> On Tue, Dec 23, 2008 at 1:07 PM, Garrett Cooper <yanefbsd@gmail.com> wrote:
>> On Dec 23, 2008, at 10:36, Steve Kargl <sgk@troutmask.apl.washington.edu>
>> 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.

I'll give that a shot, provide some feedback, and see if I can *maybe*
(shrugs) improve upon it.
Thanks Peter!
-Garrett



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