This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: __attribute__ (__cleanup__) vs. _Unwind_Resume


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas Schwinge wrote:
> This came up when Ulrich corrected sysdeps/posix/readv.c and writev.c for
> proper cancellation handling using __attribute__ (__cleanup__).  Linux
> doesn't have this problem, as sysdeps/unix/sysv/linux/readv.c and
> writev.c don't have to clean-up

Not in these files, but in preadv.c etc.


> One possibility to fix this would be to add -lgcc_eh to libc.so-gnulib in
> Makeconfig (I don't know yet if that is legitimate), or perhaps, instead
> of that, we should introduce / use something like
> nptl/sysdeps/pthread/unwind-resume.c?

The later, probably.  This is how this work on Linux.

- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknszP4ACgkQ2ijCOnn/RHQv3wCghuKGkAkxY48e376b9UlM6BTq
7BMAniIh7d/NyTPiRNw7mYb3XsBQrpZo
=78Dn
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]