[ewg] Re: building userspace on ppc64 is broken

Yosef Etigin yosefe at voltaire.com
Tue Sep 18 02:41:56 PDT 2007


Michael S. Tsirkin wrote:
>>Quoting Yosef Etigin <yosefe at voltaire.com>:
>>Subject: Re: building userspace on ppc64 is broken
>>
>>Michael S. Tsirkin wrote:
>>
>>>>Quoting Roland Dreier <rdreier at cisco.com>:
>>>>Subject: Re: building userspace on ppc64 is broken
>>>>
>>>>
>>>>>> %build
>>>>>>+%ifarch ppc64
>>>>>>+%{expand: %%define optflags %{optflags} -m64}
>>>>>>+%endif
>>>>>> %configure
>>>>>> make %{?_smp_mflags}
>>>>>
>>>>>Hmm. Roland?
>>>>
>>>>I guess if the OFED build system is breaking the libibverbs build then
>>>>putting a patch like this in might be needed to fix things.
>>>
>>>
>>>I don't really care whose fault it is. If OFED is doing something wrong,
>>>we should fix that, not work around it at library level. But what is wrong?
>>>
>>>Roland, I know you already help with packaging libibverbs for e.g.
>>>debian. Can't you support packaging libibverbs for OFED too?
>>>
>>
>>Another option is to build packages for ppc64 with an environment of
>>CFLAGS="-m64 $(rpm --eval %optflags)", like in the previous version of OFED.
> 
> 
> I think for ppc64 we need both 64 and 32 bit packages, right?
> 

This is set with --build32 flag for install.sh, which controls
whether the build target will be ppc64 or ppc64 + ppc.
Changes are for target ppc64 only.
--

-- 
Yossi




More information about the ewg mailing list