[ofa-general] RE: [ewg] OFED 1.2 and backwards binary compatibility
Roland Dreier
rdreier at cisco.com
Fri Jun 8 06:59:24 PDT 2007
> 1.0 vs. 1.1 is all good. That works. I'm talking about 1.1/1.0 vs 1.2, that's not working. The diffset below is between 1.1 and 1.2.
Sorry for being confusing. I was talking about the libibverbs
version. OFED 1.0 and 1.1 both included libibverbs 1.0, and OFED 1.2
includes libibverbs 1.1.
> What we're doing is using dlopen()/dlsym() to dynamically open the library so that we have no library dependencies (this allows us to runtime wise check if ofed is installed or other IB stacks). This apparently breaks.
Yes, you are basically implementing a broken dynamic linker yourself.
For this to work you will need to use dlvsym() and request all symbols
with version IBVERBS_1.0. There may be a slight performance penalty
on libibverbs 1.1 (OFED 1.2) because you will be going through
compatibility wrappers.
> I don't find any "post_send_wrapper_1_0" nor "post_send_wrapper_1_1" symbols in my libraries ?? :
Right, they're internal symbols. Take a look at the libibverbs source
if you're curious about how it works.
- R.
More information about the general
mailing list