Re: [hwloc-devel] 1.1 .so version number

2010-11-09 Thread Brice Goglin
Le 09/11/2010 18:49, Samuel Thibault a écrit : > That is not a problem here. The attr field of hwloc_obj will be NULL, > that's all, the application won't ever read it anyway. > We will see segfaults if applications were looking at machine->attr without checking that it's non-NULL. It's a bugg

Re: [hwloc-devel] 1.1 .so version number

2010-11-09 Thread Jeff Squyres
Good; I'll update 1.1 VERSION. Thanks! On Nov 9, 2010, at 2:04 PM, Samuel Thibault wrote: > Jeff Squyres, le Tue 09 Nov 2010 19:56:17 +0100, a écrit : >> - install 1.0.2 (or, better: 1.0.3rc) >> - compile and run a trivial hwloc app against 1.0.x >> - download and extract 1.1rc2 >> - change VERSI

Re: [hwloc-devel] 1.1 .so version number

2010-11-09 Thread Samuel Thibault
Jeff Squyres, le Tue 09 Nov 2010 19:56:17 +0100, a écrit : > - install 1.0.2 (or, better: 1.0.3rc) > - compile and run a trivial hwloc app against 1.0.x > - download and extract 1.1rc2 > - change VERSION to be 1:0:1 > - build and install 1.1rc2 over the 1.0.x install > - run the same trivial hwloc

Re: [hwloc-devel] 1.1 .so version number

2010-11-09 Thread Jeff Squyres
On Nov 9, 2010, at 12:49 PM, Samuel Thibault wrote: >> But the object structure has been extended, cache attributes were >> extended, > > Extension is not a problem, provided that offsets are still the same > (i.e. the old C structure appears first in the new C structure) > >> machine attributes

Re: [hwloc-devel] 1.1 .so version number

2010-11-09 Thread Samuel Thibault
Brice Goglin, le Mon 08 Nov 2010 16:57:44 +0100, a écrit : > Le 08/11/2010 15:38, Jeff Squyres a écrit : > > Short version: > > -- > > > > I have not looked closely -- I *think* APIs have been added and changed > > since v1.0. As such, I *think* the libtool .so version number for 1.1

Re: [hwloc-devel] 1.1 .so version number

2010-11-09 Thread Samuel Thibault
Jeff Squyres, le Mon 08 Nov 2010 15:38:31 +0100, a écrit : > The last one is what I'm not sure about, but what I'm inferring from Samuel's > statement about "API breaks". Actually you can have an API break without an ABI break. Here, old applications should work fine. They'll just not be able to

Re: [hwloc-devel] 1.1 .so version number

2010-11-08 Thread Brice Goglin
Le 08/11/2010 15:38, Jeff Squyres a écrit : > Short version: > -- > > I have not looked closely -- I *think* APIs have been added and changed since > v1.0. As such, I *think* the libtool .so version number for 1.1 should be > 1:0:0. > I don't think any function behavior changed.

[hwloc-devel] 1.1 .so version number

2010-11-08 Thread Jeff Squyres
Short version: -- I have not looked closely -- I *think* APIs have been added and changed since v1.0. As such, I *think* the libtool .so version number for 1.1 should be 1:0:0. Can someone verify? Note that this means that applications linked against hwloc 1.0.x will not be able