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, Pavan via hwloc-users a écrit :
> 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 
>> <hwloc-users@lists.open-mpi.org> wrote:
>>
>> Hi Brice,
>>
>>> On Feb 25, 2019, at 2:27 AM, Brice Goglin <brice.gog...@inria.fr> 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 that it wasn't default in -Wall.
>>
>>> 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 using VLA recently, and it looks like C11 made them optional.
>>> But are we really supposed to stop using VLA already?
>> They are optional, which means we cannot assume them for portability 
>> reasons.  FWIW, we have made the rest of mpich stack-usage clean.
>>
>>  -- Pavan
>>
>> _______________________________________________
>> hwloc-users mailing list
>> hwloc-users@lists.open-mpi.org
>> https://lists.open-mpi.org/mailman/listinfo/hwloc-users
> _______________________________________________
> hwloc-users mailing list
> hwloc-users@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/hwloc-users
_______________________________________________
hwloc-users mailing list
hwloc-users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/hwloc-users

Reply via email to