Hello Mark Hills,


On Thu, Jul 31, 2014 at 10:54:56AM +0100, Mark Hills wrote:
> In our upgrade from SL 6.3 to 6.5, we experience a change to hwloc library 
> version, breaking binary applications.
> 
> My understanding was that I could expect ABI compatibility to be preserved 
> in an upgrade between minor releases like this. Are we incorrect to make 
> this assumption?
> 
> I found this document [1] from upstream which goes some way to documenting 
> the upstream version 7, is there similar documentation for version 6 or 
> SL6?

hwloc has never been in such a list of "guaranteed compatible libs" list, but
I also think this upgrade of hwloc from Red Hat has been a little bit unfortunate
as this libary is in use with some extra applications outside of the core OS.

One improvement could have been to ship a "compat rpm" that keeps the old library in
place... (This would solve the runtime problems, then only compile time problems
could be looked at separately.)

gridengine is often linked against hwloc, not sure if you see many other apps doing
the same.

best regards,

Florian La Roche

> 
> Many thanks
> 
> On SL 6.5:
> 
>   $ rpm -q hwloc
>   hwloc-1.5-1.el6.x86_64
> 
>   $ ls -l /usr/lib64/libhwloc.so.5*
>   lrwxrwxrwx 1 root root     17 Jul 27 23:58 /usr/lib64/libhwloc.so.5 -> libhwloc.so.5.1.0
>   -rwxr-xr-x 1 root root 166336 Feb 22  2013 /usr/lib64/libhwloc.so.5.1.0
> 
> On SL 6.3:
> 
>   $ rpm -q hwloc
>   hwloc-1.1-0.1.el6.x86_64
> 
>   $ ls -l /usr/lib64/libhwloc.so.1*
>   lrwxrwxrwx 1 root root     17 Jun 25 06:38 /usr/lib64/libhwloc.so.1 -> libhwloc.so.1.0.1
>   -rwxr-xr-x 1 root root 110392 May 20  2011 /usr/lib64/libhwloc.so.1.0.1
> 
> [1] https://access.redhat.com/articles/rhel-abi-compatibility
> 
> -- 
> Mark