Re: [hwloc-users] Build warnings with hwloc-2.0.3

2019-03-18 Thread Balaji, Pavan via hwloc-users
> On Mar 18, 2019, at 9:14 AM, Brice Goglin wrote: > I am planning to fix this in 2.1 (to be released before summer). I'll > backport the trivial pieces to 2.0.x too. > > Do you care about a specific value passed to -Wstack-usage=X? or do you > just want to avoid dynamic/unbounded allocs on

Re: [hwloc-users] Build warnings with hwloc-2.0.3

2019-03-18 Thread Brice Goglin
Hello Pavan I am planning to fix this in 2.1 (to be released before summer). I'll backport the trivial pieces to 2.0.x too. Do you care about a specific value passed to -Wstack-usage=X? or do you just want to avoid dynamic/unbounded allocs on the stack? Brice Le 18/03/2019 à 15:04, Balaji,

Re: [hwloc-users] Build warnings with hwloc-2.0.3

2019-03-18 Thread Balaji, Pavan via hwloc-users
Brice, all, Any update on this? Are you guys planning on fixing these? -- Pavan > On Feb 25, 2019, at 7:33 AM, Balaji, Pavan via hwloc-users > wrote: > > Hi Brice, > >> On Feb 25, 2019, at 2:27 AM, Brice Goglin wrote: >> Are you sure you're not passing -Wstack-usage? My Ubuntu 18.04

Re: [hwloc-users] Build warnings with hwloc-2.0.3

2019-02-25 Thread Balaji, Pavan via hwloc-users
Hi Brice, > On Feb 25, 2019, at 2:27 AM, Brice Goglin wrote: > Are you sure you're not passing -Wstack-usage? My Ubuntu 18.04 with > latest gcc-7 (7.3.0-27ubuntu1~18.04) doesn't show any of those warnings. Yes, you are right, -Wstack-usage was explicitly added too. Sorry, I missed the fact

Re: [hwloc-users] Build warnings with hwloc-2.0.3

2019-02-25 Thread Brice Goglin
Hello Pavan, Are you sure you're not passing -Wstack-usage? My Ubuntu 18.04 with latest gcc-7 (7.3.0-27ubuntu1~18.04) doesn't show any of those warnings. It looks like all these warnings are caused by C99 variable-length arrays (except 2 that I don't understand). I know the kernel devs stopped

[hwloc-users] Build warnings with hwloc-2.0.3

2019-02-24 Thread Balaji, Pavan via hwloc-users
Folks, I'm getting the below build warnings with hwloc-2.0.3, gcc-7.3 on Ubuntu (with -Wall -O2): 8< ../../../../../../../../../mpich/src/pm/hydra/tools/topo/hwloc/hwloc/hwloc/distances.c: In function 'hwloc__groups_by_distances':