[ofa-general] Another XRC binary compatable issue for different pthread version.

Tziporet Koren tziporet at dev.mellanox.co.il
Sun Feb 17 22:53:22 PST 2008


Tang, Changqing wrote:
> HI:
>         Here is the ibv_srq structure:
>
> struct ibv_srq {
>         struct ibv_context     *context;
>         void                   *srq_context;
>         struct ibv_pd          *pd;
>         uint32_t                handle;
>
>         pthread_mutex_t         mutex;
>         pthread_cond_t          cond;
>         uint32_t                events_completed;
>
>         uint32_t                xrc_srq_num;
>         struct ibv_xrc_domain  *xrc_domain;
>         struct ibv_cq          *xrc_cq;
> };
>
> On redhat 5 system, since it has a new pthread version, 'pthread_cond_t' is larger
> than on redhat 4 system.
>
> So if I compile the code on redhat 5 system, it won't run on redhat 4 system, and
> vice versa.
>
>
>   
I guess we need to add this to the RN, or anyone has a solution for this?
Tziporet





More information about the general mailing list