-m32 broken on bi-arch amd64 systems?

Peter Wemm peter at wemm.org
Wed Dec 24 00:19:15 UTC 2008


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.

-- 
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at 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


More information about the freebsd-stable mailing list