-m32 broken on bi-arch amd64 systems?

Garrett Cooper yanefbsd at gmail.com
Fri Dec 26 19:09:13 PST 2008


On Tue, Dec 23, 2008 at 3:54 PM, Peter Wemm <peter at wemm.org> wrote:
> On Tue, Dec 23, 2008 at 1:07 PM, Garrett Cooper <yanefbsd at gmail.com> wrote:
>> On Dec 23, 2008, at 10:36, Steve Kargl <sgk at 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


More information about the freebsd-amd64 mailing list