On Wed, 2024-06-05 at 19:22 -0400, Benjamin Marzinski wrote: > multipath is not currently running the cleanup_functions from > __attribute__((cleanup(cleanup_function))) when threads are > cancelled. > To do this, it needs to be compiled with -fexceptions > > https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Common-Variable-Attributes.html#index-cleanup-variable-attribute > Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx> Reviewed-by: Martin Wilck <mwilck@xxxxxxxx>