[ofa-general] Another XRC binary compatable issue for different pthread version.
Tang, Changqing
changquing.tang at hp.com
Sun Feb 17 10:31:38 PST 2008
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.
--CQ
More information about the general
mailing list