[ewg] OFED 1.5.2rc4 fails to build on RHEL4 Update 8 x86_64

Vladimir Sokolovsky vlad at dev.mellanox.co.il
Tue Aug 24 07:50:29 PDT 2010


On 08/18/2010 10:39 PM, Todd Rimmer wrote:
> I tried an install.pl --all on this distro.
>
> The ibacm module fails to build with undefined references to __sync_fetch_and_add and __sync_fetch_and_sub.
>
> I see these exist on newer distros, but they are not available on RHEL4.  ibacm is using this in its linux/osd.h file to define atomic_inc and atomic_dec.
>
> An alternative might be to use /usr/include/asm/atomic.h as this has atomic_inc and atomic_dec macros already defined.  I would also be more portable.
>
> Todd Rimmer
> Chief Architect
> QLogic Network Systems Group
> Voice: 610-233-4852     Fax: 610-233-4777
> Todd.Rimmer at QLogic.com  www.QLogic.com

Hi Sean,
The same issue exist on RHEL5.x 32-bit.
See https://bugs.openfabrics.org/show_bug.cgi?id=2105

Can you fix this for OFED-1.5.2-rc5?

Regards,
Vladimir



More information about the ewg mailing list