This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: __attribute__ (__cleanup__) vs. _Unwind_Resume
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Thomas Schwinge <tschwinge at gnu dot org>
- Cc: Roland McGrath <roland at frob dot com>, libc-alpha at sourceware dot org
- Date: Mon, 20 Apr 2009 12:29:02 -0700
- Subject: Re: __attribute__ (__cleanup__) vs. _Unwind_Resume
- References: <20090420072022.GA6878@fencepost.gnu.org>
-----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-----